修复bug

This commit is contained in:
winLsy
2018-02-05 22:22:35 +08:00
parent 3519506249
commit e8f5a03dfd
@@ -1,28 +0,0 @@
package com.micro.fast.upms.service.impl;
import com.micro.fast.common.service.impl.SsmServiceImpl;
import com.micro.fast.upms.dao.UpmsSystemMapper;
import com.micro.fast.upms.pojo.UpmsSystem;
import com.micro.fast.upms.service.UpmsSystemService;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @author lsy
*/
@Service
public class UpmSystemServiceImpl extends SsmServiceImpl<UpmsSystem,Integer,UpmsSystemMapper>
implements UpmsSystemService<UpmsSystem,Integer>,InitializingBean {
@Autowired
private UpmsSystemMapper mapper;
/**
* 在这个bean初始化完成后覆盖父类的mapper
*/
@Override
public void afterPropertiesSet() throws Exception {
super.setMapper(this.mapper);
}
}