|
|
|
@ -38,7 +38,6 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
|
|
|
|
private InternationalizationService internationalizationService;
|
|
|
|
|
/**
|
|
|
|
|
* 分页
|
|
|
|
|
* return
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public TableDataInfo pageList(Query${entityName}VO query${entityName}VO){
|
|
|
|
@ -76,7 +75,6 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 全部
|
|
|
|
|
* return
|
|
|
|
|
*/
|
|
|
|
|
public AjaxResult listAll(Query${entityName}VO query${entityName}VO){
|
|
|
|
|
List<${entityName}DTO> list=new ArrayList();
|
|
|
|
@ -94,7 +92,6 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 详情
|
|
|
|
|
* return
|
|
|
|
|
*/
|
|
|
|
|
public AjaxResult get${entityName}Detail(String id){
|
|
|
|
|
${entityName}DTO ${uncap_first}DTO=new ${entityName}DTO();
|
|
|
|
@ -104,7 +101,6 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增
|
|
|
|
|
* @param add${entityName}PVO
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public AjaxResult save${entityName}PVO(Add${entityName}PVO add${entityName}PVO){
|
|
|
|
@ -115,7 +111,6 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 编辑
|
|
|
|
|
* @param edit${entityName}PVO
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public AjaxResult modify${entityName}PVO(Edit${entityName}PVO edit${entityName}PVO){
|
|
|
|
@ -138,8 +133,6 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 批量删除
|
|
|
|
|
* @param ids
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public AjaxResult delete${entityName}(List<String> ids){
|
|
|
|
|