订单号查询
This commit is contained in:
parent
f6bbc9d2f5
commit
bab5c75074
|
|
@ -136,4 +136,8 @@ public class OrderInfoDto {
|
||||||
private BigDecimal totalRealPrice;
|
private BigDecimal totalRealPrice;
|
||||||
|
|
||||||
private Integer orderCount;
|
private Integer orderCount;
|
||||||
|
/**
|
||||||
|
* 订单号查询
|
||||||
|
*/
|
||||||
|
private String keyWord;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -143,6 +143,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
left join sys_dept up on up.dept_id = mdi.own_co
|
left join sys_dept up on up.dept_id = mdi.own_co
|
||||||
WHERE
|
WHERE
|
||||||
mt.del_flag = '0'
|
mt.del_flag = '0'
|
||||||
|
<if test="keyWord!=null and keyWord!=''">
|
||||||
|
and moi.code like concat('%',#{keyWord},'%')
|
||||||
|
</if>
|
||||||
<if test="buyerCompany != null">
|
<if test="buyerCompany != null">
|
||||||
AND moi.buyer_company = #{buyerCompany}
|
AND moi.buyer_company = #{buyerCompany}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue