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

修改BUG

上级 1002e4e3
......@@ -23,15 +23,16 @@ public class OwnerCaseOutParam {
private Long ownerUserNo;
@ApiModelProperty(value = "提现金额(元)", example = "1.23")
@MoneyInConvert
private BigDecimal caseOutBalance;
@ApiModelProperty(value = "账户类型: 1:保证金 2:预付运费", example = "1")
private Integer accountType;
@ApiModelProperty(value = "提现银行", example = "浙江银行")
private String caseOutBank;
private String ownerOpenBank;
@ApiModelProperty(value = "提现银行卡号", example = "62213545878787")
private String caseOutBankNumber;
private String ownerBankAccount;
}
\ No newline at end of file
......@@ -23,6 +23,7 @@ public class OwnerTopUpParam {
private Long ownerUserNo;
@ApiModelProperty(value = "充值金额(元)", example = "1.23")
@MoneyInConvert
private BigDecimal topUpBalance;
@ApiModelProperty(value = "账户类型: 1:保证金 2:预付运费", example = "1")
......
......@@ -104,9 +104,9 @@ public class OwnerAccountController {
@ApiOperation(value = "货主付款确认", notes = "<br>By:胡宇帆")
@GetMapping("/accountBalanceConfirm")
public void accountBalanceConfirm(@RequestParam @NotNull(message = "编号不能为空") Integer id) {
public Result<Object> accountBalanceConfirm(@RequestParam @NotNull(message = "编号不能为空") Integer id) {
ownerAccountService.accountBalanceConfirm(id);
return Result.ok();
}
@ApiOperation(value = "货主账户流水列表", notes = "<br>By:胡宇帆")
......
......@@ -163,8 +163,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
entity.setCaseOutBalance(caseOutBalance);
entity.setOwnerUserNo(param.getOwnerUserNo());
entity.setStatus(OwnerAccountEnum.CaseOutStatus.PENDING_PAYMENT.getCode());
entity.setCaseOutBank(param.getCaseOutBank());
entity.setCaseOutBankNumber(param.getCaseOutBankNumber());
entity.setCaseOutBank(param.getOwnerOpenBank());
entity.setCaseOutBankNumber(param.getOwnerBankAccount());
ownerCaseOutDao.saveEntity(entity);
//插入冻结流水
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论