35 lines
968 B
Plaintext
35 lines
968 B
Plaintext
package ${packageName}.service.impl;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import ${packageName}.mapper.${ClassName}Mapper;
|
|
import ${packageName}.domain.${ClassName};
|
|
import ${packageName}.service.I${ClassName}Service;
|
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
import javax.annotation.Resource;
|
|
|
|
/**
|
|
* ${functionName}Service业务层处理
|
|
*
|
|
* @author ${author}
|
|
* @date ${datetime}
|
|
*/
|
|
@Service
|
|
public class ${ClassName}ServiceImpl extends ServiceImpl<${ClassName}Mapper, ${ClassName}> implements I${ClassName}Service {
|
|
|
|
@Resource
|
|
private ${ClassName}Mapper ${className}Mapper;
|
|
|
|
/**
|
|
* 查询${functionName}分页列表
|
|
*
|
|
* @param ${className} ${functionName}
|
|
* @return ${functionName}
|
|
*/
|
|
@Override
|
|
public List<${ClassName}> select${ClassName}List(${ClassName} ${className})
|
|
{
|
|
return ${className}Mapper.select${ClassName}List(${className});
|
|
}
|
|
}
|