|
@@ -159,7 +159,10 @@ public class TbOrdersService extends ServiceImpl<TbOrdersMapper, TbOrders> imple
|
|
TbPurchaser purchaser = tbPurchaserMapper.selectById(t.getPurchaserId());
|
|
TbPurchaser purchaser = tbPurchaserMapper.selectById(t.getPurchaserId());
|
|
StaticLog.info("采购商purchaser:{}", JSONUtil.toJsonStr(purchaser));
|
|
StaticLog.info("采购商purchaser:{}", JSONUtil.toJsonStr(purchaser));
|
|
if (purchaser != null) {
|
|
if (purchaser != null) {
|
|
- paymentTwoDto.setPcName(purchaser.getName());
|
|
|
|
|
|
+ paymentTwoDto.setPcName(purchaser.getBusinessName());
|
|
|
|
+ if(purchaser.getType() == 2) {
|
|
|
|
+ paymentTwoDto.setPcName(purchaser.getName());
|
|
|
|
+ }
|
|
paymentTwoDto.setDutyParagraph(purchaser.getDutyParagraph());
|
|
paymentTwoDto.setDutyParagraph(purchaser.getDutyParagraph());
|
|
paymentTwoDto.setPcBankAccount(purchaser.getBankAccount());
|
|
paymentTwoDto.setPcBankAccount(purchaser.getBankAccount());
|
|
paymentTwoDto.setPcBankNo(purchaser.getBankNo());
|
|
paymentTwoDto.setPcBankNo(purchaser.getBankNo());
|