|
|
@@ -59,6 +59,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="applyUserName != null and applyUserName != ''">and fa.apply_user_name like concat('%', #{applyUserName}, '%')</if>
|
|
|
<if test="sApplyTime != null and sApplyTime != ''">and date(fa.apply_time) >= #{sApplyTime}</if>
|
|
|
<if test="eApplyTime != null and eApplyTime != ''">and date(fa.apply_time) <= #{eApplyTime}</if>
|
|
|
+ <if test="deliverySn != null and deliverySn != ''">
|
|
|
+ and (eo.delivery_sn = #{deliverySn} or so.delivery_sn = #{deliverySn})
|
|
|
+ </if>
|
|
|
</where>
|
|
|
order by create_time desc
|
|
|
</select>
|