From ba7ec450a7538f69f31fbc09a978a6d476d2a939 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期六, 01 三月 2025 00:16:27 +0800
Subject: [PATCH] bug修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/ComplaintFlowServiceImpl.java |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/ComplaintFlowServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/ComplaintFlowServiceImpl.java
index 97ba0fb..ac3e4b7 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/ComplaintFlowServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/impl/ComplaintFlowServiceImpl.java
@@ -37,14 +37,13 @@
     private final UserService userService;
 
     @Override
-    public void createFlow(Long complaintId , Long superiorId, Integer reportType, Integer type, Long userId) {
-
-
-        String name = getFlowName(reportType, superiorId);
+    public void createFlow(ComplaintAuditRecord record, Integer type,Long userId) {
+        //获取流程部门名称
+        String name = getFlowName(record.getReportType(), record.getSuperiorId());
 
         ComplaintFlow complaintFlow = new ComplaintFlow();
-        complaintFlow.setComplaintId(complaintId);
-        complaintFlow.setLevel(reportType);
+        complaintFlow.setComplaintId(record.getComplaintId());
+        complaintFlow.setLevel(record.getReportType());
         complaintFlow.setName(name);
         complaintFlow.setCreateTime(new Date(System.currentTimeMillis()));
         complaintFlow.setType(type);

--
Gitblit v1.7.1