This commit is contained in:
shuo.wang
2024-05-10 10:37:36 +08:00
parent 09eed587d4
commit dbd284191c

View File

@@ -52,10 +52,11 @@
from xfsg_opening_operation_plan op from xfsg_opening_operation_plan op
join xfsg_shop_info si on si.id = op.shop_id join xfsg_shop_info si on si.id = op.shop_id
where 1=1 where 1=1
<if test="request.shopName != null and request.shopName != '' "> <if test="request.shopName != null and request.shopName != '' ">
AND si.shop_name like concat('%', #{request.shopName}, '%') AND si.shop_name like concat('%', #{request.shopName}, '%')
</if> </if>
<if test="request.resultType != null and request.resultType != ''"> <if test="request.resultType != null ">
AND op.result_type = #{request.resultType} AND op.result_type = #{request.resultType}
</if> </if>
<if test="request.planStartDate == null and request.planEndDate == null"> <if test="request.planStartDate == null and request.planEndDate == null">