代码修改
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
#################################################
|
||||
输入.flag TYPEAS s_string
|
||||
输入.jockey_id TYPEAS s_string
|
||||
输入.sale_id TYPEAS s_string
|
||||
输入.produceorder_id TYPEAS s_string
|
||||
输入.sale_id TYPEAS s_string
|
||||
输入.produceorder_id TYPEAS s_string
|
||||
输入.workprocedure_code TYPEAS s_string
|
||||
输入.order_status TYPEAS s_string
|
||||
输入.shift_type_scode TYPEAS s_string
|
||||
@@ -75,7 +75,7 @@
|
||||
ShiftOrder.workorder_status <> '5'
|
||||
ENDOPTION
|
||||
OPTION 输入.order_status <> ""
|
||||
find_in_set( ShiftOrder.workorder_status, 输入.order_status)
|
||||
find_in_set(ShiftOrder.workorder_status, 输入.order_status)
|
||||
ENDOPTION
|
||||
OPTION 输入.shift_type_scode <> ""
|
||||
ShiftOrder.shift_type_scode = 输入.shift_type_scode
|
||||
@@ -87,10 +87,10 @@
|
||||
material.product_series in 输入.product_series
|
||||
ENDOPTION
|
||||
OPTION 输入.begin_time <> ""
|
||||
ShiftOrder.produce_date >= 输入.begin_time
|
||||
ShiftOrder.realproducestart_date >= 输入.begin_time
|
||||
ENDOPTION
|
||||
OPTION 输入.end_time <> ""
|
||||
ShiftOrder.produce_date <= 输入.end_time
|
||||
ShiftOrder.realproducestart_date <= 输入.end_time
|
||||
ENDOPTION
|
||||
OPTION 输入.sale_id <> ""
|
||||
ShiftOrder.sale_id like 输入.sale_id
|
||||
|
||||
Binary file not shown.
@@ -125,19 +125,18 @@ public class RegionServiceImpl implements RegionService {
|
||||
/**
|
||||
* label,value
|
||||
*/
|
||||
// JSONArray res = new JSONArray();
|
||||
// String point_status_explain = findByCode(region_id).getPoint_status_explain();
|
||||
// if (ObjectUtil.isEmpty(point_status_explain)) return res;
|
||||
// String[] explain = point_status_explain.split(",");
|
||||
// for (int i = 0; i < explain.length; i++) {
|
||||
// String[] status = explain[i].split("-");
|
||||
// JSONObject point_status = new JSONObject();
|
||||
// point_status.put("label", status[1]);
|
||||
// point_status.put("value", status[0]);
|
||||
// res.add(point_status);
|
||||
// }
|
||||
// return res;
|
||||
return null;
|
||||
JSONArray res = new JSONArray();
|
||||
String point_status_explain = findByCode(region_code).getPoint_status_explain();
|
||||
if (ObjectUtil.isEmpty(point_status_explain)) return res;
|
||||
String[] explain = point_status_explain.split(",");
|
||||
for (int i = 0; i < explain.length; i++) {
|
||||
String[] status = explain[i].split("-");
|
||||
JSONObject point_status = new JSONObject();
|
||||
point_status.put("label", status[1]);
|
||||
point_status.put("value", status[0]);
|
||||
res.add(point_status);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -151,19 +150,18 @@ public class RegionServiceImpl implements RegionService {
|
||||
/**
|
||||
* label,value
|
||||
*/
|
||||
// JSONArray res = new JSONArray();
|
||||
// String point_type_explain = findById(region_id).getPoint_type_explain();
|
||||
// if (ObjectUtil.isEmpty(point_type_explain)) return res;
|
||||
// String[] explain = point_type_explain.split(",");
|
||||
// for (int i = 0; i < explain.length; i++) {
|
||||
// String[] types = explain[i].split("-");
|
||||
// JSONObject point_type = new JSONObject();
|
||||
// point_type.put("label", types[1]);
|
||||
// point_type.put("value", types[0]);
|
||||
// res.add(point_type);
|
||||
// }
|
||||
// return res;
|
||||
return null;
|
||||
JSONArray res = new JSONArray();
|
||||
String point_type_explain = findByCode(region_code).getPoint_type_explain();
|
||||
if (ObjectUtil.isEmpty(point_type_explain)) return res;
|
||||
String[] explain = point_type_explain.split(",");
|
||||
for (int i = 0; i < explain.length; i++) {
|
||||
String[] types = explain[i].split("-");
|
||||
JSONObject point_type = new JSONObject();
|
||||
point_type.put("label", types[1]);
|
||||
point_type.put("value", types[0]);
|
||||
res.add(point_type);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user