Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
43293d76
Commit
43293d76
authored
Jul 09, 2021
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1班次管理列表没过滤isDelete
parent
807654a0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
DutyShiftController.java
...oot/module/common/biz/controller/DutyShiftController.java
+2
-2
DutyCommonServiceImpl.java
...module/common/biz/service/impl/DutyCommonServiceImpl.java
+1
-1
DutyShiftServiceImpl.java
.../module/common/biz/service/impl/DutyShiftServiceImpl.java
+4
-4
ExcelController.java
.../amos/boot/module/jcs/biz/controller/ExcelController.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/DutyShiftController.java
View file @
43293d76
...
...
@@ -108,7 +108,7 @@ public class DutyShiftController extends BaseController {
Page
<
DutyShiftDto
>
page
=
new
Page
<>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
dutyShiftServiceImpl
.
queryForDutyShiftPage
(
page
,
appKey
));
return
ResponseHelper
.
buildResponse
(
dutyShiftServiceImpl
.
queryForDutyShiftPage
(
page
,
appKey
,
false
));
}
/**
...
...
@@ -121,6 +121,6 @@ public class DutyShiftController extends BaseController {
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
DutyShiftDto
>>
selectForList
(
HttpServletRequest
request
)
{
String
appKey
=
request
.
getHeader
(
"appKey"
);
return
ResponseHelper
.
buildResponse
(
dutyShiftServiceImpl
.
queryForDutyShiftList
(
appKey
));
return
ResponseHelper
.
buildResponse
(
dutyShiftServiceImpl
.
queryForDutyShiftList
(
appKey
,
false
));
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/DutyCommonServiceImpl.java
View file @
43293d76
...
...
@@ -89,7 +89,7 @@ public class DutyCommonServiceImpl implements IDutyCommonService {
.
le
(
endDate
!=
null
,
DutyPersonShift:
:
getDutyDate
,
endDate
)).
stream
().
map
(
e
->
{
DutyPersonShiftDto
dto
=
new
DutyPersonShiftDto
();
Bean
.
copyExistPropertis
(
e
,
dto
);
dto
.
setShiftName
(
keyNameMap
.
get
(
e
.
getS
equenceNbr
()));
dto
.
setShiftName
(
keyNameMap
.
get
(
e
.
getS
hiftId
()));
return
dto
;
}).
collect
(
Collectors
.
toList
());
m
.
put
(
"dutyShift"
,
personShiftList
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/DutyShiftServiceImpl.java
View file @
43293d76
...
...
@@ -21,14 +21,14 @@ public class DutyShiftServiceImpl extends BaseService<DutyShiftDto, DutyShift, D
/**
* 分页查询
*/
public
Page
<
DutyShiftDto
>
queryForDutyShiftPage
(
Page
<
DutyShiftDto
>
page
,
String
appKey
)
{
return
this
.
queryForPage
(
page
,
null
,
false
,
appKey
);
public
Page
<
DutyShiftDto
>
queryForDutyShiftPage
(
Page
<
DutyShiftDto
>
page
,
String
appKey
,
Boolean
isDelete
)
{
return
this
.
queryForPage
(
page
,
null
,
false
,
appKey
,
isDelete
);
}
/**
* 列表查询 示例
*/
public
List
<
DutyShiftDto
>
queryForDutyShiftList
(
String
appKey
)
{
return
this
.
queryForList
(
""
,
false
,
appKey
);
public
List
<
DutyShiftDto
>
queryForDutyShiftList
(
String
appKey
,
Boolean
isDelete
)
{
return
this
.
queryForList
(
""
,
false
,
appKey
,
isDelete
);
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/ExcelController.java
View file @
43293d76
...
...
@@ -527,7 +527,7 @@ public class ExcelController extends BaseController {
private
String
[]
getDutyNameList
()
{
List
<
String
>
dutyShiftList
=
new
ArrayList
<>();
List
<
DutyShiftDto
>
dutyShiftDtoList
=
dutyShiftService
.
queryForDutyShiftList
(
null
);
List
<
DutyShiftDto
>
dutyShiftDtoList
=
dutyShiftService
.
queryForDutyShiftList
(
null
,
false
);
dutyShiftDtoList
.
forEach
(
item
->
dutyShiftList
.
add
(
item
.
getName
()
+
"@"
+
item
.
getSequenceNbr
()));
String
[]
dutyNameList
=
dutyShiftList
.
toArray
(
new
String
[
dutyShiftList
.
size
()]);
return
dutyNameList
;
...
...
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