From 654d5f98390d775ae1f104f0bf8b580b5eae30a8 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 27 十一月 2023 13:30:34 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/crm/manager/entity/PriOnline2.java            |    4 ++--
 src/main/java/com/zy/crm/manager/controller/PlanUrlController.java |    9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/crm/manager/controller/PlanUrlController.java b/src/main/java/com/zy/crm/manager/controller/PlanUrlController.java
index 73fd66c..4ab2772 100644
--- a/src/main/java/com/zy/crm/manager/controller/PlanUrlController.java
+++ b/src/main/java/com/zy/crm/manager/controller/PlanUrlController.java
@@ -85,6 +85,9 @@
             }else {
                 status=2;
             }
+            if (plan.getAssistantHostSign()==1){
+                planType.setType(1);
+            }
             String url = "http://zhongyang-ftpserver.oss-cn-hangzhou.aliyuncs.com/" + filename;
             PlanUrl planUrl = new PlanUrl(id, url, filename, filesize,user.getNickname(),user.getId(),1,planType.getType(),status);
             planUrlService.insert(planUrl);
@@ -151,6 +154,9 @@
             }else {
                 status=2;
             }
+            if (plan.getAssistantHostSign()==1){
+                planType.setType(1);
+            }
             String url = "http://zhongyang-ftpserver.oss-cn-hangzhou.aliyuncs.com/" + filename;
             PlanUrl planUrl = new PlanUrl(id, url, filename, filesize,user.getNickname(),user.getId(),2,planType.getType(),status);
             planUrlService.insert(planUrl);
@@ -201,6 +207,9 @@
             }else {
                 status=2;
             }
+            if (plan.getAssistantHostSign()==1){
+                planType.setType(1);
+            }
             String url = "http://zhongyang-ftpserver.oss-cn-hangzhou.aliyuncs.com/" + filename;
             PlanUrl planUrl = new PlanUrl(id, url, filename, filesize,user.getNickname(),user.getId(),3,planType.getType(),status);
             planUrlService.insert(planUrl);
diff --git a/src/main/java/com/zy/crm/manager/entity/PriOnline2.java b/src/main/java/com/zy/crm/manager/entity/PriOnline2.java
index 4c9f42d..1b5095c 100644
--- a/src/main/java/com/zy/crm/manager/entity/PriOnline2.java
+++ b/src/main/java/com/zy/crm/manager/entity/PriOnline2.java
@@ -185,9 +185,9 @@
     private Long hostPriId;
 
     /**
-     * 鑺傜偣璐熻矗浜�
+     * 涓诲壇鏍囪
      */
-    @ApiModelProperty(value = "涓籶lanId")
+    @ApiModelProperty(value = "涓诲壇鏍囪")
     @TableField("assistant_host_sign")
     private Integer assistantHostSign;
 

--
Gitblit v1.9.1