Commit 5924ca95 by lanpingxiong

Merge branch 'dev/lanpingxiong' into 'master'

# 财务管理-收款记录接口

See merge request hewei/Jumeirah!45
parents 3c3539c3 a8f4ba1b
......@@ -110,7 +110,7 @@ public class StrokeServiceImpl extends BaseServiceImpl<StrokeMapper, Stroke> imp
@Override
public Paging<McStrokePaymentQueryVo> getPaymentPageList(McStrokePaymentPageParam mcStrokePaymentPageParam) {
Page<StrokeQueryVo> page = new PageInfo<>(mcStrokePaymentPageParam, OrderItem.asc(getLambdaColumn(Stroke::getCreateTime)));
Page<StrokeQueryVo> page = new PageInfo<>(mcStrokePaymentPageParam);
IPage<McStrokePaymentQueryVo> mcStrokePageList = strokeMapper.getPaymentPageList(page, mcStrokePaymentPageParam);
return new Paging<McStrokePaymentQueryVo>(mcStrokePageList);
}
......
......@@ -155,23 +155,21 @@
<select id="getPaymentPageList" parameterType="com.jumeirah.common.param.McStrokePaymentPageParam"
resultType="com.jumeirah.common.vo.McStrokePaymentQueryVo">
SELECT
s.id,
s.type,
s.user_recharge_time,
s.payment_status,
s.user_recharge_money,
s.payment_channel,
CONCAT( au.surname, au.`name` ) AS applicant,
au.phone AS phone_number
s.id,
s.type,
s.user_recharge_time,
s.payment_status,
s.user_recharge_money,
s.payment_channel,
CONCAT( au.surname, au.`name` ) AS applicant,
au.phone AS phone_number
FROM
stroke s
stroke s
LEFT JOIN app_user au ON au.id = s.user_id
<where>
<if test="param.paymentStatus != null and param.paymentStatus != -1">
AND s.status = #{param.paymentStatus}
</if>
<if test="param.id != null and param.id != 0">
AND s.id = #{param.id}
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment