更新
This commit is contained in:
@@ -81,7 +81,7 @@ public class StandardAutodoorDeviceDriver extends AbstractOpcDeviceDriver implem
|
||||
}
|
||||
if(this.getClose() == 0){
|
||||
open = "未知";
|
||||
} else if(this.getOpen() == 1){
|
||||
} else if(this.getClose() == 1){
|
||||
open = "关到位";
|
||||
}
|
||||
jo.put("device_name", this.getDevice().getDevice_name());
|
||||
|
||||
@@ -774,7 +774,6 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
|
||||
public Map<String, Object> updateTask(String whereJson) {
|
||||
JSONArray datas = JSONArray.parseArray(whereJson);
|
||||
log.info("updateTask--------------:输入参数" + datas.toString());
|
||||
JSONObject map = new JSONObject();
|
||||
JSONArray errArr = new JSONArray();
|
||||
if (datas.size() > 0) {
|
||||
for (int i = 0; i < datas.size(); i++) {
|
||||
|
||||
@@ -782,6 +782,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu
|
||||
public void finish(Instruction dto) {
|
||||
String now = DateUtil.now();
|
||||
dto.setInstruction_status("2");
|
||||
dto.setUpdate_time(now);
|
||||
WQLObject wo = WQLObject.getWQLObject("acs_instruction");
|
||||
JSONObject json = (JSONObject) JSONObject.toJSON(dto);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user