gaodd 5 years ago
parent
commit
de36807b59

+ 2 - 1
src/main/java/com/unissoft/ventilation/service/impl/ProcessAuditServiceImpl.java

@@ -73,9 +73,10 @@ public class ProcessAuditServiceImpl extends ServiceImpl<ProcessAuditMapper, Pro
73 73
 		for (int i = 0; i < jsonArray.size(); i++) {
74 74
 			row = jsonArray.getJSONObject(i); 
75 75
 			Integer subId = (Integer) row.get("id");//子流程id
76
-			Integer subData = (Integer) row.get("sub_data");//子流程数据
76
+			Integer subData = Integer.parseInt(row.getString("sub_data"));//子流程数据
77 77
 			String operationTime = (String) row.get("operationTime");//子流程的操作时间
78 78
 			
79
+			
79 80
 			ProcessAudit processAudit = new ProcessAudit();
80 81
 			processAudit.setType(type);
81 82
 			processAudit.setMainId(mainId);