Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
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
base_platform_enterprise
gic-store
Commits
2a561951
Commit
2a561951
authored
Nov 11, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通过电话号码查询商户
parent
77fdfa07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
TabAuthStoreLogMapper.xml
...rvice/src/main/resources/mapper/TabAuthStoreLogMapper.xml
+9
-8
No files found.
gic-store-service/src/main/resources/mapper/TabAuthStoreLogMapper.xml
View file @
2a561951
...
...
@@ -10,7 +10,7 @@
<result
column=
"status"
jdbcType=
"INTEGER"
property=
"status"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id, store_info_id, from_enterprise_id, to_enterprise_id,
key
, status
id, store_info_id, from_enterprise_id, to_enterprise_id,
'key'
, status
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
select
...
...
@@ -27,7 +27,7 @@
SELECT LAST_INSERT_ID()
</selectKey>
insert into tab_auth_store_log (id, store_info_id, from_enterprise_id,
to_enterprise_id,
key
, status
to_enterprise_id,
'key'
, status
)
values (#{id,jdbcType=INTEGER}, #{storeInfoId,jdbcType=INTEGER}, #{fromEnterpriseId,jdbcType=INTEGER},
#{toEnterpriseId,jdbcType=INTEGER}, #{key,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}
...
...
@@ -52,7 +52,7 @@
to_enterprise_id,
</if>
<if
test=
"key != null"
>
key
,
'key'
,
</if>
<if
test=
"status != null"
>
status,
...
...
@@ -92,7 +92,7 @@
to_enterprise_id = #{toEnterpriseId,jdbcType=INTEGER},
</if>
<if
test=
"key != null"
>
key
= #{key,jdbcType=VARCHAR},
'key'
= #{key,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
status = #{status,jdbcType=INTEGER},
...
...
@@ -105,7 +105,7 @@
set store_info_id = #{storeInfoId,jdbcType=INTEGER},
from_enterprise_id = #{fromEnterpriseId,jdbcType=INTEGER},
to_enterprise_id = #{toEnterpriseId,jdbcType=INTEGER},
key
= #{key,jdbcType=VARCHAR},
'key'
= #{key,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
...
...
@@ -113,7 +113,7 @@
select
<include
refid=
"Base_Column_List"
/>
from tab_auth_store_log
where
key
= #{key}
where
'key'
= #{key}
<if
test=
"status != null"
>
and status = #{status}
</if>
...
...
@@ -122,12 +122,12 @@
select
<include
refid=
"Base_Column_List"
/>
from tab_auth_store_log
where
key
= #{key} and (status =0 or status = 2)
where
'key'
= #{key} and (status =0 or status = 2)
</select>
<select
id=
"listLog"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_auth_store_log
where
key
= #{key} and to_enterprise_id=#{toEnterpriseId} and store_info_id=#{storeInfoId}
where
'key'
= #{key} and to_enterprise_id=#{toEnterpriseId} and store_info_id=#{storeInfoId}
</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