Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
ae4e9791
Commit
ae4e9791
authored
Oct 24, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://111.61.77.35:15/gengdidi/zhengyuan-danger-chemistry-manage
parents
be9894f1
7d06e16f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
TNfcSettingServiceImpl.java
...om/zehong/system/service/impl/TNfcSettingServiceImpl.java
+1
-1
TNfcSettingMapper.xml
...em/src/main/resources/mapper/system/TNfcSettingMapper.xml
+2
-2
No files found.
danger-manage-system/src/main/java/com/zehong/system/service/impl/TNfcSettingServiceImpl.java
View file @
ae4e9791
...
...
@@ -86,7 +86,7 @@ public class TNfcSettingServiceImpl implements ITNfcSettingService
return
a
;
}
TNfcSetting
ts
=
tNfcSettingMapper
.
getInfoByNfcNum
(
tNfcSetting
.
getNfcNum
());
if
(
ts
.
getNfcId
()!=
tNfcSetting
.
getNfcId
()){
if
(
ts
!=
null
&&
ts
.
getNfcId
()!=
tNfcSetting
.
getNfcId
()){
ts
.
setNfcNum
(
""
);
tNfcSettingMapper
.
updateTNfcSetting
(
ts
);
}
...
...
danger-manage-system/src/main/resources/mapper/system/TNfcSettingMapper.xml
View file @
ae4e9791
...
...
@@ -26,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
a.is_del='0' and b.dict_type='t_nfc_region'
<if
test=
"region != null and region != ''"
>
and region = #{region}
</if>
<if
test=
"patrolAddress != null and patrolAddress != ''"
>
and patrol_address
= #{patrolAddress}
</if>
<if
test=
"patrolAddress != null and patrolAddress != ''"
>
and patrol_address
like concat('%',#{patrolAddress},'%')
</if>
<if
test=
"nfcNum != null and nfcNum != ''"
>
and nfc_num = #{nfcNum}
</if>
<if
test=
"applyWorkStartTime!=null and applyWorkStartTime!=''"
>
and a.create_time
>
= #{applyWorkStartTime}
...
...
@@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join sys_dict_data d on b.region=d.dict_value
<where>
b.is_del='0' and d.dict_type='t_nfc_region'
<if
test=
"patrolAddress != null and patrol
Name
!= ''"
>
<if
test=
"patrolAddress != null and patrol
Address
!= ''"
>
and b.patrol_address like concat('%', #{patrolAddress}, '%')
</if>
<if
test=
"region != null and region != ''"
>
...
...
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