|
@@ -3,7 +3,8 @@
|
|
|
<mapper namespace="com.fdkankan.sale.mapper.IRepairInvoiceMapper">
|
|
|
|
|
|
<select id="pageList" resultType="com.fdkankan.sale.vo.response.RepairInvoiceVo">
|
|
|
- select ri.*,rp.order_sn ,rp.create_time from t_repair_invoice ri left join t_repair_pay rp on ri.repair_id = rp.repair_id
|
|
|
+ select ri.*,rp.order_sn ,rp.create_time as payTime from t_repair_invoice ri
|
|
|
+ left join t_repair_pay rp on ri.repair_id = rp.repair_id
|
|
|
where ri.rec_status = 'A' and rp.pay_status = 1
|
|
|
<if test="param.orderSn !=null and param.orderSn !='' ">
|
|
|
and rp.order_sn like concat('%',#{param.orderSn},'%')
|