|
@@ -61,11 +61,20 @@
|
|
|
his.amount as "amount",
|
|
his.amount as "amount",
|
|
|
DATE_FORMAT(his.create_time, '%Y-%m-%d %H:%i:%s') as "createTime",
|
|
DATE_FORMAT(his.create_time, '%Y-%m-%d %H:%i:%s') as "createTime",
|
|
|
his.dept_id as deptId,
|
|
his.dept_id as deptId,
|
|
|
- dept.name as deptName
|
|
|
|
|
|
|
+ dept.name as deptName,
|
|
|
|
|
+ his.auditing_id as auditiingId,
|
|
|
|
|
+ CASE sda.status
|
|
|
|
|
+ WHEN '0' THEN '提现中'
|
|
|
|
|
+ WHEN '1' THEN '已提现'
|
|
|
|
|
+ WHEN '2' THEN '已驳回'
|
|
|
|
|
+ ELSE ''
|
|
|
|
|
+ END AS auditingStatus,
|
|
|
|
|
+ sda.auditing_time as auditingTime
|
|
|
FROM
|
|
FROM
|
|
|
sys_dept_account_history his
|
|
sys_dept_account_history his
|
|
|
LEFT JOIN ins_area_company ins ON his.suborder = ins.id
|
|
LEFT JOIN ins_area_company ins ON his.suborder = ins.id
|
|
|
left join sys_dept dept on dept.id =his.dept_id
|
|
left join sys_dept dept on dept.id =his.dept_id
|
|
|
|
|
+ left join sys_dept_account_withdraw sda on sda.id =his.auditing_id
|
|
|
WHERE
|
|
WHERE
|
|
|
his.documentary =1
|
|
his.documentary =1
|
|
|
<if test="vo.deptId !=null and vo.deptId != '' ">
|
|
<if test="vo.deptId !=null and vo.deptId != '' ">
|