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