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
497ea688
Commit
497ea688
authored
Feb 28, 2023
by
董天德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评定机构去掉必录项
parent
6c8cc6cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
AprOrganController.java
...ungraim/ltc/governance/controller/AprOrganController.java
+10
-11
No files found.
governance/src/main/java/com/hungraim/ltc/governance/controller/AprOrganController.java
View file @
497ea688
...
@@ -105,10 +105,9 @@ public class AprOrganController {
...
@@ -105,10 +105,9 @@ public class AprOrganController {
public
Result
addOrUpdateAprOrgan
(
AprOrganInfoVO
chAprOrgan
)
{
public
Result
addOrUpdateAprOrgan
(
AprOrganInfoVO
chAprOrgan
)
{
if
(
chAprOrgan
==
null
)
{
if
(
chAprOrgan
==
null
)
{
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
/*if (chAprOrgan.getFileDataList().size() < 3) {
if
(
chAprOrgan
.
getFileDataList
().
size
()
<
3
)
{
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
}
}
*/
if
(
chAprOrgan
.
getAprOrganId
()
==
null
)
{
if
(
chAprOrgan
.
getAprOrganId
()
==
null
)
{
//新增
//新增
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getOrganId
()))
{
//适用机构
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getOrganId
()))
{
//适用机构
...
@@ -120,9 +119,9 @@ public class AprOrganController {
...
@@ -120,9 +119,9 @@ public class AprOrganController {
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getOrganName
()))
{
//评定机构名称
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getOrganName
()))
{
//评定机构名称
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getUnifiedSocialCreditCode
()))
{
//统一社会信用代码
/*
if (StringUtils.isBlank(chAprOrgan.getUnifiedSocialCreditCode())) {//统一社会信用代码
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
}
}
*/
if
(
chAprOrgan
.
getOrganTypeId
()
==
null
)
{
//机构类型id
if
(
chAprOrgan
.
getOrganTypeId
()
==
null
)
{
//机构类型id
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
...
@@ -138,7 +137,7 @@ public class AprOrganController {
...
@@ -138,7 +137,7 @@ public class AprOrganController {
if
(
chAprOrgan
.
getGroupDetailName
()
==
null
)
{
//评定起点地址
if
(
chAprOrgan
.
getGroupDetailName
()
==
null
)
{
//评定起点地址
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getAccName
()))
{
//银行账户名称
/*
if (StringUtils.isBlank(chAprOrgan.getAccName())) {//银行账户名称
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
}
}
if (StringUtils.isBlank(chAprOrgan.getBankNo())) {//银行账号
if (StringUtils.isBlank(chAprOrgan.getBankNo())) {//银行账号
...
@@ -152,10 +151,10 @@ public class AprOrganController {
...
@@ -152,10 +151,10 @@ public class AprOrganController {
}
}
if (chAprOrgan.getCardType() == null) {//卡类型
if (chAprOrgan.getCardType() == null) {//卡类型
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
}
}
*/
}
else
{
}
else
{
//更新
//更新
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getAccName
()))
{
//银行账户名称
/*
if (StringUtils.isBlank(chAprOrgan.getAccName())) {//银行账户名称
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
}
}
if (StringUtils.isBlank(chAprOrgan.getBankNo())) {//银行账号
if (StringUtils.isBlank(chAprOrgan.getBankNo())) {//银行账号
...
@@ -169,13 +168,13 @@ public class AprOrganController {
...
@@ -169,13 +168,13 @@ public class AprOrganController {
}
}
if (chAprOrgan.getCardType() == null) {//卡类型
if (chAprOrgan.getCardType() == null) {//卡类型
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
}
}
*/
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getDistrictProvincial
())
||
StringUtils
.
isBlank
(
chAprOrgan
.
getDistrictArea
())
||
StringUtils
.
isBlank
(
chAprOrgan
.
getDistrictCity
()))
{
//所在省市区
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getDistrictProvincial
())
||
StringUtils
.
isBlank
(
chAprOrgan
.
getDistrictArea
())
||
StringUtils
.
isBlank
(
chAprOrgan
.
getDistrictCity
()))
{
//所在省市区
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
if
(
StringUtils
.
isBlank
(
chAprOrgan
.
getUnifiedSocialCreditCode
()))
{
//统一社会信用代码
/*
if (StringUtils.isBlank(chAprOrgan.getUnifiedSocialCreditCode())) {//统一社会信用代码
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
}
}
*/
if
(
chAprOrgan
.
getOrganTypeId
()
==
null
)
{
//机构类型id
if
(
chAprOrgan
.
getOrganTypeId
()
==
null
)
{
//机构类型id
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
...
...
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