From f81300462deff06ab6c90b24ecb9f0ba5031a766 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 22 Jan 2021 11:23:52 +0800 Subject: [PATCH] modify --- zq-erp/src/main/resources/mybatis/mapper/hive/SysVipLabelDao.xml | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipLabelDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipLabelDao.xml index 26606d4..b71cf45 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipLabelDao.xml +++ b/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} -- Gitblit v1.9.1