|
|
@ -108,6 +108,9 @@ public class FinBillApplicationRest implements FinBillApplicationFeign { |
|
|
|
public ResultBean save(@RequestBody FinBillApplicationDto dto) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
ResultBean<DownloanVoUrl> resultBean = finBillApplicationService.saveOrUpdateDto(dto); |
|
|
|
if(!resultBean.getSuccess()){ |
|
|
|
return rb.setMsg(resultBean.getMsg()); |
|
|
|
} |
|
|
|
DownloanVoUrl downloanVoUrl = resultBean.getData(); |
|
|
|
return rb.success().setData(downloanVoUrl.getSid()); |
|
|
|
// return finBillApplicationService.saveOrUpdateDto(dto);
|
|
|
@ -117,6 +120,9 @@ public class FinBillApplicationRest implements FinBillApplicationFeign { |
|
|
|
public ResultBean saveQK(FinBillApplicationDto dto) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
ResultBean<DownloanVoUrl> resultBean = finBillApplicationService.saveOrUpdateDtoQK(dto); |
|
|
|
if(!resultBean.getSuccess()){ |
|
|
|
return rb.setMsg(resultBean.getMsg()); |
|
|
|
} |
|
|
|
DownloanVoUrl downloanVoUrl = resultBean.getData(); |
|
|
|
return rb.success().setData(downloanVoUrl.getSid()); |
|
|
|
// return finBillApplicationService.saveOrUpdateDtoQK(dto);
|
|
|
|