Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
entrance_api
Project
Project
Details
Activity
Releases
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
王琮
entrance_api
Commits
99451bd1
Commit
99451bd1
authored
Dec 06, 2022
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 bug
parent
a7d940ff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
DoorRecord.java
src/main/java/org/rcisoft/sys/sysuser/entity/DoorRecord.java
+1
-1
DoorRecordServiceImpl.java
...isoft/sys/sysuser/service/impl/DoorRecordServiceImpl.java
+1
-1
DoorRecordMapper.xml
src/main/resources/mapper/DoorRecordMapper.xml
+2
-2
No files found.
src/main/java/org/rcisoft/sys/sysuser/entity/DoorRecord.java
View file @
99451bd1
...
...
@@ -25,7 +25,7 @@ import org.springframework.data.annotation.Transient;
public
class
DoorRecord
extends
CyIdEntity
<
DoorRecord
>
{
@Excel
(
name
=
"
同
行人员姓名"
,
orderNum
=
"1"
,
width
=
20
)
@Excel
(
name
=
"
通
行人员姓名"
,
orderNum
=
"1"
,
width
=
20
)
//通行人员姓名
private
String
name
;
...
...
src/main/java/org/rcisoft/sys/sysuser/service/impl/DoorRecordServiceImpl.java
View file @
99451bd1
...
...
@@ -221,7 +221,7 @@ public class DoorRecordServiceImpl extends ServiceImpl<DoorRecordRepository, Doo
if
(
deviceType
.
equals
(
"1"
))
{
doorRecordList
.
get
(
i
).
setDeviceType
(
"进入"
);
}
else
if
(
deviceType
.
equals
(
"2"
))
{
doorRecordList
.
get
(
i
).
setDeviceType
(
"
出入
"
);
doorRecordList
.
get
(
i
).
setDeviceType
(
"
离开
"
);
}
}
//获取登记结果
...
...
src/main/resources/mapper/DoorRecordMapper.xml
View file @
99451bd1
...
...
@@ -34,7 +34,7 @@
SELECT
dr.record_id,su.name,dr.tenement_type,dr.create_date,dr.device_type,dr.device_name,dr.card_type,dr.record_type,dr.card_type_label,dr.abnormal
FROM door_record_2022 dr
left JOIN sys_user su ON dr.
person_id = su.person
_id
left JOIN sys_user su ON dr.
user_id = su.business
_id
WHERE dr.del_flag = 0
<if
test=
"entity.deviceType !=null and entity.deviceType != '' "
>
and dr.device_type = #{entity.deviceType}
...
...
@@ -136,7 +136,7 @@
dr.card_type_label,
dr.abnormal
FROM door_record_2022 dr
left JOIN sys_user su ON dr.
person_id = su.person
_id
left JOIN sys_user su ON dr.
user_id = su.business
_id
WHERE dr.del_flag = 0
and record_id = #{recordId}
</select>
...
...
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