Browse Source

扫码报警代码优化

develop
lau572 2 months ago
parent
commit
c1b279c67d
  1. 2
      zc-business/src/main/java/com/zc/business/controller/CodeScanningAlarmController.java

2
zc-business/src/main/java/com/zc/business/controller/CodeScanningAlarmController.java

@ -162,7 +162,7 @@ public class CodeScanningAlarmController extends BaseController {
}
DcWarning dcWarning = new DcWarning();
dcWarning.setId(oldData.get("id").toString());
dcWarning.setOtherConfig(String.valueOf(JSONObject.parseObject(JSONObject.toJSONString(otherConfig))));
dcWarning.setOtherConfig(otherConfig.toJSONString());
dcWarningService.updateDcWarning(dcWarning);
DcEventProcess dcEventProcess = new DcEventProcess();

Loading…
Cancel
Save