处理问题

This commit is contained in:
wenc000 2020-04-26 17:49:21 +08:00
parent dfd3466b46
commit 2fea591193

View File

@ -151,13 +151,13 @@ public class ${firstUpperTableName}ServiceImpl extends BaseService implements I$
}
@Override
Integer countNumber${firstUpperTableName}(Map<String, Object> params) throws SearchException {
public Integer countNumber${firstUpperTableName}(Map<String, Object> params) throws SearchException {
Integer count = ${firstLowerTableName}Dao.count${firstUpperTableName}(params);
return count == null ? 0 : count;
}
@Override
SuccessResultData<Integer> count${firstUpperTableName}(Map<String, Object> params) throws SearchException {
public SuccessResultData<Integer> count${firstUpperTableName}(Map<String, Object> params) throws SearchException {
return new SuccessResultData<>(countNumber${firstUpperTableName}(params));
}