Commit a8f4ba1b by lpx

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

parent 3c3539c3
......@@ -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);
}
......
......@@ -166,12 +166,10 @@
FROM
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