提交 a84745a0 authored 作者: huyufan's avatar huyufan

修改bug

上级 06c34577
...@@ -28,5 +28,8 @@ public class PlatformAccountTopUpParam{ ...@@ -28,5 +28,8 @@ public class PlatformAccountTopUpParam{
@ApiModelProperty(value="审批拒绝原因") @ApiModelProperty(value="审批拒绝原因")
private String turnDownContent; private String turnDownContent;
@ApiModelProperty(value="是否通过 true:通过 false:拒绝",example = "true")
private Boolean passType;
} }
...@@ -138,7 +138,7 @@ public class OwnerAccountServiceImpl implements OwnerAccountService { ...@@ -138,7 +138,7 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
} }
OwnerTopUp ownerTopUp = optional.get(); OwnerTopUp ownerTopUp = optional.get();
OwnerTopUp entity = new OwnerTopUp(); OwnerTopUp entity = new OwnerTopUp();
if (StringUtils.isNotBlank(param.getTurnDownContent())) { if (!param.getPassType()) {
entity.setId(param.getId()); entity.setId(param.getId());
entity.setApprovalTurnDown(param.getTurnDownContent()); entity.setApprovalTurnDown(param.getTurnDownContent());
entity.setStatus(OwnerAccountEnum.TopUpStatus.APPROVAL_REJECTION.getCode()); entity.setStatus(OwnerAccountEnum.TopUpStatus.APPROVAL_REJECTION.getCode());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论