订单号查询

This commit is contained in:
haozq 2025-02-21 17:26:07 +08:00
parent f6bbc9d2f5
commit bab5c75074
2 changed files with 7 additions and 0 deletions

View File

@ -136,4 +136,8 @@ public class OrderInfoDto {
private BigDecimal totalRealPrice;
private Integer orderCount;
/**
* 订单号查询
*/
private String keyWord;
}

View File

@ -143,6 +143,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join sys_dept up on up.dept_id = mdi.own_co
WHERE
mt.del_flag = '0'
<if test="keyWord!=null and keyWord!=''">
and moi.code like concat('%',#{keyWord},'%')
</if>
<if test="buyerCompany != null">
AND moi.buyer_company = #{buyerCompany}
</if>