src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -31,9 +31,11 @@ select a.*, b.name, c.pay_method payMethod, b.phone from mall_money_flow a inner join mall_member b on a.member_id=b.id left join mall_order_info c on a.order_no = c.order_no <where> a.type != 6 <if test="record != null" > @@ -43,6 +45,9 @@ <if test="record.phone!=null and record.phone!=''"> and b.phone like concat('%', #{record.phone},'%') </if> <if test="record.type!=null and record.type!=''"> and a.type like concat('%', #{record.type},'%') </if> </if> </where> order by a.created_time desc