public class {{entity.codeName}}ServiceImpl extends BaseServiceImpl<{{entity.codeName}},{{entity.codeName}}SearchContext> implements I{{entity.codeName}}Service {
@Resource
private {{entity.codeName}}Mapper baseMapper;
public {{entity.codeName}}Mapper getBaseMapper(){
return baseMapper;
}
public class {{entity.codeName}}ServiceImpl extends MPServiceImpl<{{entity.codeName}},{{entity.codeName}}SearchContext,{{entity.codeName}}Mapper> implements I{{entity.codeName}}Service {
{{#entity.relEntities}}
{{#neqstorage"NONE"}}
...
...
@@ -72,34 +37,13 @@ public class {{entity.codeName}}ServiceImpl extends BaseServiceImpl<{{entity.cod
{{/neq}}
{{/entity.relEntities}}
public List<{{entity.codeName}}> getByEntities(List<{{entity.codeName}}> entities) {
return this.baseMapper.selectEntities(entities);
{{#eachentity.extActions}}
public boolean {{camelCasecodeName}}({{entity.codeName}} dto) throws Throwable {