Commit e3ec54a9 authored by fangxinjiang's avatar fangxinjiang

业务类型接口调整

parent 0c80461d
......@@ -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="合同之后";
}
......@@ -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())){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment