Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fbcf7f19
authored
Mar 17, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加假性离线消费的测试用例
1 parent
407c60f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
src/main/resources/mapper/FakeOfflineFenceSnMapper.xml
src/main/resources/mapper/FakeOfflineFenceSnMapper.xml
View file @
fbcf7f1
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
<result
column=
"merchant_type"
property=
"merchantType"
jdbcType=
"TINYINT"
/>
<result
column=
"merchant_type"
property=
"merchantType"
jdbcType=
"TINYINT"
/>
<result
column=
"entry_time"
property=
"entryTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"entry_time"
property=
"entryTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"out_time"
property=
"outTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"out_time"
property=
"outTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"trigger_time"
property=
"triggerTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"addr"
property=
"addr"
jdbcType=
"VARCHAR"
/>
<result
column=
"unique_flag"
property=
"uniqueFlag"
jdbcType=
"VARCHAR"
/>
<result
column=
"unique_flag"
property=
"uniqueFlag"
jdbcType=
"VARCHAR"
/>
<result
column=
"del_flag"
property=
"delFlag"
jdbcType=
"TINYINT"
/>
<result
column=
"del_flag"
property=
"delFlag"
jdbcType=
"TINYINT"
/>
<result
column=
"created_date"
property=
"createdDate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"created_date"
property=
"createdDate"
jdbcType=
"TIMESTAMP"
/>
...
@@ -22,17 +24,19 @@
...
@@ -22,17 +24,19 @@
<result
column=
"merchant_type"
property=
"merchantType"
jdbcType=
"TINYINT"
/>
<result
column=
"merchant_type"
property=
"merchantType"
jdbcType=
"TINYINT"
/>
<result
column=
"entry_time"
property=
"entryTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"entry_time"
property=
"entryTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"out_time"
property=
"outTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"out_time"
property=
"outTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"trigger_time"
property=
"triggerTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"addr"
property=
"addr"
jdbcType=
"VARCHAR"
/>
<result
column=
"unique_flag"
property=
"uniqueFlag"
jdbcType=
"VARCHAR"
/>
<result
column=
"unique_flag"
property=
"uniqueFlag"
jdbcType=
"VARCHAR"
/>
</resultMap>
</resultMap>
<sql
id=
"BaseColumns"
>
<sql
id=
"BaseColumns"
>
id, sn, status, merchant_type, entry_time, out_time, unique_flag, del_flag, created_date,
id, sn, status, merchant_type, entry_time, out_time,
trigger_time, addr,
unique_flag, del_flag, created_date,
created_by, updated_date, updated_by
created_by, updated_date, updated_by
</sql>
</sql>
<select
id=
"getFakeOfficeDataByUniqueFlag"
resultMap=
"BaseDtoMap"
>
<select
id=
"getFakeOfficeDataByUniqueFlag"
resultMap=
"BaseDtoMap"
>
select
select
sn, status, merchant_type, entry_time, out_time, unique_flag
sn, status, merchant_type, entry_time, out_time,
trigger_time, addr,
unique_flag
from t_fake_offline_fence_sn
from t_fake_offline_fence_sn
where unique_flag = #{uniqueFlag}
where unique_flag = #{uniqueFlag}
</select>
</select>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment