|
@@ -47,7 +47,7 @@
|
|
|
|
|
|
|
|
<select id="queryPage" resultType="com.jzg.commons.entity.vo.AmountAuditVo">
|
|
<select id="queryPage" resultType="com.jzg.commons.entity.vo.AmountAuditVo">
|
|
|
SELECT
|
|
SELECT
|
|
|
- saa.receive_user_name,
|
|
|
|
|
|
|
+ saa.receive_user_name,saa.auditing_user_id,saa.auditing_user_name ,
|
|
|
saa.id,suji.name as name, su.mobile as mobile,suji.type_attr as attrType,
|
|
saa.id,suji.name as name, su.mobile as mobile,suji.type_attr as attrType,
|
|
|
saa.manager_user_name as managerName,sum.mobile as managerMobile,saa.create_time as createTime,
|
|
saa.manager_user_name as managerName,sum.mobile as managerMobile,saa.create_time as createTime,
|
|
|
saa.amount, saa.balance_amount as balanceAmount,saa.account_name AS accountName,
|
|
saa.amount, saa.balance_amount as balanceAmount,saa.account_name AS accountName,
|
|
@@ -74,6 +74,9 @@
|
|
|
<if test="param.amount != null and param.amount != ''">
|
|
<if test="param.amount != null and param.amount != ''">
|
|
|
and saa.amount = #{param.amount}
|
|
and saa.amount = #{param.amount}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="param.auditingUser != null and param.auditingUser != ''">
|
|
|
|
|
+ and saa.auditing_user_name = #{param.auditingUser}
|
|
|
|
|
+ </if>
|
|
|
<if test="param.receiveUserName != null and param.receiveUserName !=''">
|
|
<if test="param.receiveUserName != null and param.receiveUserName !=''">
|
|
|
and saa.receive_user_name = #{param.receiveUserName}
|
|
and saa.receive_user_name = #{param.receiveUserName}
|
|
|
</if>
|
|
</if>
|
|
@@ -95,6 +98,9 @@
|
|
|
<if test="param.auditingStatus != null ">
|
|
<if test="param.auditingStatus != null ">
|
|
|
and saa.auditing_status = #{param.auditingStatus}
|
|
and saa.auditing_status = #{param.auditingStatus}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="param.paymentTimeBegin != null and param.paymentTimeEnd != null">
|
|
|
|
|
+ and saa.payment_time between #{param.paymentTimeBegin} and #{param.paymentTimeEnd}
|
|
|
|
|
+ </if>
|
|
|
<choose>
|
|
<choose>
|
|
|
<when test="param.receiveUser != null and param.receiveUser != ''">
|
|
<when test="param.receiveUser != null and param.receiveUser != ''">
|
|
|
and saa.receive_user = #{param.receiveUser}
|
|
and saa.receive_user = #{param.receiveUser}
|