Przeglądaj źródła

设备档案卡授权人员列表数据不显示问题处理

WuYi 1 tydzień temu
rodzic
commit
bcf5c71f99

+ 3 - 3
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/equipment/persistence/mapping/Authorization.map.xml.xml

@@ -35,9 +35,9 @@
         </where>
         GROUP BY a.id_, b.id_, e.id_
         union all
-        select l.bian_zhi_shi_jian,l.bei_shou_quan_ren as xing_ming_,e.name_ as ren_yuan_ming_,	e.positions_ AS bian_zhi_bu_men_ from t_lhrynlqr l
-        JOIN ibps_party_employee e ON l.bei_shou_quan_ren = e.id_
-        LEFT JOIN ibps_party_position p ON FIND_IN_SET( p.id_, e.positions_ )
+        SELECT l.bian_zhi_shi_jian, l.bei_shou_quan_ren AS xing_ming_, e.name_ AS ren_yuan_ming_,e.positions_ AS bian_zhi_bu_men_
+        FROM t_lhrynlqr l JOIN ibps_party_employee e
+        ON FIND_IN_SET(e.id_, l.bei_shou_quan_ren)
         <where>
         l.shi_fou_guo_shen_ = '已完成'
             <if test="@o.Ognl@isNotEmpty(she_bei_ming_chen)">