From 339b59abc36c0aa07b99cb6de1b0553de2f48d7e Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 22 Dec 2020 18:53:44 +0800 Subject: [PATCH] modify --- zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml | 33 ++++++++++++++++++++++++++++++--- 1 files changed, 30 insertions(+), 3 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml index 538d594..ac7c6cf 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml @@ -35,6 +35,9 @@ <result property="disease" column="disease"/> <result property="zjm" column="zjm"/> <result property="companyId" column="company_id"/> + <result property="province" column="province"/> + <result property="city" column="city"/> + <result property="area" column="area"/> <result property="statu" column="statu"/> <result property="birthdayType" column="birthdayType"/> @@ -274,7 +277,11 @@ disease, is_deal, zjm, - company_id + company_id, + province, + city, + area, + recommend_id ) @@ -318,7 +325,11 @@ #{disease}, #{isDeal}, #{zjm}, - #{companyId} + #{companyId}, + #{province}, + #{city}, + #{area}, + #{recommendId} ) </insert> @@ -444,6 +455,18 @@ </if> <if test="isDeal != null "> is_deal = #{isDeal}, + </if> + <if test="recommendId != null "> + recommend_id = #{recommendId}, + </if> + <if test="province != null and province !='' "> + province = #{province}, + </if> + <if test="city != null and city !='' "> + city = #{city}, + </if> + <if test="area != null and area !='' "> + area = #{area}, </if> @@ -937,7 +960,11 @@ a.create_distribution_time, a.birthdayType, a.disease, - a.is_deal + a.is_deal, + a.province, + a.city, + a.area, + a.recommend_id </sql> <sql id="from"> from sys_vip_info a -- Gitblit v1.9.1