Redeem 1 год назад
Родитель
Сommit
64c18ec6b9

+ 5 - 2
src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

@@ -5694,8 +5694,11 @@
             <if test="saleRemark != null">
                 and "saleRemark" like Concat('%',Concat(#{saleRemark},'%'))
             </if>
-            <if test="transportStatus != null">
-                and "transportStatus" like Concat('%',Concat(#{transportStatus},'%'))
+            <if test="transportStatus != null and transportStatus.size > 0">
+                and "transportStatus" in
+                <foreach collection="transportStatus" index="index" item="item" separator="," close=")" open="(">
+                   #{item}
+               </foreach>
             </if>
         </where>
         <include refid="orderBy"></include>