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
5fb63f9a
Commit
5fb63f9a
authored
Jan 13, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
2cd130e9
e3d6a562
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
9 deletions
+18
-9
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+9
-5
SrvOrganController.java
.../java/com/hungraim/ltc/controller/SrvOrganController.java
+2
-1
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+1
-0
AprOrganController.java
...ungraim/ltc/governance/controller/AprOrganController.java
+6
-3
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
5fb63f9a
...
...
@@ -344,16 +344,20 @@ public class DisableController {
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getTel
()))
{
return
Result
.
failed
(
"手机号不能为空!"
);
}
// if (chDisableApply.getRegist() == null) {
// return Result.failed("所在户籍不能为空!");
// }
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getAcptProvincial
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAcptCity
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAcptArea
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAcptAddress
()))
{
/*if (chDisableApply.getRegist() == null) {
return Result.failed("所在户籍不能为空!");
}*/
//StringUtils.isBlank(chDisableApply.getAcptStreet()) ||
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getAcptProvincial
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAcptCity
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAcptArea
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAcptAddress
()))
{
return
Result
.
failed
(
"接受评定地址不能为空!"
);
}
//|| StringUtils.isBlank(chDisableApply.getAcptSrvStreet())
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getAcptSrvProvincial
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAcptSrvCity
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAcptSrvArea
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAcptSrvAddress
()))
{
return
Result
.
failed
(
"接受服务地址不能为空!"
);
}
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getAdressDistrictProvincial
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAdressDistrictCity
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAdressDistrictCode
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAdressDetail
()))
{
//|| StringUtils.isBlank(chDisableApply.getStreet())
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getAdressDistrictProvincial
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAdressDistrictCity
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAdressDistrictCode
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getAdressDetail
()))
{
return
Result
.
failed
(
"现住址不能为空!"
);
}
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/controller/SrvOrganController.java
View file @
5fb63f9a
...
...
@@ -90,7 +90,8 @@ public class SrvOrganController {
*/
@PostMapping
(
"/srvOrgan"
)
public
Result
saveSrvOrgan
(
SrvOrganVo
srvOrganVo
)
{
if
(
StrUtil
.
isBlank
(
srvOrganVo
.
getOrganId
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getDistrictProvincial
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getDistrictCity
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getDistrictArea
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptProvincial
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptCity
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptArea
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptStreet
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptStreet
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankDistrictProvincial
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankDistrictCity
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getSrvOrganName
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getPermitId
())
||
null
==
srvOrganVo
.
getOrganTypeId
()
||
null
==
srvOrganVo
.
getLevelCode
()
||
StrUtil
.
isBlank
(
srvOrganVo
.
getLinkName
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getLinkTel
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getSrvType
())
||
null
==
srvOrganVo
.
getBunk
()
||
StrUtil
.
isBlank
(
srvOrganVo
.
getUnifiedSocialCreditCode
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getSrvType
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAccName
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankAccCode
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankAccName
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankNo
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankDistrictWebsite
())
||
null
==
srvOrganVo
.
getCardType
()
||
null
==
srvOrganVo
.
getFileDataList
()
||
srvOrganVo
.
getFileDataList
().
size
()
<
3
)
{
//null == srvOrganVo.getLevelCode() || null == srvOrganVo.getBunk() ||
if
(
StrUtil
.
isBlank
(
srvOrganVo
.
getOrganId
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getDistrictProvincial
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getDistrictCity
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getDistrictArea
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptProvincial
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptCity
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptArea
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptStreet
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAcptStreet
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankDistrictProvincial
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankDistrictCity
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getSrvOrganName
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getPermitId
())
||
null
==
srvOrganVo
.
getOrganTypeId
()
||
StrUtil
.
isBlank
(
srvOrganVo
.
getLinkName
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getLinkTel
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getSrvType
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getUnifiedSocialCreditCode
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getSrvType
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getAccName
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankAccCode
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankAccName
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankNo
())
||
StrUtil
.
isBlank
(
srvOrganVo
.
getBankDistrictWebsite
())
||
null
==
srvOrganVo
.
getCardType
()
||
null
==
srvOrganVo
.
getFileDataList
()
||
srvOrganVo
.
getFileDataList
().
size
()
<
3
)
{
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
// 参数校验通过,调用service添加护理机构
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
5fb63f9a
...
...
@@ -236,6 +236,7 @@
LEFT JOIN ch_apr_organ organ ON emp.apr_organ_id = organ.apr_organ_id
LEFT JOIN ch_srv_organ srvOrgan ON organ.organ_id = srvOrgan.srv_organ_id
<where>
and organ.STATUS = 0
<if
test=
"provincial != null and provincial != ''"
>
and (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE) = #{provincial}
</if>
...
...
governance/src/main/java/com/hungraim/ltc/governance/controller/AprOrganController.java
View file @
5fb63f9a
...
...
@@ -63,7 +63,8 @@ public class AprOrganController {
if
(
null
==
organId
)
{
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
List
<
ChAprOrgan
>
list
=
aprOrganService
.
list
(
new
LambdaQueryWrapper
<
ChAprOrgan
>().
eq
(
ChAprOrgan:
:
getOrganId
,
organId
));
String
status
=
"0"
;
//有效
List
<
ChAprOrgan
>
list
=
aprOrganService
.
list
(
new
LambdaQueryWrapper
<
ChAprOrgan
>().
eq
(
ChAprOrgan:
:
getOrganId
,
organId
).
eq
(
ChAprOrgan:
:
getStatus
,
status
));
return
Result
.
success
(
list
);
}
...
...
@@ -279,10 +280,12 @@ public class AprOrganController {
if
(
StringUtils
.
isBlank
(
chAprEmp
.
getTel
()))
{
//评定人员手机号码
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
if
(
null
==
chAprEmp
.
getAprempTypeIdF
()
||
null
==
chAprEmp
.
getAprempTypeIdS
())
{
//评定人员资质id
//null == chAprEmp.getAprempTypeIdF() ||
if
(
null
==
chAprEmp
.
getAprempTypeIdS
())
{
//评定人员资质id
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
if
(
StringUtils
.
isBlank
(
chAprEmp
.
getAprempTypeNameF
())
||
StringUtils
.
isBlank
(
chAprEmp
.
getAprempTypeNameS
()))
{
//评定人员资质
//StringUtils.isBlank(chAprEmp.getAprempTypeNameF()) ||
if
(
StringUtils
.
isBlank
(
chAprEmp
.
getAprempTypeNameS
()))
{
//评定人员资质
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
if
(
chAprEmp
.
getEmpType
()
==
null
)
{
//评定人员类型
...
...
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