|
@ -69,7 +69,7 @@ public class DcOperLogController extends BaseController { |
|
|
content="情报板"; |
|
|
content="情报板"; |
|
|
} |
|
|
} |
|
|
String jsonResult = log.getJsonResult(); |
|
|
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( |
|
|
String jsonResults = String.format( |
|
|
"[{\"deviceType\":%s,\"deviceName\":%s,\"result\":{\"code\":500,\"content\":\"{%s数据异常\"}}]", |
|
|
"[{\"deviceType\":%s,\"deviceName\":%s,\"result\":{\"code\":500,\"content\":\"{%s数据异常\"}}]", |
|
|
log.getDcDeviceType(), log.getDcDeviceName(), content |
|
|
log.getDcDeviceType(), log.getDcDeviceName(), content |
|
|