|
|
@@ -2660,6 +2660,7 @@
|
|
|
LEFT JOIN ins_orders io on io.orderno = iac.orderno
|
|
|
LEFT JOIN esm_ins_company ins ON agree.partner_companies_id = ins.id
|
|
|
LEFT JOIN ins_fee_audit ifa on ifa.ins_order_no =iac.id
|
|
|
+ LEFT JOIN sys_user su ON io.userid = su.id
|
|
|
WHERE
|
|
|
agree.id IS NOT NULL
|
|
|
and ifa.auditstatus != '2'
|
|
|
@@ -2705,7 +2706,7 @@
|
|
|
</if>
|
|
|
|
|
|
<if test="vo.userIds != null and vo.userIds != '' and vo.userIds.size() > 0">
|
|
|
- AND io.userid in
|
|
|
+ AND su.leader_id in
|
|
|
<foreach collection="vo.userIds" item="item" open="(" separator="," close=")">
|
|
|
#{item}
|
|
|
</foreach>
|