You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.3 KiB
37 lines
1.3 KiB
2 weeks ago
|
#parse("vms/$version/common/variable/head.vm")
|
||
|
package ${companyName}.${projectName}.service.${lowerEntity}.service.impl;
|
||
|
|
||
|
import ${companyName}.${projectName}.service.${lowerEntity}.mapper.${Entity}Mapper;
|
||
|
import ${companyName}.${projectName}.service.${lowerEntity}.service.${Entity}Service;
|
||
|
import ${companyName}.${projectName}.model.${Entity};
|
||
|
import ${companyName}.${projectName}.core.service.CommonServiceImpl;
|
||
|
import ${companyName}.${projectName}.core.utils.StringUtil;
|
||
|
|
||
|
import org.springframework.transaction.annotation.Transactional;
|
||
|
import org.springframework.stereotype.Service;
|
||
|
import ${companyName}.${projectName}.core.utils.CopyUtil;
|
||
|
import org.springframework.beans.factory.InitializingBean;
|
||
|
|
||
|
import javax.annotation.Resource;
|
||
|
import java.util.HashMap;
|
||
|
import java.util.List;
|
||
|
import java.util.Map;
|
||
|
#if($hasDateQuery)
|
||
|
import java.util.Date;
|
||
|
import java.sql.Time;
|
||
|
import java.sql.Timestamp;
|
||
|
#end
|
||
|
import java.math.*;
|
||
|
#parse("vms/$version/common/comment/ClassDesc.vm")
|
||
|
|
||
|
@Service
|
||
|
public class ${Entity}ServiceImpl extends CommonServiceImpl<${Entity},${dbPriorityKeyJavaType}> implements ${Entity}Service,InitializingBean{
|
||
|
@Resource
|
||
|
private ${Entity}Mapper ${entity}Mapper;
|
||
|
|
||
|
@Override
|
||
|
public void afterPropertiesSet() {
|
||
|
super.commonMapper = ${entity}Mapper;
|
||
|
}
|
||
|
}
|