Redeem vor 1 Jahr
Ursprung
Commit
430babc218

+ 4 - 0
src/main/java/com/steerinfo/dil/controller/StatisticalReportController.java

@@ -1380,6 +1380,10 @@ public class StatisticalReportController extends BaseRESTfulController {
         if (wareHouse != null && !"".equals(wareHouse) && !"null".equals(wareHouse)) {
             mapValue.put("wareHouse",wareHouse);
         }
+        if (mapValue.get("transportStatus") != null) {
+            mapValue.put("transportStatusList",mapValue.get("transportStatus"));
+            mapValue.remove("transportStatus");
+        }
         mapValue.put("orderTypee",orderType);
         mapValue.put("shipperId",shipperId);
         if(orderType==1 && mapValue.get("orderField")==null){

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

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