Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李苗
/
Vion-DevOps
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1845ba96
authored
Aug 28, 2024
by
HlQ
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[add] 项目列表查询添加签订日期范围查询
1 parent
376f6542
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
src/main/java/vion/dto/StoreDTO.java
src/main/java/vion/service/impl/StoreServiceImpl.java
src/main/java/vion/dto/StoreDTO.java
View file @
1845ba9
...
@@ -46,6 +46,10 @@ public class StoreDTO extends BaseDTO {
...
@@ -46,6 +46,10 @@ public class StoreDTO extends BaseDTO {
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
estDate
;
private
Date
estDate
;
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
estDateStart
;
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
estDateEnd
;
/** 主合同id */
/** 主合同id */
private
Long
masterContract
;
private
Long
masterContract
;
/** 维保状态 */
/** 维保状态 */
...
...
src/main/java/vion/service/impl/StoreServiceImpl.java
View file @
1845ba9
...
@@ -111,6 +111,7 @@ public class StoreServiceImpl extends MPJBaseServiceImpl<StoreMapper, Store> imp
...
@@ -111,6 +111,7 @@ public class StoreServiceImpl extends MPJBaseServiceImpl<StoreMapper, Store> imp
.
in
(
ObjUtil
.
isNotNull
(
data
.
getMainUser
()),
Store:
:
getId
,
storeIdListByMainUser
)
.
in
(
ObjUtil
.
isNotNull
(
data
.
getMainUser
()),
Store:
:
getId
,
storeIdListByMainUser
)
.
gt
(
ObjUtil
.
isNotNull
(
estDate
),
Store:
:
getEstDate
,
estDate
)
.
gt
(
ObjUtil
.
isNotNull
(
estDate
),
Store:
:
getEstDate
,
estDate
)
.
in
(
ArrayUtil
.
isNotEmpty
(
data
.
getIds
()),
Store:
:
getId
,
data
.
getIds
())
.
in
(
ArrayUtil
.
isNotEmpty
(
data
.
getIds
()),
Store:
:
getId
,
data
.
getIds
())
.
between
(
ArrayUtil
.
isAllNotNull
(
data
.
getEstDateStart
(),
data
.
getEstDateEnd
()),
Store:
:
getEstDate
,
data
.
getEstDateStart
(),
data
.
getEstDateEnd
())
.
page
(
page
);
.
page
(
page
);
// todo 缓存
// todo 缓存
List
<
Account
>
accountList
=
accountService
.
list
();
List
<
Account
>
accountList
=
accountService
.
list
();
...
...
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