|
@@ -54,7 +54,7 @@ public interface JcJyItemChargeMapper {
|
|
|
@Select({"<script>",
|
|
|
" SELECT ",
|
|
|
"<when test='commonParams==null'>",
|
|
|
- " top 20 ",
|
|
|
+ " top ${pageSize} ",
|
|
|
"</when>",
|
|
|
"rtrim(code) code,name,py_code,d_code wb_code,class ,exec_unit,type=1,rtrim(sample_code) sample_code,bw_code='' ",
|
|
|
" FROM jy_zd_item WITH(NOLOCK) ",
|
|
@@ -68,7 +68,7 @@ public interface JcJyItemChargeMapper {
|
|
|
" UNION ALL ",
|
|
|
" SELECT ",
|
|
|
"<when test='commonParams==null'>",
|
|
|
- " top 20 ",
|
|
|
+ " top ${pageSize} ",
|
|
|
"</when>",
|
|
|
"rtrim(code) code,name,py_code,d_code wb_code,class ,exec_unit,type=2,sample_code='',rtrim(bw_code) bw_code ",
|
|
|
" FROM jc_zd_item WITH(NOLOCK) ",
|
|
@@ -80,7 +80,7 @@ public interface JcJyItemChargeMapper {
|
|
|
" name like #{commonParams} collate Chinese_PRC_CI_AS ) ",
|
|
|
"</when>",
|
|
|
"</script>"})
|
|
|
- List<JyZdItem> selectJcJyItemByCommonParams(@Param("commonParams") String commonParams);
|
|
|
+ List<JyZdItem> selectJcJyItemByCommonParams(@Param("commonParams") String commonParams, @Param("pageSize") Integer pageSize);
|
|
|
|
|
|
/**
|
|
|
* 诊疗项目查询
|