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
cca7e3f7
Commit
cca7e3f7
authored
Aug 17, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打卡管理机构权限控制
parent
63bca032
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
BuildBedController.java
...ungraim/ltc/governance/controller/BuildBedController.java
+5
-1
BuildBedMapper.xml
...ces/com/hungraim/ltc/governance/mapper/BuildBedMapper.xml
+4
-0
No files found.
governance/src/main/java/com/hungraim/ltc/governance/controller/BuildBedController.java
View file @
cca7e3f7
...
@@ -367,8 +367,12 @@ public class BuildBedController {
...
@@ -367,8 +367,12 @@ public class BuildBedController {
* @return
* @return
*/
*/
@GetMapping
(
"/chSrvTaskDetailQuery"
)
@GetMapping
(
"/chSrvTaskDetailQuery"
)
public
Result
chSrvTaskDetailQuery
(
ChSrvTaskDetailVo
vo
)
throws
ParseException
{
public
Result
chSrvTaskDetailQuery
(
@RequestHeader
(
"Authorization"
)
String
token
,
ChSrvTaskDetailVo
vo
)
throws
ParseException
{
Page
<
ChSrvTaskDetailVo
>
page
=
new
Page
<>(
vo
.
getPageNum
(),
vo
.
getPageSize
());
Page
<
ChSrvTaskDetailVo
>
page
=
new
Page
<>(
vo
.
getPageNum
(),
vo
.
getPageSize
());
Integer
srvOrganId
=
TokenParsingUtil
.
TokenParsing
(
token
,
"srvOrganId"
);
if
(
srvOrganId
!=
null
)
{
vo
.
setSrvOrganId
(
String
.
valueOf
(
srvOrganId
));
}
page
=
buildBedService
.
chSrvTaskDetailQuery
(
page
,
vo
);
page
=
buildBedService
.
chSrvTaskDetailQuery
(
page
,
vo
);
if
(
page
.
getSize
()>
0
){
if
(
page
.
getSize
()>
0
){
return
Result
.
success
(
page
);
return
Result
.
success
(
page
);
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/BuildBedMapper.xml
View file @
cca7e3f7
...
@@ -46,6 +46,10 @@
...
@@ -46,6 +46,10 @@
<if
test=
"vo.srvOrganName != null and vo.srvOrganName != ''"
>
<if
test=
"vo.srvOrganName != null and vo.srvOrganName != ''"
>
AND organ.SRV_ORGAN_NAME LIKE '%' || #{vo.srvOrganName} || '%'
AND organ.SRV_ORGAN_NAME LIKE '%' || #{vo.srvOrganName} || '%'
</if>
</if>
<if
test=
"vo.srvOrganId != null and vo.srvOrganId != '' and vo.srvOrganId!=0"
>
and organ.SRV_ORGAN_ID = #{vo.srvOrganId}
</if>
<if
test=
"vo.modeName != null and vo.modeName != ''"
>
<if
test=
"vo.modeName != null and vo.modeName != ''"
>
AND mode1.MODE_NAME = #{vo.modeName}
AND mode1.MODE_NAME = #{vo.modeName}
</if>
</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