From 2fea5911936802470668d9f519f343e15ba6b72f Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Sun, 26 Apr 2020 17:49:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/codetemplate/default/service/ServiceImpl.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/service/ServiceImpl.ftl b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/service/ServiceImpl.ftl index 31bb997..d19ca4b 100644 --- a/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/service/ServiceImpl.ftl +++ b/cloud-common-plugin-dynamic/src/main/resources/templates/codetemplate/default/service/ServiceImpl.ftl @@ -151,13 +151,13 @@ public class ${firstUpperTableName}ServiceImpl extends BaseService implements I$ } @Override - Integer countNumber${firstUpperTableName}(Map params) throws SearchException { + public Integer countNumber${firstUpperTableName}(Map params) throws SearchException { Integer count = ${firstLowerTableName}Dao.count${firstUpperTableName}(params); return count == null ? 0 : count; } @Override - SuccessResultData count${firstUpperTableName}(Map params) throws SearchException { + public SuccessResultData count${firstUpperTableName}(Map params) throws SearchException { return new SuccessResultData<>(countNumber${firstUpperTableName}(params)); }