md
This commit is contained in:
parent
168587dbc0
commit
8bb3897225
@ -133,6 +133,14 @@ public class EmisSettlePayRecordServiceImpl extends EmisBaseService implements I
|
|||||||
String payId= WaybillHelper.genPayId();
|
String payId= WaybillHelper.genPayId();
|
||||||
emisSettlePayRecord.setPayId(payId);
|
emisSettlePayRecord.setPayId(payId);
|
||||||
|
|
||||||
|
// 退款时支付金额记录负值
|
||||||
|
if("2".equals(emisSettlePayRecord.getRecType())){
|
||||||
|
emisSettlePayRecord.setPayMoney(BigDecimal.ZERO.subtract(emisSettlePayRecord.getRefundMoney()));
|
||||||
|
emisSettlePayRecord.setTradeDate(emisSettlePayRecord.getRefundDate());
|
||||||
|
// emisSettlePayRecord.setPayType("1");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// 记录收款运单号
|
// 记录收款运单号
|
||||||
List<EmisSettlePayRel> listRel=emisSettlePayRecord.getPayRelList();
|
List<EmisSettlePayRel> listRel=emisSettlePayRecord.getPayRelList();
|
||||||
if(!CollectionUtils.isEmpty(listRel)){
|
if(!CollectionUtils.isEmpty(listRel)){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user