Skip to content

Commit

Permalink
添加单个字段列表和总数查询方法
Browse files Browse the repository at this point in the history
  • Loading branch information
busgo committed Jan 13, 2020
1 parent a2eb7ce commit 9e83336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/template/Service.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public class ${tableInfo.modelName}Service implements BaseService<${tableInfo.pk
* @param query 查询条件
* @return
*/
public List<${field.fieldType}> query${field.fieldName?cap_first}CountByParam(${tableInfo.modelName}Query query){
public int query${field.fieldName?cap_first}CountByParam(${tableInfo.modelName}Query query){
return this.${tableInfo.modelName?uncap_first}Dao.query${field.fieldName?cap_first}CountByParam(query);
}
</#list>
Expand Down

0 comments on commit 9e83336

Please sign in to comment.