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