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