Explorar o código

检验检查返回拼音和五笔

xiaochan hai 1 ano
pai
achega
16bf2f3df3

+ 3 - 3
src/main/java/thyyxxk/webserver/dao/his/zhuyuanyisheng/JianYanJianChaDao.java

@@ -442,7 +442,7 @@ public interface JianYanJianChaDao {
      *
      * @return
      */
-    @Select("select rtrim(code) as code,name as name from jy_zd_class")
+    @Select("select rtrim(code) as code,name as name  from jy_zd_class")
     List<JyJcItem> queryInspectionClassification();
 
     /**
@@ -458,7 +458,7 @@ public interface JianYanJianChaDao {
             "                       '2'                  as type,  " +
             "                       inspect_stuff        as inspectStuff,  " +
             "    inspectStuffName = (select rtrim(name) from jy_zd_sample with (NOLOCK) where code = inspect_stuff) ," +
-            "   note , collection_info , gender_restriction , min_age_restriction, max_age_restriction " +
+            "   note , collection_info , gender_restriction , min_age_restriction, max_age_restriction, rtrim(py_code) as py_code , rtrim(d_code) as d_code " +
             "from jy_zd_item a  " +
             "         left join zy_tc_detail_yj b on (a.zy_order_code = b.order_code)  " +
             "where isnull(del_flag, '0') = '0'  " +
@@ -476,7 +476,7 @@ public interface JianYanJianChaDao {
             "       rtrim(class)  as classes, " +
             "       exec_unit," +
             "       exec_unit_name = (select name from zd_unit_code where zd_unit_code.code = exec_unit)," +
-            "       note , collection_info , gender_restriction , min_age_restriction, max_age_restriction   " +
+            "       note , collection_info , gender_restriction , min_age_restriction, max_age_restriction, rtrim(a.py_code) as py_code , rtrim(a.d_code) as d_code   " +
             "from jc_zd_item a " +
             "         left join ysh_zd_part_code b on (a.bw_code = b.code) " +
             "where isnull(a.del_flag, '0') = '0' " +

+ 2 - 0
src/main/java/thyyxxk/webserver/entity/zhuyuanyisheng/jianyanjiancha/JyJcItem.java

@@ -52,6 +52,8 @@ public class JyJcItem {
     private Integer genderRestriction;
     private String minAgeRestriction;
     private String maxAgeRestriction;
+    private String pyCode;
+    private String dCode;
 
     /**
      * 子节点