|
|
@@ -161,6 +161,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="buildDate" column="build_date"/>
|
|
|
<result property="csnu" column="csnu"/>
|
|
|
<result property="callSign" column="call_sign"/>
|
|
|
+ <result property="userPhone" column="userPhone"/>
|
|
|
<result property="releasedUnitStr" column="releasedUnitStr"/>
|
|
|
<result property="conmStr" column="conmStr"/>
|
|
|
<result property="names" column="names"/>
|
|
|
@@ -210,6 +211,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
br.sid,
|
|
|
br.released_status,
|
|
|
brm.*,
|
|
|
+ bn.userPhone,
|
|
|
sd.dept_name as releasedUnitStr,
|
|
|
bl.conmStr,
|
|
|
blm.names,
|
|
|
@@ -252,6 +254,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
bl.notified_matters_id = blm2.notified_matters_id
|
|
|
left join ry.sys_dept sd on
|
|
|
sd.dept_id = br.released_unit
|
|
|
+ left join (
|
|
|
+ select
|
|
|
+ unit_name,
|
|
|
+ LISTAGG(concat(contact_name,' ',contact_number),',') as userPhone
|
|
|
+ from
|
|
|
+ ry.bj_ntlo
|
|
|
+ where
|
|
|
+ msg_recipient = '1'
|
|
|
+ and ab_status = '1'
|
|
|
+ group by
|
|
|
+ unit_name) bn on
|
|
|
+ bn.unit_name = blm2.receiving_unit
|
|
|
left join ry.sys_dict_data sdd on
|
|
|
br.released_status = sdd.dict_value
|
|
|
and sdd.dict_type = 'bj_notify_os'
|