Commit 88ec5ba1 by 墨竹

fix:tab_haoban_wx_application增加字段

parent a8b75126
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<mapper namespace="com.gic.haoban.manage.service.dao.mapper.WxApplicationMapper"> <mapper namespace="com.gic.haoban.manage.service.dao.mapper.WxApplicationMapper">
<resultMap id="BaseResultMap" type="com.gic.haoban.manage.service.entity.TabHaobanWxApplication"> <resultMap id="BaseResultMap" type="com.gic.haoban.manage.service.entity.TabHaobanWxApplication">
<id column="wx_application_id" property="wxApplicationId" jdbcType="VARCHAR"/> <id column="wx_application_id" property="wxApplicationId" jdbcType="VARCHAR"/>
<result column="corpid" property="corpid" jdbcType="VARCHAR"/>
<result column="site_id" property="siteId" jdbcType="VARCHAR"/> <result column="site_id" property="siteId" jdbcType="VARCHAR"/>
<result column="name" property="name" jdbcType="VARCHAR"/> <result column="name" property="name" jdbcType="VARCHAR"/>
<result column="permanent_code" property="permanentCode" jdbcType="VARCHAR"/> <result column="permanent_code" property="permanentCode" jdbcType="VARCHAR"/>
...@@ -16,7 +17,7 @@ ...@@ -16,7 +17,7 @@
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP"/> <result column="update_time" property="updateTime" jdbcType="TIMESTAMP"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
wx_application_id, site_id, name, permanent_code, agent_name, agent_id, application_type, wx_application_id,corpid, site_id, name, permanent_code, agent_name, agent_id, application_type,
wx_enterprise_id, status_flag, create_time, update_time,is_customized_app wx_enterprise_id, status_flag, create_time, update_time,is_customized_app
</sql> </sql>
...@@ -39,6 +40,9 @@ ...@@ -39,6 +40,9 @@
<if test="wxApplicationId != null"> <if test="wxApplicationId != null">
wx_application_id, wx_application_id,
</if> </if>
<if test="corpid != null">
corpid,
</if>
<if test="siteId != null"> <if test="siteId != null">
site_id, site_id,
</if> </if>
...@@ -77,6 +81,9 @@ ...@@ -77,6 +81,9 @@
<if test="wxApplicationId != null"> <if test="wxApplicationId != null">
#{wxApplicationId,jdbcType=VARCHAR}, #{wxApplicationId,jdbcType=VARCHAR},
</if> </if>
<if test="corpid != null">
#{corpid,jdbcType=VARCHAR},
</if>
<if test="siteId != null"> <if test="siteId != null">
#{siteId,jdbcType=VARCHAR}, #{siteId,jdbcType=VARCHAR},
</if> </if>
...@@ -116,6 +123,9 @@ ...@@ -116,6 +123,9 @@
parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxApplication"> parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxApplication">
update tab_haoban_wx_application update tab_haoban_wx_application
<set> <set>
<if test="corpid != null">
corpid = #{corpid,jdbcType=VARCHAR},
</if>
<if test="siteId != null"> <if test="siteId != null">
site_id = #{siteId,jdbcType=VARCHAR}, site_id = #{siteId,jdbcType=VARCHAR},
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment