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
37c6d6f1
Commit
37c6d6f1
authored
Feb 02, 2023
by
董天德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务方案配置页面修改
parent
10abb843
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
SrvOrganController.java
.../java/com/hungraim/ltc/controller/SrvOrganController.java
+4
-3
OrganProjectVO.java
...a/com/hungraim/ltc/pojo/vo/governance/OrganProjectVO.java
+2
-0
ChSrvOrganProjectMapper.xml
...ungraim/ltc/governance/mapper/ChSrvOrganProjectMapper.xml
+4
-1
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/SrvOrganController.java
View file @
37c6d6f1
...
@@ -90,8 +90,8 @@ public class SrvOrganController {
...
@@ -90,8 +90,8 @@ public class SrvOrganController {
*/
*/
@PostMapping
(
"/srvOrgan"
)
@PostMapping
(
"/srvOrgan"
)
public
Result
saveSrvOrgan
(
SrvOrganVo
srvOrganVo
)
{
public
Result
saveSrvOrgan
(
SrvOrganVo
srvOrganVo
)
{
//null == srvOrganVo.getLevelCode() || null == srvOrganVo.getBunk() ||
//null == srvOrganVo.getLevelCode() || null == srvOrganVo.getBunk() ||
|| StrUtil.isBlank(srvOrganVo.getPermitId())
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
)
{
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
())
||
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
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
// 参数校验通过,调用service添加护理机构
// 参数校验通过,调用service添加护理机构
...
@@ -111,7 +111,8 @@ public class SrvOrganController {
...
@@ -111,7 +111,8 @@ public class SrvOrganController {
*/
*/
@PostMapping
(
"/updateSrvOrgan"
)
@PostMapping
(
"/updateSrvOrgan"
)
public
Result
updateSrvOrgan
(
SrvOrganVo
srvOrganVo
)
{
public
Result
updateSrvOrgan
(
SrvOrganVo
srvOrganVo
)
{
if
(
null
==
srvOrganVo
.
getSrvOrganId
()
||
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
)
{
//StrUtil.isBlank(srvOrganVo.getPermitId()) ||
if
(
null
==
srvOrganVo
.
getSrvOrganId
()
||
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
())
||
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
)
{
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
// 参数校验通过,调用service修改护理机构
// 参数校验通过,调用service修改护理机构
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/governance/OrganProjectVO.java
View file @
37c6d6f1
...
@@ -31,6 +31,8 @@ public class OrganProjectVO implements Serializable {
...
@@ -31,6 +31,8 @@ public class OrganProjectVO implements Serializable {
* 模板名称
* 模板名称
*/
*/
private
String
itemName
;
private
String
itemName
;
private
String
itemNameId
;
/**
/**
* 备注
* 备注
*/
*/
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/ChSrvOrganProjectMapper.xml
View file @
37c6d6f1
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<if
test=
"programId != null"
>
<if
test=
"programId != null"
>
LEFT JOIN CH_SRV_PROGRAM_SET ON ITEM_ID = PROJECT_ID AND PROGRAM_ID = #{programId}
LEFT JOIN CH_SRV_PROGRAM_SET ON ITEM_ID = PROJECT_ID AND PROGRAM_ID = #{programId}
</if>
</if>
WHERE STATUS = 0
WHERE
SRV_ORGAN_ID = #{srvOrganId} AND
STATUS = 0
</select>
</select>
<select
id=
"organProjectList"
resultType=
"com.hungraim.ltc.pojo.vo.governance.OrganProjectVO"
>
<select
id=
"organProjectList"
resultType=
"com.hungraim.ltc.pojo.vo.governance.OrganProjectVO"
>
...
@@ -78,6 +78,7 @@
...
@@ -78,6 +78,7 @@
org.ORGAN_ID organId,
org.ORGAN_ID organId,
--护理服务项目名称
--护理服务项目名称
--project.item_name itemName,
--project.item_name itemName,
d.service_type_detailed_id itemNameId,
d.service_type_detailed_name itemName,
d.service_type_detailed_name itemName,
--备注
--备注
project.remark remark,
project.remark remark,
...
@@ -107,5 +108,6 @@
...
@@ -107,5 +108,6 @@
and project.status = #{status}
and project.status = #{status}
</if>
</if>
</where>
</where>
order by project.project_id desc
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
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