소스 검색

数据说明添加

gushoubang 5 달 전
부모
커밋
6d8b685bf6

+ 1 - 0
onemap-modules/onemap-apply/src/main/java/com/onemap/apply/service/impl/yzt/ZymlServiceImpl.java

@@ -117,6 +117,7 @@ public class ZymlServiceImpl implements IZymlService {
                 c.setFwgzkj(cur.getFwgzkj());
                 c.setFwmc(cur.getFwmc());
                 c.setServerType(cur.getServerType());
+                c.setDataexplain(cur.getDataexplain());
                 treedata.add(c);
             }
             List<ZymlTreeDataDTO> data = buildDeptTree2(treedata);

+ 4 - 3
onemap-modules/onemap-apply/src/main/resources/mapper/oracle/yzt/ZymlMapper.xml

@@ -9,9 +9,9 @@
         select
         (select count(1) from t_yzt_zyml cou where cou.parent = 0
         <if test="resources != null and resources != ''">
-            and  cou.bsm in (
+            and cou.bsm in (
             with temp as
-            (select #{resources} value from  dual t)
+            (select #{resources} value from dual t)
             select regexp_substr(replace(value, ' ,', ','), '[^,]+', 1, level)
             from temp
             connect by regexp_count(value, ',') + 1 >= level
@@ -43,6 +43,7 @@
         t.sjly as "sjly",
         t.legend as "legend",
         t.ywlx as "ywlx",
+        t.dataexplain as "dataexplain",
         (select distinct(uhbm) from t_yzt_zyml_my my where my.zy_bsm = t.bsm and my.uhbm = #{username}) as "my",
         (select fzbsm from T_YZT_ZYML_LSSJ ls where ls.zybsm = t.bsm) as "fzbsm",
         to_char(res.datetime ,'yyyy-MM-dd hh24:mi:ss') as "datetime",
@@ -60,7 +61,7 @@
         <if test="resources != null and resources != ''">
             and (t.parent = 1 or t.bsm in (
             with temp as
-            (select #{resources} value from  dual t)
+            (select #{resources} value from dual t)
             select regexp_substr(replace(value, ' ,', ','), '[^,]+', 1, level)
             from temp
             connect by regexp_count(value, ',') + 1 >= level

+ 1 - 0
onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/yzt/ZymlMapper.xml

@@ -124,6 +124,7 @@
         t.minimumlevel as "minimumlevel",
         t.create_time as "create_time",
         t.create_by as "create_by",
+        t.dataexplain as "dataexplain",
         (select distinct(uhbm) from t_yzt_zyml_my my where my.zy_bsm = t.bsm and my.uhbm = #{username}) as "my"
         from t_yzt_zyml t
         where 1 = 1