处理问题
This commit is contained in:
parent
dfd3466b46
commit
2fea591193
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user