Browse Source

管控

develop
wangsixiang 3 months ago
parent
commit
4446feab2e
  1. 2
      zc-business/src/main/java/com/zc/business/controller/DcOperLogController.java

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

@ -69,7 +69,7 @@ public class DcOperLogController extends BaseController {
content="情报板";
}
String jsonResult = log.getJsonResult();
if ("[]".equals(jsonResult)|| StringUtils.isBlank(jsonResult)){
if (("[]".equals(jsonResult)|| StringUtils.isBlank(jsonResult))&&("5".equals(dcDeviceType)||"2".equals(dcDeviceType))){
String jsonResults = String.format(
"[{\"deviceType\":%s,\"deviceName\":%s,\"result\":{\"code\":500,\"content\":\"{%s数据异常\"}}]",
log.getDcDeviceType(), log.getDcDeviceName(), content

Loading…
Cancel
Save