支付时间为空问题处理
This commit is contained in:
parent
036ad6defb
commit
ef8615cfe5
@ -192,6 +192,7 @@ public class BillServiceImpl extends ServiceImpl<BillMapper, Bill> implements Bi
|
|||||||
}
|
}
|
||||||
LambdaUpdateWrapper<Bill> lambdaUpdateWrapper = Wrappers.lambdaUpdate();
|
LambdaUpdateWrapper<Bill> lambdaUpdateWrapper = Wrappers.lambdaUpdate();
|
||||||
lambdaUpdateWrapper.eq(Bill::getId, id);
|
lambdaUpdateWrapper.eq(Bill::getId, id);
|
||||||
|
lambdaUpdateWrapper.set(Bill::getPayTime, new Date());
|
||||||
lambdaUpdateWrapper.set(Bill::getBillStatus, BillStatusEnum.COMPLETE.name());
|
lambdaUpdateWrapper.set(Bill::getBillStatus, BillStatusEnum.COMPLETE.name());
|
||||||
return this.update(lambdaUpdateWrapper);
|
return this.update(lambdaUpdateWrapper);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user