master
周文涛 2 years ago
parent afc00d8f73
commit 693b71b3fa

@ -43,12 +43,6 @@ public class ${entityName}Controller extends BaseController {
/**
* 分页
*
* @param query${entityName}VO
* @param pageNo
* @param pageSize
* @param req
* @return
*/
@ApiOperation(value="分页", notes="分页")
@ApiImplicitParams({
@ -85,8 +79,6 @@ public class ${entityName}Controller extends BaseController {
/**
* 新增
* @param add${entityName}PVO
* @return
*/
@ApiOperation(value="新增", notes="新增")
@Log(title = "新增", businessType = BusinessType.INSERT)
@ -97,8 +89,6 @@ public class ${entityName}Controller extends BaseController {
/**
* 编辑
* @param edit${entityName}PVO
* @return
*/
@Log(title = "编辑", businessType = BusinessType.UPDATE)
@ApiOperation(value="编辑", notes="编辑")
@ -109,8 +99,6 @@ public class ${entityName}Controller extends BaseController {
/**
* 删除
* @param id
* @return
*/
@Log(title = "删除", businessType = BusinessType.DELETE)
@ApiOperation(value="删除", notes="删除")
@ -121,8 +109,6 @@ public class ${entityName}Controller extends BaseController {
/**
* 批量删除
* @param ids
* @return
*/
@Log(title = "批量删除", businessType = BusinessType.DELETE)
@ApiOperation(value="批量删除", notes="批量删除")

@ -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){

Loading…
Cancel
Save