分销员
This commit is contained in:
parent
b7dedca17e
commit
e366b0dddf
|
@ -41,13 +41,13 @@ public class AppJjrController {
|
|||
JjrApply entity = applyService.findByUserId(userId);
|
||||
if(entity!=null){
|
||||
if(entity.getStatus().equals(0)){
|
||||
return Result.success("申请审批中");
|
||||
return Result.error("申请审批中");
|
||||
}
|
||||
if(entity.getStatus().equals(1)){
|
||||
return Result.success("申请审批通过,请重新登录");
|
||||
return Result.error("申请审批通过,请重新登录");
|
||||
}
|
||||
if(entity.getStatus().equals(2)){
|
||||
return Result.success("申请审批被驳回,驳回原因如下:"+entity.getOpinion());
|
||||
return Result.error("申请审批被驳回,驳回原因如下:"+entity.getOpinion());
|
||||
}
|
||||
}
|
||||
JjrApply jjrApply = new JjrApply();
|
||||
|
|
Loading…
Reference in New Issue