getSubmitIntentionApplyFlag
This commit is contained in:
@@ -61,7 +61,10 @@ public class PartnerController {
|
||||
public ResponseResult<Boolean> getSubmitIntentionApplyFlag(){
|
||||
PartnerUserInfoVO userInfoVO = PartnerUserHolder.getUser();
|
||||
PartnerBaseInfoVO partnerBaseInfoVO = hyPartnerBaseInfoService.queryPartnerBaseInfo(userInfoVO.getPartnerId(), userInfoVO.getPartnerLineId());
|
||||
Boolean submitFlag = partnerBaseInfoVO.getStatus() > Integer.valueOf(WorkflowStatusEnum.INTENT_0.getCode());
|
||||
Boolean submitFlag = false;
|
||||
if(partnerBaseInfoVO.getStatus() != null){
|
||||
submitFlag = partnerBaseInfoVO.getStatus() > Integer.valueOf(WorkflowStatusEnum.INTENT_0.getCode());
|
||||
}
|
||||
return ResponseResult.success(submitFlag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user