|
@@ -4,6 +4,7 @@ import com.steerinfo.dil.model.AmstruckInwardPlan;
|
|
|
import com.steerinfo.dil.service.IAmstruckInwardPlanService;
|
|
|
import com.steerinfo.dil.util.BaseRESTfulController;
|
|
|
import com.steerinfo.dil.util.ColumnDataUtil;
|
|
|
+import com.steerinfo.dil.util.DataChange;
|
|
|
import com.steerinfo.dil.util.PageListAdd;
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
import com.steerinfo.framework.service.pagehelper.PageHelper;
|
|
@@ -14,6 +15,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -41,7 +43,7 @@ public class AmstruckInwardPlanController extends BaseRESTfulController {
|
|
|
IAmstruckInwardPlanService amstruckInwardPlanService;
|
|
|
@Autowired
|
|
|
ColumnDataUtil columnDataUtil;
|
|
|
-
|
|
|
+ private final SimpleDateFormat sdfDateTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
/**
|
|
|
*新增运输计划
|
|
|
*/
|
|
@@ -153,6 +155,7 @@ public class AmstruckInwardPlanController extends BaseRESTfulController {
|
|
|
}
|
|
|
List<Map<String, Object>> columnList = null;
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
+ DataChange.queryDataByDateTime(""+mapValue.get("startTime"),""+mapValue.get("endTime"),mapValue,sdfDateTime);
|
|
|
if(planStatus == 100){
|
|
|
columnList = amstruckInwardPlanService.getTruckPlanList2(mapValue);
|
|
|
}else {
|