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
b145c897
Commit
b145c897
authored
Feb 21, 2023
by
maqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
意向服务机构权限放开
parent
9b1cd79d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+10
-0
DisableService.java
...rc/main/java/com/hungraim/ltc/service/DisableService.java
+8
-0
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+6
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
b145c897
...
@@ -109,6 +109,16 @@ public class DisableController {
...
@@ -109,6 +109,16 @@ public class DisableController {
List
<
ChSrvOrgan
>
chFndSrvModes
=
disableService
.
srvOrganList
(
String
.
valueOf
(
organId
),
srvOrganId
,
false
);
List
<
ChSrvOrgan
>
chFndSrvModes
=
disableService
.
srvOrganList
(
String
.
valueOf
(
organId
),
srvOrganId
,
false
);
return
Result
.
success
(
chFndSrvModes
);
return
Result
.
success
(
chFndSrvModes
);
}
}
/**
* 查询机构意向服务机构
*
* @param
*/
@RequestMapping
(
"/srvOrganList2"
)
public
Result
<
List
<
ChSrvOrgan
>>
srvOrganList2
(
String
organId
)
{
List
<
ChSrvOrgan
>
chFndSrvModes
=
disableService
.
srvOrganList2
(
String
.
valueOf
(
organId
),
false
);
return
Result
.
success
(
chFndSrvModes
);
}
/**
/**
* 查询机构下或者包含子机构下的所有护理机构
* 查询机构下或者包含子机构下的所有护理机构
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/DisableService.java
View file @
b145c897
...
@@ -67,6 +67,14 @@ public interface DisableService {
...
@@ -67,6 +67,14 @@ public interface DisableService {
List
<
ChSrvOrgan
>
srvOrganList
(
String
organId
,
Long
srvOrganId
,
Boolean
isInvolveChild
);
List
<
ChSrvOrgan
>
srvOrganList
(
String
organId
,
Long
srvOrganId
,
Boolean
isInvolveChild
);
/**
/**
* 查询机构意向服务机构
*
* @param organId 机构id
* @param isInvolveChild 是否包含子机构
*/
List
<
ChSrvOrgan
>
srvOrganList2
(
String
organId
,
Boolean
isInvolveChild
);
/**
* 查询疾病类型
* 查询疾病类型
*
*
* @param parDiseTypeId 父疾病类型id
* @param parDiseTypeId 父疾病类型id
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
b145c897
...
@@ -344,6 +344,12 @@ public class DisableServiceImpl implements DisableService {
...
@@ -344,6 +344,12 @@ public class DisableServiceImpl implements DisableService {
}
}
@Override
@Override
public
List
<
ChSrvOrgan
>
srvOrganList2
(
String
organId
,
Boolean
isInvolveChild
)
{
List
<
Long
>
organIds
=
organService
.
getOrganIds
(
Long
.
valueOf
(
organId
),
isInvolveChild
);
return
srvOrganMapper
.
selectList
(
new
LambdaQueryWrapper
<
ChSrvOrgan
>().
eq
(
ChSrvOrgan:
:
getStatus
,
(
short
)
0
).
in
(
ChSrvOrgan:
:
getOrganId
,
organIds
));
}
@Override
public
List
<
ChFndDiseaseType
>
fndDiseaseList
(
String
parDiseTypeId
)
{
public
List
<
ChFndDiseaseType
>
fndDiseaseList
(
String
parDiseTypeId
)
{
QueryWrapper
<
ChFndDiseaseType
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
ChFndDiseaseType
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"IS_VALID"
,
"0"
);
queryWrapper
.
eq
(
"IS_VALID"
,
"0"
);
...
...
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