dcs há 1 dia atrás
pai
commit
5ecef3a046

+ 13 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/workark/model/ProductLevel.java

@@ -12,6 +12,11 @@ public class ProductLevel {
 
     private String remark;
 
+    /**
+     * 客服
+     */
+    private String customer;
+
     /**
      * 标识
      */
@@ -62,6 +67,14 @@ public class ProductLevel {
         this.remark = remark;
     }
 
+    public String getCustomer() {
+        return customer;
+    }
+
+    public void setCustomer(String customer) {
+        this.customer = customer;
+    }
+
     public String getSign() {
         return sign;
     }

+ 3 - 1
virgo.api/src/main/resources/mapper/ProductLevelMapper.xml

@@ -9,6 +9,7 @@
         <result column="name" property="name"/>
         <result column="parentId" property="parentId"/>
         <result column="remark" property="remark"/>
+        <result column="customer" property="customer"/>
         <result column="sign" property="sign"/>
         <result column="showPictures" property="showPictures"/>
         <result column="iconName" property="iconName"/>
@@ -51,7 +52,7 @@
     </select>
 
     <insert id="save" parameterType="com.bosshand.virgo.api.workark.model.ProductLevel" useGeneratedKeys="true" keyProperty="id">
-        INSERT into workark_product_level(name, parentId, remark, sign, showPictures, iconName, iconColor) values(#{name}, #{parentId}, #{remark}, #{sign}, #{showPictures}, #{iconName}, #{iconColor})
+        INSERT into workark_product_level(name, parentId, remark, customer, sign, showPictures, iconName, iconColor) values(#{name}, #{parentId}, #{remark}, #{customer}, #{sign}, #{showPictures}, #{iconName}, #{iconColor})
     </insert>
 
     <update id="update" parameterType="com.bosshand.virgo.api.workark.model.ProductLevel">
@@ -59,6 +60,7 @@
         <trim prefix="set" suffixOverrides=",">
             <if test="name!=null">name=#{name},</if>
             <if test="remark!=null">remark=#{remark},</if>
+            <if test="customer!=null">customer=#{customer},</if>
             <if test="sign!=null">sign=#{sign},</if>
             <if test="showPictures!=null">showPictures=#{showPictures},</if>
             <if test="iconName!=null">iconName=#{iconName},</if>