修改
This commit is contained in:
@@ -60,9 +60,11 @@ public class EmptyVehicleServiceImpl implements EmptyVehicleService {
|
||||
}
|
||||
if (option.equals("0")){
|
||||
point_jo.put("empty_vehicle_code","");
|
||||
point_jo.put("empty_point_status","01");
|
||||
}
|
||||
if (option.equals("1")){
|
||||
point_jo.put("empty_vehicle_code",vehicle_code);
|
||||
point_jo.put("empty_point_status","02");
|
||||
}
|
||||
WQLObject.getWQLObject("st_ivt_coolpointivt").update(point_jo);
|
||||
JSONObject jo = new JSONObject();
|
||||
|
||||
@@ -50,7 +50,7 @@ public class CoolPointIvtServiceImpl implements CoolPointIvtService {
|
||||
map.put("is_used", whereJson.get("is_used"));
|
||||
map.put("begin_time", whereJson.get("begin_time"));
|
||||
map.put("end_time", whereJson.get("end_time"));
|
||||
JSONObject json = WQL.getWO("ST_IVT_COOLPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "update_time desc");
|
||||
JSONObject json = WQL.getWO("ST_IVT_COOLPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "product_area,point_code");
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public Map<String,Object> queryAll(Map whereJson, Pageable page){
|
||||
map.put("empty_point_status", whereJson.get("empty_point_status"));
|
||||
map.put("product_area", whereJson.get("product_area"));
|
||||
map.put("is_used", whereJson.get("is_used"));
|
||||
JSONObject json = WQL.getWO("ST_IVT_CUTPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "update_time desc");
|
||||
JSONObject json = WQL.getWO("ST_IVT_CUTPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "product_area,point_code");
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ public Map<String,Object> queryAll(Map whereJson, Pageable page){
|
||||
map.put("product_area", whereJson.get("product_area"));
|
||||
map.put("point_status", whereJson.get("point_status"));
|
||||
map.put("is_used", whereJson.get("is_used"));
|
||||
JSONObject json = WQL.getWO("ST_IVT_DELIVERYPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "update_time desc");
|
||||
JSONObject json = WQL.getWO("ST_IVT_DELIVERYPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "product_area,point_code");
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ public class HotPointIvtServiceImpl implements HotPointIvtService {
|
||||
map.put("begin_time", whereJson.get("begin_time"));
|
||||
map.put("end_time", whereJson.get("end_time"));
|
||||
|
||||
JSONObject json = WQL.getWO("ST_IVT_HOTPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "update_time desc");
|
||||
JSONObject json = WQL.getWO("ST_IVT_HOTPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "product_area,group_name,point_code");
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ public class SbPointIvtServiceImpl implements SbPointIvtService {
|
||||
map.put("point_code", "%" + whereJson.get("point_code") + "%");
|
||||
map.put("product_area", whereJson.get("product_area"));
|
||||
map.put("is_used", whereJson.get("is_used"));
|
||||
JSONObject json = WQL.getWO("ST_IVT_SBPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "update_time desc");
|
||||
JSONObject json = WQL.getWO("ST_IVT_SBPOINTIVT").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "product_area,point_code");
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ public class RawfoilworkorderServiceImpl implements RawfoilworkorderService {
|
||||
map.put("product_area",product_area);
|
||||
map.put("status",status);
|
||||
|
||||
JSONObject json = WQL.getWO("PDM_BI_RAWFOILWORKORDER_01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "der.update_time DESC");
|
||||
JSONObject json = WQL.getWO("PDM_BI_RAWFOILWORKORDER_01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "der.container_name");
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ public class SlittingproductionplanServiceImpl implements Slittingproductionplan
|
||||
if (ObjectUtil.isNotEmpty(parent_container_name)) map.put("parent_container_name","%"+parent_container_name+"%");
|
||||
if (ObjectUtil.isNotEmpty(container_name)) map.put("container_name","%"+container_name+"%");
|
||||
|
||||
JSONObject json = WQL.getWO("PDM_BI_SLIDTTINGPLAN_01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "plan.update_time DESC");
|
||||
JSONObject json = WQL.getWO("PDM_BI_SLIDTTINGPLAN_01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "plan.container_name");
|
||||
return json;
|
||||
}
|
||||
|
||||
@@ -108,9 +108,14 @@ public class SlittingproductionplanServiceImpl implements Slittingproductionplan
|
||||
dto.setUpdate_time(now);
|
||||
dto.setCreate_time(now);
|
||||
|
||||
JSONObject jo = (JSONObject) JSON.toJSON(dto);
|
||||
jo.put("status", "01");
|
||||
jo.put("is_parent_ok", "0");
|
||||
jo.put("is_child_tz_ok", "0");
|
||||
jo.put("is_child_ps_ok", "0");
|
||||
jo.put("is_delete", "0");
|
||||
WQLObject wo = WQLObject.getWQLObject("pdm_bi_slittingproductionplan");
|
||||
JSONObject json = JSONObject.parseObject(JSON.toJSONString(dto));
|
||||
wo.insert(json);
|
||||
wo.insert(jo);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user