Ver código fonte

置顶相关修改

zhouyy 6 meses atrás
pai
commit
492faf6afc

+ 4 - 0
fhKeeper/formulahousekeeper/management-crm/src/main/java/com/management/platform/entity/BusinessOpportunity.java

@@ -191,6 +191,10 @@ public class BusinessOpportunity extends Model<BusinessOpportunity> {
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
     private Date pinTime;
 
+    /**阶段颜色*/
+    @TableField(exist = false)
+    private String stageColor;
+
 
 //    @JsonDeserialize(using = BusinessItemProductListDeserializer.class)
     @TableField(exist = false)

+ 3 - 0
fhKeeper/formulahousekeeper/management-crm/src/main/resources/mapper/BusinessOpportunityMapper.xml

@@ -314,6 +314,7 @@
         select
         <include refid="Base_Column_List"></include>,
         (select `name` from  stage where id =  stage_id) stageValue,
+        (select `color` from  stage where id =  stage_id) stageColor,
         (select custom_name from custom where id = customer_id) customerName,
         (select `name` from contacts where id = contacts_id) contactsName,
         (select `name` from `user` where id = incharger_id) inchargerName,
@@ -352,6 +353,7 @@
         select
         <include refid="Base_Column_List"></include>,
         (select `name` from  stage where id =  stage_id) stageValue,
+        (select `color` from  stage where id =  stage_id) stageColor,
         (select custom_name from custom where id = customer_id) customerName,
         (select `name` from contacts where id = contacts_id) contactsName,
         (select `name` from `user` where id = incharger_id) inchargerName,
@@ -392,6 +394,7 @@
         select
         <include refid="Base_Column_List"></include>,
         (select `name` from  stage where id =  stage_id) stageValue,
+        (select `color` from  stage where id =  stage_id) stageColor,
         (select custom_name from custom where id = customer_id) customerName,
         (select `name` from contacts where id = contacts_id) contactsName,
         (select `name` from `user` where id = incharger_id) inchargerName,