|
@@ -1189,9 +1189,11 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("operationObjIds", Func.toStrList(task.getFormDataId()));
|
|
|
json.put("operationObjName", title);
|
|
|
+ json.put("projectId", projectId);
|
|
|
+ json.put("contractId", contractId);
|
|
|
|
|
|
//保存操作记录
|
|
|
- this.operationLogClient.saveUserOperationLog(6, "资料管理", "工序资料", json);
|
|
|
+ this.operationLogClient.saveUserOperationLog(6, "资料填报", "工序资料", json);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -1343,6 +1345,8 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("operationObjIds", Func.toStrList(startTaskVO.getIds()));
|
|
|
json.put("operationObjName", title);
|
|
|
+ json.put("projectId", startTaskVO.getProjectId());
|
|
|
+ json.put("contractId", startTaskVO.getContractId());
|
|
|
|
|
|
this.operationLogClient.saveUserOperationLog(5, "资料管理", "工序资料", json);
|
|
|
} catch (Exception e) {
|
|
@@ -2621,6 +2625,8 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("operationObjIds", Func.toStrList(pKeyId.toString()));
|
|
|
json.put("operationObjName", StringUtils.isNotEmpty(queries.getFullName()) ? queries.getFullName() : queries.getNodeName());
|
|
|
+ json.put("projectId", queries.getProjectId());
|
|
|
+ json.put("contractId", queries.getContractId());
|
|
|
|
|
|
this.operationLogClient.saveUserOperationLog(3, "资料管理", "工序资料", json);
|
|
|
} catch (Exception e) {
|
|
@@ -2758,6 +2764,8 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("operationObjIds", idArray);
|
|
|
json.put("operationObjName", pathName.substring(1));
|
|
|
+ json.put("projectId", removeNode.getProjectId());
|
|
|
+ json.put("contractId", removeNode.getContractId());
|
|
|
this.operationLogClient.saveUserOperationLog(4, "资料管理", "工序资料", json);
|
|
|
|
|
|
//保存进回收站
|
|
@@ -3194,6 +3202,8 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("operationObjIds", JSONArray.parseArray(JSONObject.toJSONString(saveList.stream().map(WbsTreeContract::getPKeyId).distinct().collect(Collectors.toList())), String.class));
|
|
|
json.put("operationObjName", pathName.substring(1));
|
|
|
+ json.put("projectId", currentNode.getProjectId());
|
|
|
+ json.put("contractId", currentNode.getContractId());
|
|
|
//保存操作记录
|
|
|
this.operationLogClient.saveUserOperationLog(operationType, "资料管理", "工序资料", json);
|
|
|
|
|
@@ -3240,6 +3250,8 @@ public class InformationWriteQueryController extends BladeController {
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("operationObjIds", JSONArray.parseArray(JSONObject.toJSONString(saveList.stream().map(WbsTreeContract::getPKeyId).distinct().collect(Collectors.toList())), String.class));
|
|
|
json.put("operationObjName", pathName.substring(1));
|
|
|
+ json.put("projectId", currentNode.getProjectId());
|
|
|
+ json.put("contractId", currentNode.getContractId());
|
|
|
//保存操作记录
|
|
|
this.operationLogClient.saveUserOperationLog(operationType, "资料管理", "工序资料", json);
|
|
|
|