rev:内包间逻辑修改

This commit is contained in:
2024-03-05 09:49:49 +08:00
parent 1faf1dd652
commit fdb53b5d30
2 changed files with 8 additions and 6 deletions

View File

@@ -127,14 +127,14 @@ public class PaperTubeTask extends AbstractAcsTask {
//todo:创建桁架任务搬运一个符合的气涨轴
JSONObject jo = new JSONObject();
jo.put("task_type", "010602");
String public_area = "";
/*String public_area = "";
if (product_area.equals("A1") || product_area.equals("A2")) {
public_area = "A1";
}
if (product_area.equals("A3") || product_area.equals("A4")) {
public_area = "A3";
}
JSONObject qhd_jo = WQLObject.getWQLObject("st_ivt_shaftivt").query("point_type = '6' AND product_area = '" + public_area + "'").uniqueResult(0);
}*/
JSONObject qhd_jo = WQLObject.getWQLObject("st_ivt_shaftivt").query("point_type = '6' AND product_area = '" + product_area + "'").uniqueResult(0);
jo.put("point_code1", qhd_jo.getString("point_code"));
jo.put("point_code2", cbz_jo.getString("point_code"));
jo.put("truss_type", "8");