|
|
@@ -133,7 +133,8 @@
|
|
|
a.bank_card_num as "bankCardNum",
|
|
|
a.bank_name as "bankName",
|
|
|
a.bank_num as "bankNum",
|
|
|
- a.account_id as "accountId"
|
|
|
+ a.account_id as "accountId",
|
|
|
+ sd.management_source AS source
|
|
|
from sys_amount_auditing a
|
|
|
left join sys_user_account_history b on a.id = b.auditiing_id
|
|
|
left join sys_user su on su.id =a.user_id
|
|
|
@@ -173,6 +174,9 @@
|
|
|
<if test="leaderId !=null and leaderId != ''">
|
|
|
and su.leader_id=#{leaderId}
|
|
|
</if>
|
|
|
+ <if test="source !=null and source != ''">
|
|
|
+ and sd.management_source=#{source}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
order by a.create_time desc
|
|
|
</select>
|
|
|
@@ -267,6 +271,7 @@
|
|
|
from sys_amount_auditing a
|
|
|
left join sys_user_account_history b on a.id = b.auditiing_id
|
|
|
left join sys_user su on su.id =a.user_id
|
|
|
+ left join sys_dept sd on sd.id =su.dept_id
|
|
|
<where>
|
|
|
<if test="vo.auditingStatus !=null and vo.auditingStatus != ''">
|
|
|
a.auditing_status=#{vo.auditingStatus}
|
|
|
@@ -298,6 +303,9 @@
|
|
|
<if test="vo.leaderId !=null and vo.leaderId != ''">
|
|
|
and su.leader_id = #{vo.leaderId}
|
|
|
</if>
|
|
|
+ <if test="vo.source !=null and vo.source != ''">
|
|
|
+ and sd.management_source=#{source}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
</mapper>
|