Browse Source

保存日志对控制原因判断空

lirong 3 years ago
parent
commit
97a6814866

+ 1 - 1
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/ControlUtil.java

@@ -240,7 +240,7 @@ public class ControlUtil {
 						}
 						sb.append("[" + infoName + "]" + "设为:" + "[" + infoValue + "]");
 						sb.append(";");
-						if(!controlReason.isEmpty())
+						if(controlReason!=null&&!controlReason.isEmpty())
 						{
 							if (infoDef.get("code").value_prim.value.equals("manualAutoSet")) {
 								sb.append("原因:" + controlReason + ";");