处理问题

This commit is contained in:
wenc000 2020-05-12 10:59:53 +08:00
parent 8b1a9c920f
commit 16adee1c52
3 changed files with 5 additions and 5 deletions

View File

@ -103,6 +103,6 @@ public class DynamicConfigFormServiceImpl extends AbstractService implements IDy
PageHelper.startPage(page.getPage(), page.getRows());
List<DynamicConfigFormDTO> dynamicConfigFormDTOList = dynamicConfigFormDao.listForm(page.getParams());
PageInfo<DynamicConfigFormDTO> pageInfo = new PageInfo<>(dynamicConfigFormDTOList);
return new SuccessResultList<>(dynamicConfigFormDTOList, pageInfo.getPageNum(), page.getTotal());
return new SuccessResultList<>(dynamicConfigFormDTOList, pageInfo.getPageNum(), pageInfo.getTotal());
}
}

View File

@ -156,7 +156,7 @@ public class DynamicConfigTableServiceImpl extends AbstractService implements ID
PageHelper.startPage(page.getPage(), page.getRows());
List<DynamicConfigTableDTO> dynamicConfigTableDTOList = dynamicConfigTableDao.listTable(page.getParams());
PageInfo<DynamicConfigTableDTO> pageInfo = new PageInfo<>(dynamicConfigTableDTOList);
return new SuccessResultList<>(dynamicConfigTableDTOList, pageInfo.getPageNum(), page.getTotal());
return new SuccessResultList<>(dynamicConfigTableDTOList, pageInfo.getPageNum(), pageInfo.getTotal());
}
@Override

View File

@ -47,12 +47,12 @@ public class ${firstUpperTableName}ServiceImpl extends BaseService implements I$
}
@Override
public String save${firstUpperTableName}(${firstUpperTableName}VO ${firstLowerTableName}VO) throws Exception {
public String save${firstUpperTableName}ReturnId(${firstUpperTableName}VO ${firstLowerTableName}VO) throws Exception {
return save${firstUpperTableName}InfoReturnId(null, ${firstLowerTableName}VO);
}
@Override
public String save${firstUpperTableName}ByToken(String token, ${firstUpperTableName}VO ${firstLowerTableName}VO) throws Exception {
public String save${firstUpperTableName}ByTokenReturnId(String token, ${firstUpperTableName}VO ${firstLowerTableName}VO) throws Exception {
return save${firstUpperTableName}InfoReturnId(token, ${firstLowerTableName}VO);
}
@ -64,7 +64,7 @@ public class ${firstUpperTableName}ServiceImpl extends BaseService implements I$
* @throws Exception
*/
private void save${firstUpperTableName}Info(String token, ${firstUpperTableName}VO ${firstLowerTableName}VO) throws Exception {
save${firstUpperTableName}InfoReturnId(token, ${firstUpperTableName}VO ${firstLowerTableName}VO);
save${firstUpperTableName}InfoReturnId(token, ${firstLowerTableName}VO);
}
/**