|
@@ -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>
|