且liveArea与acceptAdjustType是空
This commit is contained in:
@@ -62,12 +62,16 @@ public class PartnerUserInfoVO {
|
|||||||
private Integer lineStatus;
|
private Integer lineStatus;
|
||||||
|
|
||||||
public Boolean getNeedSubmitWantInfo() {
|
public Boolean getNeedSubmitWantInfo() {
|
||||||
|
//如果是私海 且liveArea与acceptAdjustType是空 说明通过会销进入 返回false
|
||||||
|
if (LineStatusEnum.PRIVATE_SEAS.getCode().equals(lineStatus)&&StringUtils.isBlank(liveArea)
|
||||||
|
&& Objects.isNull(acceptAdjustType)){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if((StringUtils.isBlank(username)
|
if((StringUtils.isBlank(username)
|
||||||
|| StringUtils.isBlank(mobile)
|
|| StringUtils.isBlank(mobile)
|
||||||
|| StringUtils.isBlank(liveArea)
|
|| StringUtils.isBlank(liveArea)
|
||||||
|| StringUtils.isBlank(wantShopArea)
|
|| StringUtils.isBlank(wantShopArea)
|
||||||
|| Objects.isNull(acceptAdjustType))|| (LineStatusEnum.PRIVATE_SEAS.getCode().equals(lineStatus)&&StringUtils.isBlank(liveArea)
|
|| Objects.isNull(acceptAdjustType))){
|
||||||
&& Objects.isNull(acceptAdjustType))){
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user