xiaochan hace 1 mes
padre
commit
8d9fb90d4a

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

@@ -196,7 +196,11 @@ public interface JianYanJianChaDao {
             "                        where code = a.exec_dept)              execDeptName,\n" +
             "                       CONVERT(varchar(100), GETDATE(), 20) as startTime,\n" +
             "                       inspect_stuff                        as inspectStuff,\n" +
-            "    inspectStuffName = (select rtrim(name) from jy_zd_sample with (NOLOCK) where code = inspect_stuff),\n" +
+            "    inspectStuffName = (select rtrim(name) from jy_zd_sample with (NOLOCK) where code = inspect_stuff)," +
+            "    inspect_part AS inspectPart, " +
+            "       (select rtrim(name)\n" +
+            "        from ysh_zd_part_code\n" +
+            "        where code = inspect_part)         inspectPartName,\n" +
             "                       rtrim(c.tc_no)                       as tc_no,\n" +
             "                       '2'                                  as isTheParentNode,\n" +
             "                       class                                as classes,\n" +