|
@@ -109,15 +109,22 @@
|
|
|
ins.signing_time as "signingTime",
|
|
ins.signing_time as "signingTime",
|
|
|
o.licenseno as "licenseno",
|
|
o.licenseno as "licenseno",
|
|
|
his.amount as "amount",
|
|
his.amount as "amount",
|
|
|
- business_eegments_type as "businessSegmentsType",
|
|
|
|
|
|
|
+ his.business_eegments_type as "businessSegmentsType",
|
|
|
his.documentary as "incomeAndExpensesType",
|
|
his.documentary as "incomeAndExpensesType",
|
|
|
his.property as "transactionType",
|
|
his.property as "transactionType",
|
|
|
his.create_time as "createTime",
|
|
his.create_time as "createTime",
|
|
|
- his.auditiing_id as "auditiingId"
|
|
|
|
|
|
|
+ his.auditiing_id as "auditiingId",
|
|
|
|
|
+ CASE saa.auditing_status
|
|
|
|
|
+ WHEN '2' THEN '提现中'
|
|
|
|
|
+ WHEN '3' THEN '已提现'
|
|
|
|
|
+ WHEN '4' THEN '驳回'
|
|
|
|
|
+ ELSE ''
|
|
|
|
|
+ END AS "auditingStatus"
|
|
|
FROM
|
|
FROM
|
|
|
- sys_user_account_history his
|
|
|
|
|
- left join ins_area_company ins on his.suborder=ins.id
|
|
|
|
|
- left join ins_orders o ON o.orderno=ins.orderno
|
|
|
|
|
|
|
+ sys_user_account_history his
|
|
|
|
|
+ LEFT JOIN ins_area_company ins ON his.suborder = ins.id
|
|
|
|
|
+ LEFT JOIN ins_orders o ON o.orderno = ins.orderno
|
|
|
|
|
+ left join sys_amount_auditing saa on saa.id =his.auditiing_id
|
|
|
WHERE
|
|
WHERE
|
|
|
his.property !=1 and his.property !=2
|
|
his.property !=1 and his.property !=2
|
|
|
<if test="myIncomeAndExpensesQueryDto.incomeAndExpensesType !=null and myIncomeAndExpensesQueryDto.incomeAndExpensesType != '' and myIncomeAndExpensesQueryDto.incomeAndExpensesType != '0' ">
|
|
<if test="myIncomeAndExpensesQueryDto.incomeAndExpensesType !=null and myIncomeAndExpensesQueryDto.incomeAndExpensesType != '' and myIncomeAndExpensesQueryDto.incomeAndExpensesType != '0' ">
|