|
@@ -1040,6 +1040,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
//施工资料填报
|
|
//施工资料填报
|
|
String pkids = "";
|
|
String pkids = "";
|
|
StringBuilder log = new StringBuilder("异常:");
|
|
StringBuilder log = new StringBuilder("异常:");
|
|
|
|
+ StringBuilder saveData = new StringBuilder(tableInfoList.toString());
|
|
try {
|
|
try {
|
|
for (TableInfo tableInfo : tableInfoList) {
|
|
for (TableInfo tableInfo : tableInfoList) {
|
|
WbsTreeContract wbsTreeContract = wbsTreeContractService.getBaseMapper().selectOne(Wrappers.<WbsTreeContract>query().lambda()
|
|
WbsTreeContract wbsTreeContract = wbsTreeContractService.getBaseMapper().selectOne(Wrappers.<WbsTreeContract>query().lambda()
|
|
@@ -1055,6 +1056,12 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
|
|
|
String sqlInfo = "";
|
|
String sqlInfo = "";
|
|
LinkedHashMap<String, String> dataMap2 = tableInfo.getDataMap();
|
|
LinkedHashMap<String, String> dataMap2 = tableInfo.getDataMap();
|
|
|
|
+ //统计保存的字段
|
|
|
|
+// saveData.append(wbsTreeContract.getNodeName()+"<br>");
|
|
|
|
+// for (String s : dataMap2.keySet()) {
|
|
|
|
+// saveData.append(s+":"+dataMap2.get(s)+"<br>");
|
|
|
|
+// }
|
|
|
|
+// saveData.append("<br>");
|
|
sqlInfo = "INSERT INTO " + tabName + " ( ";
|
|
sqlInfo = "INSERT INTO " + tabName + " ( ";
|
|
String keyStr = "id,";
|
|
String keyStr = "id,";
|
|
String valStr = SnowFlakeUtil.getId() + ",";
|
|
String valStr = SnowFlakeUtil.getId() + ",";
|
|
@@ -1110,6 +1117,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
JSONObject json = new JSONObject();
|
|
JSONObject json = new JSONObject();
|
|
json.put("operationObjIds", Func.toStrList(pkids));
|
|
json.put("operationObjIds", Func.toStrList(pkids));
|
|
json.put("operationObjName", wbsTreeContractByP.getNodeName() + "节点数据操作");
|
|
json.put("operationObjName", wbsTreeContractByP.getNodeName() + "节点数据操作");
|
|
|
|
+ json.put("saveData",saveData.toString());
|
|
|
|
|
|
//保存操作记录
|
|
//保存操作记录
|
|
this.operationLogClient.saveUserOperationLog(1, "资料填报", "工序填报页面", json);
|
|
this.operationLogClient.saveUserOperationLog(1, "资料填报", "工序填报页面", json);
|