|
|
@@ -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
|