提交 11a759d7 authored 作者: huyufan's avatar huyufan

借款保存货运名称

上级 260a02c7
......@@ -159,7 +159,7 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
entity.setOwnerUserName(loginUserInfo.getUserName());
entity.setMobile(loginUserInfo.getUserMobile());
entity.setLoanBalance(param.getLoanBalance());
entity.setGoodsName("运费");
entity.setBorrowerId(param.getBorrowerId());
entity.setBorrower(param.getBorrower());
......@@ -177,7 +177,6 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
@Transactional(rollbackFor = Exception.class)
public void ownerLoanRecordApprove(CarrierOwnerLoanRecordApproveParam param) {
OwnerLoanRecord ownerLoanRecord = ownerLoanRecordDao.getOneByField(OwnerLoanRecord::getLoanNo, param.getLoanNo()).get();
ownerLoanRecord.setGoodsName("运费");
if (param.getStatus()) {
borrowerConfigDao.selectByBorrowerIdAndType(ownerLoanRecord.getBorrowerId(), param.getLoanType())
.orElseThrow(PerformanceResultEnum.BORROWER_CONFIG_TYPE_NOT_SUPPORT_ERROR);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论