Tiroble 3 năm trước cách đây
mục cha
commit
77ad818553

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

@@ -125,8 +125,8 @@ public class OffSiteTransportationController extends BaseRESTfulController {
             SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd");
             String startTime1=simpleDateFormat.format(startDate);
             String endTime1=simpleDateFormat.format(ca.getTime());
-            mapValue.replace("startTime",startTime1);
-            mapValue.replace("endTime",endTime1);
+            mapValue.put("startTime",startTime1);
+            mapValue.put("endTime",endTime1);
         }
         List<Map<String,Object>> filter= offSiteTransportationService.getInTransitTransportation(mapValue);
         PageHelper.startPage(pageNum, pageSize);
@@ -171,8 +171,8 @@ public class OffSiteTransportationController extends BaseRESTfulController {
             SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd");
             String startTime1=simpleDateFormat.format(startDate);
             String endTime1=simpleDateFormat.format(ca.getTime());
-            mapValue.replace("startTime",startTime1);
-            mapValue.replace("endTime",endTime1);
+            mapValue.put("startTime",startTime1);
+            mapValue.put("endTime",endTime1);
         }
         //已经完成
         mapValue.put("orderStatus",2);