md
This commit is contained in:
parent
5e72d1309d
commit
6442a60a59
@ -143,6 +143,33 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and used_status= '0'
|
||||
</if>
|
||||
|
||||
<if test="stockInFlag != null and stockInFlag != ''"> and stock_in_flag=#{stockInFlag}</if>
|
||||
|
||||
<if test="params.queryStatusType != null and params.queryStatusType == 0">
|
||||
and confirm_status= '0'
|
||||
</if>
|
||||
|
||||
<if test="params.queryStatusType != null and params.queryStatusType == 1">
|
||||
and confirm_status= '1'
|
||||
</if>
|
||||
|
||||
<if test="params.queryStatusType != null and params.queryStatusType == 2">
|
||||
and confirm_status= '2'
|
||||
</if>
|
||||
|
||||
<if test="params.searchValue != null and params.searchValue !='' ">
|
||||
and (
|
||||
a.in_no like concat('%', #{params.searchValue}, '%')
|
||||
or a.bill_code like concat('%', #{params.searchValue}, '%')
|
||||
or a.order_sn like concat('%', #{params.searchValue}, '%')
|
||||
or exists (
|
||||
select 1 from emis_waybill ew where a.bill_code=ew.bill_code and (
|
||||
ew.receive_name like concat('%', #{params.searchValue}, '%') or ew.receive_mobile like concat('%', #{params.searchValue}, '%')
|
||||
)
|
||||
)
|
||||
)
|
||||
</if>
|
||||
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user