Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
e3ec54a9
Commit
e3ec54a9
authored
Aug 16, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业务类型接口调整
parent
0c80461d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
ArchivesConstants.java
...ud/plus/v1/yifu/archives/constants/ArchivesConstants.java
+6
-0
TSettleDomainServiceImpl.java
.../yifu/archives/service/impl/TSettleDomainServiceImpl.java
+3
-2
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/constants/ArchivesConstants.java
View file @
e3ec54a9
...
...
@@ -157,4 +157,10 @@ public class ArchivesConstants {
public
static
final
int
MYEAR_MONTH
=-
717
;
public
static
final
int
WYEAR_MONTH
=-
597
;
/**
* @Author fxj
* 合同之前
**/
public
static
final
String
CONTRACT_CREATE_TYPE
=
"合同之后"
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TSettleDomainServiceImpl.java
View file @
e3ec54a9
...
...
@@ -288,9 +288,10 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
/*if ( Common.isEmpty(domain.getCreateType())){
return "创建类型不可为空";
}*/
if
(
Common
.
isEmpty
(
domain
.
getBusinessPrimaryType
())
if
(
domain
.
getCreateType
().
equals
(
ArchivesConstants
.
CONTRACT_CREATE_TYPE
)
&&
(
Common
.
isEmpty
(
domain
.
getBusinessPrimaryType
())
||
Common
.
isEmpty
(
domain
.
getBusinessSecondType
())
||
Common
.
isEmpty
(
domain
.
getBusinessThirdType
())){
||
Common
.
isEmpty
(
domain
.
getBusinessThirdType
()))
)
{
return
ArchivesConstants
.
SETTLE_DOMAIN_BUSINESS_TYPE_NOT_EMPTY
;
}
if
(
Common
.
isEmpty
(
domain
.
getStopFlag
())){
...
...
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