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
d1c8429d
Commit
d1c8429d
authored
Feb 16, 2023
by
“xuhd”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题96、疾病诊断新增维护
parent
284a83e7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
+20
-5
ChFndDiseaseTypeListVO.java
...java/com/hungraim/ltc/pojo/vo/ChFndDiseaseTypeListVO.java
+11
-0
NursingServiceItemsController.java
.../governance/controller/NursingServiceItemsController.java
+8
-4
NursingServiceItemsServiceImpl.java
...vernance/service/impl/NursingServiceItemsServiceImpl.java
+1
-1
No files found.
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/ChFndDiseaseTypeListVO.java
0 → 100644
View file @
d1c8429d
package
com
.
hungraim
.
ltc
.
pojo
.
vo
;
import
com.hungraim.ltc.pojo.entity.disable.ChFndDiseaseType
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
ChFndDiseaseTypeListVO
{
private
List
<
ChFndDiseaseType
>
chFndDiseaseTypes
;
}
governance/src/main/java/com/hungraim/ltc/governance/controller/NursingServiceItemsController.java
View file @
d1c8429d
package
com
.
hungraim
.
ltc
.
governance
.
controller
;
package
com
.
hungraim
.
ltc
.
governance
.
controller
;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.governance.dao.FndDiseaseTypeMapper
;
import
com.hungraim.ltc.governance.service.NursingServiceItemsService
;
import
com.hungraim.ltc.governance.service.NursingServiceItemsService
;
import
com.hungraim.ltc.pojo.entity.disable.ChCfgSrvDisableLevel
;
import
com.hungraim.ltc.pojo.entity.disable.ChCfgSrvDisableLevel
;
import
com.hungraim.ltc.pojo.entity.disable.ChFndDiseaseType
;
import
com.hungraim.ltc.pojo.entity.disable.ChFndDiseaseType
;
import
com.hungraim.ltc.pojo.entity.disable.ChServiceType
;
import
com.hungraim.ltc.pojo.entity.disable.ChServiceType
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvOrganProject
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvOrganProject
;
import
com.hungraim.ltc.pojo.vo.ChFndDiseaseTypeListVO
;
import
com.hungraim.ltc.pojo.vo.disable.ChServiceTypeVo
;
import
com.hungraim.ltc.pojo.vo.disable.ChServiceTypeVo
;
import
com.hungraim.ltc.pojo.vo.disable.SrvModeVo
;
import
com.hungraim.ltc.pojo.vo.disable.SrvModeVo
;
import
com.hungraim.ltc.pojo.vo.governance.OrganProjectVO
;
import
com.hungraim.ltc.pojo.vo.governance.OrganProjectVO
;
...
@@ -189,13 +192,14 @@ public class NursingServiceItemsController {
...
@@ -189,13 +192,14 @@ public class NursingServiceItemsController {
* @param chFndDiseaseTypes 疾病修改的信息
* @param chFndDiseaseTypes 疾病修改的信息
* @return 返回执行结果
* @return 返回执行结果
*/
*/
@
Reque
stMapping
(
"/saveDisease"
)
@
Po
stMapping
(
"/saveDisease"
)
public
Result
saveDisease
(
@RequestBody
List
<
ChFndDiseaseType
>
chFndDiseaseTypes
)
{
public
Result
saveDisease
(
ChFndDiseaseTypeListVO
chFndDiseaseTypes
)
{
log
.
info
(
"saveDisease"
);
log
.
info
(
"saveDisease"
);
if
(
chFndDiseaseTypes
==
null
||
chFndDiseaseTypes
.
size
()
<=
0
)
{
log
.
info
(
JSONObject
.
toJSONString
(
chFndDiseaseTypes
.
getChFndDiseaseTypes
()));
if
(
chFndDiseaseTypes
.
getChFndDiseaseTypes
()
==
null
||
chFndDiseaseTypes
.
getChFndDiseaseTypes
().
size
()
<=
0
)
{
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
nursingServiceItemsService
.
saveDisease
(
chFndDiseaseTypes
);
nursingServiceItemsService
.
saveDisease
(
chFndDiseaseTypes
.
getChFndDiseaseTypes
()
);
return
Result
.
success
();
return
Result
.
success
();
}
}
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/impl/NursingServiceItemsServiceImpl.java
View file @
d1c8429d
...
@@ -138,7 +138,7 @@ public class NursingServiceItemsServiceImpl implements NursingServiceItemsServic
...
@@ -138,7 +138,7 @@ public class NursingServiceItemsServiceImpl implements NursingServiceItemsServic
@Override
@Override
public
List
<
ChFndDiseaseType
>
fndAllDisease
()
{
public
List
<
ChFndDiseaseType
>
fndAllDisease
()
{
QueryWrapper
<
ChFndDiseaseType
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
ChFndDiseaseType
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"IS_VALID"
,
"0"
);
//
queryWrapper.eq("IS_VALID", "0");
return
fndDiseaseTypeMapper
.
selectList
(
queryWrapper
);
return
fndDiseaseTypeMapper
.
selectList
(
queryWrapper
);
}
}
...
...
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