zq-erp/src/main/resources/mybatis/mapper/hive/SysVipLabelDao.xml
@@ -10,16 +10,39 @@ create_by, id, vip_id, label label, shop_id, company_id, is_all, user_id, color ) values ( #{createTime}, #{createBy}, #{id}, #{vipId}, #{label} #{label}, #{shopId}, #{companyId}, #{isAll}, #{userId}, #{color} ) </insert> <update id="update"> update sys_vip_label <set> <if test="label != null and label !='' "> label = #{label}, </if> <if test="color != null and color !='' "> color = #{color}, </if> </set> WHERE ID=#{id} </update> <delete id="deleteById"> delete from sys_vip_label where id=#{id}