Commit 3bba28b5 by 墨竹

refactor:删除无效代码

parent a65ca9b3
...@@ -37,14 +37,4 @@ public interface WxEnterpriseMapper { ...@@ -37,14 +37,4 @@ public interface WxEnterpriseMapper {
*/ */
TabHaobanWxEnterprise getEnterpriseBycorpId(@Param("corpId") String corpId, @Param("statusFlag") Integer statusFlag); TabHaobanWxEnterprise getEnterpriseBycorpId(@Param("corpId") String corpId, @Param("statusFlag") Integer statusFlag);
/**
* 根据openCorpid查询数据
*
* @param openCorpid
* @param statusFlag 状态标志
* @return {@link TabHaobanWxEnterprise }
* @author mozhu
* @date 2021-12-03 16:04:29
*/
TabHaobanWxEnterprise getEnterpriseByOpenCorpId(@Param("openCorpid") String openCorpid, @Param("statusFlag") Integer statusFlag);
} }
\ No newline at end of file
...@@ -38,8 +38,6 @@ ...@@ -38,8 +38,6 @@
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP"/> <result column="update_time" property="updateTime" jdbcType="TIMESTAMP"/>
<result column="agree_external_userid_flag" property="agreeExternalUseridFlag" jdbcType="INTEGER"/> <result column="agree_external_userid_flag" property="agreeExternalUseridFlag" jdbcType="INTEGER"/>
<result column="agree_external_userid_time" property="agreeExternalUseridTime" jdbcType="TIMESTAMP"/> <result column="agree_external_userid_time" property="agreeExternalUseridTime" jdbcType="TIMESTAMP"/>
<result column="is_customized_app" property="isCustomizedApp" jdbcType="INTEGER"/>
<result column="open_corpid" property="openCorpid" jdbcType="VARCHAR"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
...@@ -47,7 +45,7 @@ ...@@ -47,7 +45,7 @@
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
,member_secret,contact_secret,agree_external_userid_flag,agree_external_userid_time,is_customized_app,open_corpid ,member_secret,contact_secret,agree_external_userid_flag,agree_external_userid_time
</sql> </sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String"> <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String">
select select
...@@ -160,12 +158,6 @@ ...@@ -160,12 +158,6 @@
<if test="agreeExternalUseridTime != null"> <if test="agreeExternalUseridTime != null">
agree_external_userid_time, agree_external_userid_time,
</if> </if>
<if test="isCustomizedApp != null">
is_customized_app,
</if>
<if test="openCorpid != null">
open_corpid,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="wxEnterpriseId != null"> <if test="wxEnterpriseId != null">
...@@ -264,12 +256,6 @@ ...@@ -264,12 +256,6 @@
<if test="agreeExternalUseridTime != null"> <if test="agreeExternalUseridTime != null">
#{agreeExternalUseridTime,jdbcType=TIMESTAMP}, #{agreeExternalUseridTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="isCustomizedApp != null">
#{isCustomizedApp,jdbcType=INTEGER},
</if>
<if test="openCorpid != null">
#{openCorpid,jdbcType=VARCHAR},
</if>
</trim> </trim>
</insert> </insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise"> <update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise">
...@@ -380,12 +366,6 @@ ...@@ -380,12 +366,6 @@
<if test="agreeExternalUseridTime != null"> <if test="agreeExternalUseridTime != null">
agree_external_userid_time = #{agreeExternalUseridTime,jdbcType=TIMESTAMP}, agree_external_userid_time = #{agreeExternalUseridTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="isCustomizedApp != null">
is_customized_app = #{isCustomizedApp,jdbcType=INTEGER},
</if>
<if test="openCorpid != null">
open_corpid = #{openCorpid,jdbcType=VARCHAR},
</if>
</set> </set>
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR} where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</update> </update>
...@@ -469,15 +449,4 @@ ...@@ -469,15 +449,4 @@
limit 1 limit 1
</select> </select>
<select id="getEnterpriseByOpenCorpId" resultMap="BaseResultMap" parameterType="java.lang.String">
select
<include refid="Base_Column_List"/>
from tab_haoban_wx_enterprise
where open_corpid= #{openCorpid}
<if test="statusFlag != null">
and status_flag = #{statusFlag}
</if>
limit 1
</select>
</mapper> </mapper>
\ No newline at end of file
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