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
38caf091
Commit
38caf091
authored
Feb 13, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
诊断疾病不能为空
parent
76cd32aa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
AccountServiceImpl.java
...hungraim/ltc/account/service/impl/AccountServiceImpl.java
+1
-1
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+11
-4
No files found.
account/account-service/src/main/java/com/hungraim/ltc/account/service/impl/AccountServiceImpl.java
View file @
38caf091
...
@@ -603,7 +603,7 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
...
@@ -603,7 +603,7 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
chDisabDetailAccounts
.
setAccountsOverallCost
(
zero
);
chDisabDetailAccounts
.
setAccountsOverallCost
(
zero
);
chDisabDetailAccounts
.
setModeName
(
accountsVO
.
getSrvModeName
());
chDisabDetailAccounts
.
setModeName
(
accountsVO
.
getSrvModeName
());
chDisabDetailAccounts
.
setCreationTime
(
new
Date
());
chDisabDetailAccounts
.
setCreationTime
(
new
Date
());
chDisabDetailAccounts
.
setAccountsTime
(
new
Date
(
));
chDisabDetailAccounts
.
setAccountsTime
(
DateUtils
.
strToDate
(
accountsVO
.
getSrvDate
()
));
chDisabDetailAccounts
.
setAccountsStartTime
(
DateUtils
.
strToTime
(
accountsVO
.
getSrvStartTime
()));
chDisabDetailAccounts
.
setAccountsStartTime
(
DateUtils
.
strToTime
(
accountsVO
.
getSrvStartTime
()));
chDisabDetailAccounts
.
setAccountsEndTime
(
DateUtils
.
strToTime
(
accountsVO
.
getSrvEndTime
()));
chDisabDetailAccounts
.
setAccountsEndTime
(
DateUtils
.
strToTime
(
accountsVO
.
getSrvEndTime
()));
chDisabDetailAccounts
.
setTaskDetailId
(
accountsVO
.
getTaskDetailId
());
chDisabDetailAccounts
.
setTaskDetailId
(
accountsVO
.
getTaskDetailId
());
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
38caf091
...
@@ -310,9 +310,12 @@ public class DisableController {
...
@@ -310,9 +310,12 @@ public class DisableController {
if
(
chDisableApply
.
getSrvModeId
()
==
null
)
{
if
(
chDisableApply
.
getSrvModeId
()
==
null
)
{
return
Result
.
failed
(
"申请服务方式不能为空!"
);
return
Result
.
failed
(
"申请服务方式不能为空!"
);
}
}
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getDiseaseDesc
())
)
{
if
(
chDisableApply
.
getDiseTypeF
()
==
null
)
{
return
Result
.
failed
(
"
疾病描述及诊断
不能为空!"
);
return
Result
.
failed
(
"
诊断疾病
不能为空!"
);
}
}
/* if (StringUtils.isBlank(chDisableApply.getDiseaseDesc())) {
return Result.failed("疾病描述及诊断不能为空!");
}*/
if
(
chDisableApply
.
getMedicalType
()
==
null
)
{
if
(
chDisableApply
.
getMedicalType
()
==
null
)
{
return
Result
.
failed
(
"医保类型不能为空!"
);
return
Result
.
failed
(
"医保类型不能为空!"
);
}
}
...
@@ -365,9 +368,13 @@ public class DisableController {
...
@@ -365,9 +368,13 @@ public class DisableController {
if
(
chDisableApply
.
getSrvModeId
()
==
null
)
{
if
(
chDisableApply
.
getSrvModeId
()
==
null
)
{
return
Result
.
failed
(
"申请服务方式不能为空!"
);
return
Result
.
failed
(
"申请服务方式不能为空!"
);
}
}
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getDiseaseDesc
())
)
{
if
(
chDisableApply
.
getDiseTypeF
()
==
null
)
{
return
Result
.
failed
(
"
疾病描述及诊断
不能为空!"
);
return
Result
.
failed
(
"
诊断疾病
不能为空!"
);
}
}
/* if (StringUtils.isBlank(chDisableApply.getDiseaseDesc())) {
return Result.failed("疾病描述及诊断不能为空!");
}*/
if
(
chDisableApply
.
getMedicalType
()
==
null
)
{
if
(
chDisableApply
.
getMedicalType
()
==
null
)
{
return
Result
.
failed
(
"医保类型不能为空!"
);
return
Result
.
failed
(
"医保类型不能为空!"
);
}
}
...
...
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