getSubmitIntentionApplyFlag

This commit is contained in:
wxp01309236
2023-06-25 19:50:54 +08:00
parent 5606dd3e67
commit 6ba879d09c

View File

@@ -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);
}