30 lines
1005 B
Plaintext
30 lines
1005 B
Plaintext
package ${basePackage}.service.impl;
|
|
|
|
import ${basePackage}.dao.${modelNameUpperCamel}Mapper;
|
|
import ${basePackage}.model.${modelNameUpperCamel};
|
|
import ${basePackage}.model.${modelNameUpperCamel}Params;
|
|
import ${basePackage}.service.${modelNameUpperCamel}Service;
|
|
|
|
import com.deer.wms.project.seed.core.service.AbstractService;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Created by ${author} on ${date}.
|
|
*/
|
|
@Service
|
|
@Transactional
|
|
public class ${modelNameUpperCamel}ServiceImpl extends AbstractService<${modelNameUpperCamel}, ${type}> implements ${modelNameUpperCamel}Service {
|
|
|
|
@Autowired
|
|
private ${modelNameUpperCamel}Mapper ${modelNameLowerCamel}Mapper;
|
|
|
|
|
|
@Override
|
|
public List<${modelNameUpperCamel}> findList(${modelNameUpperCamel}Params params) {
|
|
return ${modelNameLowerCamel}Mapper.findList(params);
|
|
}
|
|
}
|