Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
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
hubin
long-tern-care-service
Commits
41f14fc8
Commit
41f14fc8
authored
Mar 23, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务执行时间
parent
39751919
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
8 deletions
+11
-8
SrvTaskController.java
...hungraim/ltc/governance/controller/SrvTaskController.java
+2
-2
SrvTaskMapper.java
...n/java/com/hungraim/ltc/governance/dao/SrvTaskMapper.java
+1
-1
SrvTaskService.java
...a/com/hungraim/ltc/governance/service/SrvTaskService.java
+1
-1
SrvTaskServiceImpl.java
...graim/ltc/governance/service/impl/SrvTaskServiceImpl.java
+2
-2
SrvTaskMapper.xml
...rces/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
+5
-2
No files found.
governance/src/main/java/com/hungraim/ltc/governance/controller/SrvTaskController.java
View file @
41f14fc8
...
...
@@ -80,10 +80,10 @@ public class SrvTaskController {
@RequestMapping
(
"/getSrvTaskDetailList"
)
public
Result
<
Page
<
SrvTaskDetailVO
>>
getSrvTaskDetailList
(
@RequestParam
(
defaultValue
=
"1"
)
Integer
pageNum
,
@RequestParam
(
defaultValue
=
"10"
)
Integer
pageSize
,
Integer
srvOrganId
,
String
disableName
,
String
disableTel
,
String
empName
,
String
certifNum
,
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
Date
startTime
,
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
Date
endTime
,
String
empName
,
String
certifNum
,
String
srvDate
,
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
Date
startTime
,
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
Date
endTime
,
String
status
,
String
modeId
)
{
Page
<
SrvTaskDetailVO
>
page
=
new
Page
<>(
pageNum
,
pageSize
);
page
=
srvTaskService
.
getSrvTaskDetailList
(
page
,
srvOrganId
,
disableName
,
disableTel
,
empName
,
certifNum
,
startTime
,
endTime
,
status
,
modeId
);
page
=
srvTaskService
.
getSrvTaskDetailList
(
page
,
srvOrganId
,
disableName
,
disableTel
,
empName
,
certifNum
,
s
rvDate
,
s
tartTime
,
endTime
,
status
,
modeId
);
return
Result
.
success
(
page
);
}
...
...
governance/src/main/java/com/hungraim/ltc/governance/dao/SrvTaskMapper.java
View file @
41f14fc8
...
...
@@ -17,7 +17,7 @@ public interface SrvTaskMapper extends BaseMapper<ChSrvTask> {
Page
<
SrvTaskVO
>
getSrvTaskList
(
Page
<
SrvTaskVO
>
page
,
@Param
(
"srvOrganId"
)
Long
srvOrganId
,
@Param
(
"disableName"
)
String
disableName
,
@Param
(
"disableTel"
)
String
disableTel
,
@Param
(
"taskStatus"
)
String
taskStatus
);
Page
<
SrvTaskDetailVO
>
getSrvTaskDetailList
(
Page
<
SrvTaskDetailVO
>
page
,
Integer
organId
,
String
disableName
,
String
disableTel
,
String
empName
,
String
certifNum
,
Date
startTime
,
Date
endTime
,
String
status
,
String
modeId
);
Page
<
SrvTaskDetailVO
>
getSrvTaskDetailList
(
Page
<
SrvTaskDetailVO
>
page
,
Integer
organId
,
String
disableName
,
String
disableTel
,
String
empName
,
String
certifNum
,
String
srvDate
,
Date
startTime
,
Date
endTime
,
String
status
,
String
modeId
);
List
<
SrvTaskInfoVO
>
getSrvTaskInfoList
(
String
programId
);
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/SrvTaskService.java
View file @
41f14fc8
...
...
@@ -25,7 +25,7 @@ public interface SrvTaskService {
Page
<
OrganEmpVO
>
getSrvOrganEmpList
(
Page
<
OrganEmpVO
>
page
,
String
organId
,
String
name
,
String
certiType
,
String
certifNum
);
Page
<
SrvTaskDetailVO
>
getSrvTaskDetailList
(
Page
<
SrvTaskDetailVO
>
page
,
Integer
organId
,
String
disableName
,
String
disableTel
,
String
empName
,
String
certifNum
,
Date
startTime
,
Date
endTime
,
String
status
,
String
modeId
);
Page
<
SrvTaskDetailVO
>
getSrvTaskDetailList
(
Page
<
SrvTaskDetailVO
>
page
,
Integer
organId
,
String
disableName
,
String
disableTel
,
String
empName
,
String
certifNum
,
String
srvDate
,
Date
startTime
,
Date
endTime
,
String
status
,
String
modeId
);
/**
* 新增或者修改服务计划
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvTaskServiceImpl.java
View file @
41f14fc8
...
...
@@ -73,8 +73,8 @@ public class SrvTaskServiceImpl implements SrvTaskService {
* @param modeId 服务方式
*/
@Override
public
Page
<
SrvTaskDetailVO
>
getSrvTaskDetailList
(
Page
<
SrvTaskDetailVO
>
page
,
Integer
organId
,
String
disableName
,
String
disableTel
,
String
empName
,
String
certifNum
,
Date
startTime
,
Date
endTime
,
String
status
,
String
modeId
)
{
return
srvTaskMapper
.
getSrvTaskDetailList
(
page
,
organId
,
disableName
,
disableTel
,
empName
,
certifNum
,
startTime
,
endTime
,
status
,
modeId
);
public
Page
<
SrvTaskDetailVO
>
getSrvTaskDetailList
(
Page
<
SrvTaskDetailVO
>
page
,
Integer
organId
,
String
disableName
,
String
disableTel
,
String
empName
,
String
certifNum
,
String
srvDate
,
Date
startTime
,
Date
endTime
,
String
status
,
String
modeId
)
{
return
srvTaskMapper
.
getSrvTaskDetailList
(
page
,
organId
,
disableName
,
disableTel
,
empName
,
certifNum
,
s
rvDate
,
s
tartTime
,
endTime
,
status
,
modeId
);
}
/**
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
View file @
41f14fc8
...
...
@@ -134,12 +134,15 @@
<if
test=
"certifNum != null and certifNum != ''"
>
and emp.certif_num = #{certifNum}
</if>
<if
test=
"startTime != null"
>
<if
test=
"srvDate != null and srvDate != ''"
>
and to_char(detail.SRV_DATE,'yyyy-MM-dd') = #{srvDate}
</if>
<!-- <if test="startTime != null">
and detail.SRV_DATE >= #{startTime}
</if>
<if test="endTime != null">
and detail.SRV_DATE <= #{endTime}
</if>
</if>
-->
<if
test=
"status != null and status != ''"
>
and detail.status = #{status}
</if>
...
...
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