Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RuoYi-Vue-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
RuoYi-Vue-master
Commits
ae5e83fe
Commit
ae5e83fe
authored
Dec 05, 2023
by
鲍德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加过期时间
parent
f6fb659d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/domain/CurrentRiskUserPatrol.java
...censoft/censoftrongtong/domain/CurrentRiskUserPatrol.java
+4
-0
censoft-rongtong/src/main/resources/mapper/system/CurrentRiskUserPatrolMapper.xml
...n/resources/mapper/system/CurrentRiskUserPatrolMapper.xml
+5
-1
No files found.
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/domain/CurrentRiskUserPatrol.java
View file @
ae5e83fe
...
...
@@ -50,6 +50,10 @@ public class CurrentRiskUserPatrol extends BaseEntityClean
@Excel
(
name
=
"结束巡查时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
endTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"过期时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
validityTime
;
/** 排序 */
@Excel
(
name
=
"排序"
)
private
Long
sortNum
;
...
...
censoft-rongtong/src/main/resources/mapper/system/CurrentRiskUserPatrolMapper.xml
View file @
ae5e83fe
...
...
@@ -22,10 +22,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"remark"
column=
"remark"
/>
<result
property=
"riskPostName"
column=
"risk_post_name"
/>
<result
property=
"nickName"
column=
"nick_name"
/>
<result
property=
"validityTime"
column=
"validity_time"
/>
</resultMap>
<sql
id=
"selectCurrentRiskUserPatrolVo"
>
select a.id, user_id, project_id, risk_post_id, patrol_type, status, start_time, end_time, sort_num,
select a.id, user_id, project_id, risk_post_id, patrol_type, status, start_time, end_time, sort_num,
a.validity_time,
del_flag, create_by, create_time, update_by, update_time, remark from current_risk_user_patrol a
</sql>
...
...
@@ -43,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.del_flag,
a.create_by,
a.create_time,
a.validity_time,
a.update_by,
a.update_time,
a.remark,
...
...
@@ -85,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateBy != null"
>
update_by,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"validityTime != null"
>
validity_time,
</if>
<if
test=
"remark != null"
>
remark,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
...
...
@@ -101,6 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"updateBy != null"
>
#{updateBy},
</if>
<if
test=
"updateTime != null"
>
#{updateTime},
</if>
<if
test=
"validityTime != null"
>
#{validityTime},
</if>
<if
test=
"remark != null"
>
#{remark},
</if>
</trim>
</insert>
...
...
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