|
@@ -96,6 +96,7 @@ public class PayFlow extends FlowDelegate {
|
|
|
Assert.notEmpty(pay.getId(), "采购付款id不能为空");
|
|
|
}
|
|
|
pay.setCurrency("CNY");//默认币种人民币
|
|
|
+ pay.setRate(new BigDecimal("1"));//默认币种人民币
|
|
|
pay.setStatus(PayStatusEnum.UNDER_REVIEW.getKey());
|
|
|
payService.saveOrUpdate(pay);
|
|
|
|
|
@@ -137,7 +138,7 @@ public class PayFlow extends FlowDelegate {
|
|
|
pay.setStatus(PayStatusEnum.PASS.getKey());
|
|
|
pay.setApprovedDate(new Date());
|
|
|
payService.updateById(pay);
|
|
|
- if(!StringUtils.equals(pay.getPayType(),"3")){
|
|
|
+ if(!StringUtils.equals(pay.getType(),"3")){
|
|
|
|
|
|
// 添加一条付款流水
|
|
|
AccountPayment payment = new AccountPayment();
|