Browse Source

经销商关联,saf事业部更名

njs 3 years ago
parent
commit
5f9281b48e

+ 2 - 2
suishenbang-common/src/main/java/com/dgtly/common/utils/UserIdentityUtil.java

@@ -22,9 +22,9 @@ public class UserIdentityUtil {
     /*新零售中心*/
     /*新零售中心*/
     public final static String UI_XLS = "5";
     public final static String UI_XLS = "5";
     public final static String UI_XLS_NAME = "新零售中心";
     public final static String UI_XLS_NAME = "新零售中心";
-    /*SAF事业部*/
+    /*DIY-SAF项目部*/
     public final static String UI_SAF = "6";
     public final static String UI_SAF = "6";
-    public final static String UI_SAF_NAME = "SAF事业部";
+    public final static String UI_SAF_NAME = "DIY-SAF项目部";
     /*品保中心*/
     /*品保中心*/
     public final static String UI_ClueReporting = "7";
     public final static String UI_ClueReporting = "7";
     public final static String UI_ClueReporting_NAME = "品保中心";
     public final static String UI_ClueReporting_NAME = "品保中心";

+ 5 - 5
suishenbang-system/src/main/resources/mapper/system/AssRelcustomerinfoMapper.xml

@@ -114,11 +114,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </insert>
     </insert>
 
 
     <insert id="relationCustomerOnlineSync">
     <insert id="relationCustomerOnlineSync">
-        INSERT INTO customers_start (customers_code, customers_name, online_time)
+        INSERT INTO customers_start (customers_code, customers_name, online_time,customer_type)
 
 
-            SELECT t.mainkunnr,t.mainname1,t1.online_time FROM (
+            SELECT t.mainkunnr,t.mainname1,t1.online_time,t1.customer_type FROM (
 
 
-                SELECT s.mainkunnr,s.mainname1,s.kunnr from (
+                SELECT s.mainkunnr,s.mainname1,s.kunnr,s.customer_type from (
                     SELECT
                     SELECT
                                 ar.*
                                 ar.*
                         FROM
                         FROM
@@ -133,8 +133,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
 
                 union all
                 union all
 
 
-            SELECT t.kunnr,t.name1,t1.online_time FROM (
-                SELECT s.kunnr,s.name1,s.mainkunnr from (
+            SELECT t.kunnr,t.name1,t1.online_time,t1.customer_type FROM (
+                SELECT s.kunnr,s.name1,s.mainkunnr,s.customer_type from (
                 SELECT
                 SELECT
                     ar.*
                     ar.*
                 FROM
                 FROM