|
|
|
|
@ -65,7 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<where>
|
|
|
|
|
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
|
|
|
|
<if test="vehicleId != null "> and vehicle_id = #{vehicleId}</if>
|
|
|
|
|
<if test="plateNumber != null and plateNumber != ''"> and plate_number = #{plateNumber}</if>
|
|
|
|
|
<if test="plateNumber != null and plateNumber != ''"> and plate_number like concat('%', #{plateNumber}, '%')</if>
|
|
|
|
|
<if test="typeCode == null or typeCode == ''"> and type_code in ('1','4')</if>
|
|
|
|
|
<if test="typeCode != null and typeCode != ''"> and type_code = #{typeCode}</if>
|
|
|
|
|
<if test="factoryId != null "> and factory_id = #{factoryId}</if>
|
|
|
|
|
|