Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
3bba28b5
Commit
3bba28b5
authored
Dec 13, 2021
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor:删除无效代码
parent
a65ca9b3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
44 deletions
+1
-44
WxEnterpriseMapper.java
.../haoban/manage/service/dao/mapper/WxEnterpriseMapper.java
+0
-11
WxEnterpriseMapper.xml
...-service/src/main/resources/mapper/WxEnterpriseMapper.xml
+1
-33
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/WxEnterpriseMapper.java
View file @
3bba28b5
...
...
@@ -37,14 +37,4 @@ public interface WxEnterpriseMapper {
*/
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
haoban-manage3-service/src/main/resources/mapper/WxEnterpriseMapper.xml
View file @
3bba28b5
...
...
@@ -38,8 +38,6 @@
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"agree_external_userid_flag"
property=
"agreeExternalUseridFlag"
jdbcType=
"INTEGER"
/>
<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>
<sql
id=
"Base_Column_List"
>
...
...
@@ -47,7 +45,7 @@
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,
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>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
...
...
@@ -160,12 +158,6 @@
<if
test=
"agreeExternalUseridTime != null"
>
agree_external_userid_time,
</if>
<if
test=
"isCustomizedApp != null"
>
is_customized_app,
</if>
<if
test=
"openCorpid != null"
>
open_corpid,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"wxEnterpriseId != null"
>
...
...
@@ -264,12 +256,6 @@
<if
test=
"agreeExternalUseridTime != null"
>
#{agreeExternalUseridTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"isCustomizedApp != null"
>
#{isCustomizedApp,jdbcType=INTEGER},
</if>
<if
test=
"openCorpid != null"
>
#{openCorpid,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanWxEnterprise"
>
...
...
@@ -380,12 +366,6 @@
<if
test=
"agreeExternalUseridTime != null"
>
agree_external_userid_time = #{agreeExternalUseridTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"isCustomizedApp != null"
>
is_customized_app = #{isCustomizedApp,jdbcType=INTEGER},
</if>
<if
test=
"openCorpid != null"
>
open_corpid = #{openCorpid,jdbcType=VARCHAR},
</if>
</set>
where wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR}
</update>
...
...
@@ -469,15 +449,4 @@
limit 1
</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>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment