修复bug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user