|
@@ -1798,7 +1798,7 @@ public class OrderManageAction implements IMINAction {
|
|
|
}
|
|
}
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
map.put("contractInfList", contractInfList);
|
|
map.put("contractInfList", contractInfList);
|
|
|
- map.put("dates", createTime);
|
|
|
|
|
|
|
+ map.put("createTime", createTime);
|
|
|
map.put("orderName",orderName);
|
|
map.put("orderName",orderName);
|
|
|
map.put("htYue", htYue);
|
|
map.put("htYue", htYue);
|
|
|
map.put("contractMonth", contractMonth);
|
|
map.put("contractMonth", contractMonth);
|
|
@@ -1816,6 +1816,7 @@ public class OrderManageAction implements IMINAction {
|
|
|
map.put("orIdList", CommonUtil.listToStr4InSql(orIdList));
|
|
map.put("orIdList", CommonUtil.listToStr4InSql(orIdList));
|
|
|
}
|
|
}
|
|
|
map.put("orderId", orderId);
|
|
map.put("orderId", orderId);
|
|
|
|
|
+ map.put("dates", dates);
|
|
|
List<Map<String, String>> list = Service.lookup(IMINDataBaseService.class)
|
|
List<Map<String, String>> list = Service.lookup(IMINDataBaseService.class)
|
|
|
.getMybatisMapper(OrderManageMapper.class)
|
|
.getMybatisMapper(OrderManageMapper.class)
|
|
|
.queryOrder(map);
|
|
.queryOrder(map);
|
|
@@ -1829,12 +1830,17 @@ public class OrderManageAction implements IMINAction {
|
|
|
for (Map<String, String> map2 : list) {
|
|
for (Map<String, String> map2 : list) {
|
|
|
orderIdList.add(map2.get("orderId"));
|
|
orderIdList.add(map2.get("orderId"));
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ // 订单创建时间
|
|
|
|
|
+ if(StringUtils.isNotEmpty(dates)) {
|
|
|
|
|
+ ApOrderInfExample orderInfExample = new ApOrderInfExample();
|
|
|
|
|
+ orderInfExample.createCriteria().andStateNotEqualTo("04").andBranchEqualTo(user.getBranchid()).andCreateTimeBetween(dates.substring(0, 8), dates.substring(11, 19));
|
|
|
|
|
+ }
|
|
|
// 区域查询
|
|
// 区域查询
|
|
|
OwnApWarehouseInfExample warehouseInfExample = new OwnApWarehouseInfExample(user.getBranchid());
|
|
OwnApWarehouseInfExample warehouseInfExample = new OwnApWarehouseInfExample(user.getBranchid());
|
|
|
if (!CommonUtil.isEmpty(region)) {
|
|
if (!CommonUtil.isEmpty(region)) {
|
|
|
warehouseInfExample.createCriteria().andRegionEqualTo(region);
|
|
warehouseInfExample.createCriteria().andRegionEqualTo(region);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
warehouseInfExample.branchIdQuery();
|
|
warehouseInfExample.branchIdQuery();
|
|
|
List<ApWarehouseInf> warehouseInfList = Service.lookup(IMINDataBaseService.class).selectByExample(ApWarehouseInfMapper.class, warehouseInfExample);
|
|
List<ApWarehouseInf> warehouseInfList = Service.lookup(IMINDataBaseService.class).selectByExample(ApWarehouseInfMapper.class, warehouseInfExample);
|
|
|
List<String> warehouseInfId = new ArrayList<String>();
|
|
List<String> warehouseInfId = new ArrayList<String>();
|