Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
f5ef6b06
Commit
f5ef6b06
authored
Jun 08, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成员列表新增查询许可账号已过期、即将过期、正常有效的员工
parent
a175510d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
StaffMapper.xml
...manage3-service/src/main/resources/mapper/StaffMapper.xml
+4
-1
StaffListQO.java
...c/main/java/com/gic/haoban/manage/web/qo/StaffListQO.java
+1
-1
No files found.
haoban-manage3-service/src/main/resources/mapper/StaffMapper.xml
View file @
f5ef6b06
...
@@ -329,7 +329,7 @@
...
@@ -329,7 +329,7 @@
<if
test=
"occupy != null and 2==occupy"
>
<if
test=
"occupy != null and 2==occupy"
>
and ( a.expire_time is null or a.expire_time
<![CDATA[<]]>
now() )
and ( a.expire_time is null or a.expire_time
<![CDATA[<]]>
now() )
</if>
</if>
<!-- 许可状态 0 未激活,1 正常有效,2 即将过期,3 已过期,
可多传,按‘,’隔开
-->
<!-- 许可状态 0 未激活,1 正常有效,2 即将过期,3 已过期,
4 查询可以续期的成员(即状态是1、2、3的成员)
-->
<if
test=
"null != permitState and '' != permitState"
>
<if
test=
"null != permitState and '' != permitState"
>
<if
test=
"permitState==0"
>
<if
test=
"permitState==0"
>
and a.expire_time is null
and a.expire_time is null
...
@@ -345,6 +345,9 @@
...
@@ -345,6 +345,9 @@
<if
test=
"permitState==3"
>
<if
test=
"permitState==3"
>
and a.expire_time
<![CDATA[<]]>
now()
and a.expire_time
<![CDATA[<]]>
now()
</if>
</if>
<if
test=
"permitState==4"
>
and a.expire_time is not null
</if>
</if>
</if>
<if
test=
"departmentIds != null and departmentIds.size() > 0"
>
<if
test=
"departmentIds != null and departmentIds.size() > 0"
>
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/qo/StaffListQO.java
View file @
f5ef6b06
...
@@ -27,7 +27,7 @@ public class StaffListQO implements Serializable {
...
@@ -27,7 +27,7 @@ public class StaffListQO implements Serializable {
*/
*/
private
String
keyWord
;
private
String
keyWord
;
/**
/**
* 许可状态 0 未激活,1 正常有效,2 即将过期,3 已过期,
可多传,按‘,’隔开
* 许可状态 0 未激活,1 正常有效,2 即将过期,3 已过期,
4 查询可以续期的成员(即状态是1、2、3的成员)
*/
*/
private
String
permitState
;
private
String
permitState
;
/**
/**
...
...
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