Commit cb8f77b7 by 徐高华

删除corpid

parent 7a2e471d
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
wx_enterprise_id, corpid, permanent_code, corp_name, corp_type, corp_square_logo_url, wx_enterprise_id, permanent_code, corp_name, corp_type, corp_square_logo_url,
corp_user_max, corp_full_name, subject_type, verified_end_time, corp_wxqrcode, corp_scale, corp_user_max, corp_full_name, subject_type, verified_end_time, corp_wxqrcode, corp_scale,
corp_industry, corp_sub_industry, location, auth_info, agent, agentid, appid, name, corp_industry, corp_sub_industry, location, auth_info, agent, agentid, appid, name,
square_logo_url, round_logo_url, level, bind_flag, status_flag, create_time, update_time,contact_flag,wx_secret_key,wx_secret_key_last_time,member_secret_last_time,contact_secret_last_time square_logo_url, round_logo_url, level, bind_flag, status_flag, create_time, update_time,contact_flag,wx_secret_key,wx_secret_key_last_time,member_secret_last_time,contact_secret_last_time
...@@ -468,7 +468,7 @@ ...@@ -468,7 +468,7 @@
select select
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
from tab_haoban_wx_enterprise from tab_haoban_wx_enterprise
where corpid= #{corpId} or wx_corpid = #{corpId} or open_corpid = #{corpid} where wx_corpid = #{corpId} or open_corpid = #{corpid}
<if test="statusFlag != null"> <if test="statusFlag != null">
and status_flag = #{statusFlag} and status_flag = #{statusFlag}
</if> </if>
...@@ -494,9 +494,6 @@ ...@@ -494,9 +494,6 @@
<update id="updateUseridFlagById"> <update id="updateUseridFlagById">
update tab_haoban_wx_enterprise update tab_haoban_wx_enterprise
set userid_flag = #{useridFlag}, set userid_flag = #{useridFlag},
<if test="corpid != null">
corpid = #{corpid},
</if>
update_time = now() update_time = now()
where wx_enterprise_id = #{wxEnterpriseId} where wx_enterprise_id = #{wxEnterpriseId}
</update> </update>
...@@ -504,7 +501,6 @@ ...@@ -504,7 +501,6 @@
<select id="listAllEnterprise" resultType="com.gic.haoban.manage.api.dto.WxEnterpriseDTO" > <select id="listAllEnterprise" resultType="com.gic.haoban.manage.api.dto.WxEnterpriseDTO" >
select select
b.wx_enterprise_id wxEnterpriseId, b.wx_enterprise_id wxEnterpriseId,
b.corpid corpid,
b.corp_name corpName, b.corp_name corpName,
a.enterprise_id enterpriseId a.enterprise_id enterpriseId
from tab_haoban_wx_enterprise_related a from tab_haoban_wx_enterprise_related a
......
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