zhangyuewww 3 년 전
부모
커밋
f6145efa82

+ 5 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/entity/CollectionWarehousingRecord.java

@@ -251,6 +251,11 @@ public class CollectionWarehousingRecord extends BaseModel<CollectionWarehousing
      */
      */
     @TableField(exist = false)
     @TableField(exist = false)
     private Double agencyCharge;
     private Double agencyCharge;
+    /**
+     * 买方
+     */
+    @TableField(exist = false)
+    private String buyer;
 
 
     @Override
     @Override
     protected Serializable pkVal() {
     protected Serializable pkVal() {

+ 1 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/CollectionWarehousingRecordServiceImpl.java

@@ -302,6 +302,7 @@ public class CollectionWarehousingRecordServiceImpl extends ServiceImpl<Collecti
             .eq("comp_id",collectionWarehousingRecord.getCompId()));
             .eq("comp_id",collectionWarehousingRecord.getCompId()));
         //合同代收费
         //合同代收费
         collectionWarehousingRecord.setAgencyCharge(contractManagementInfo.getAgencyCharge());
         collectionWarehousingRecord.setAgencyCharge(contractManagementInfo.getAgencyCharge());
+        collectionWarehousingRecord.setBuyer(contractManagementInfo.getBuyer());
         return collectionWarehousingRecord;
         return collectionWarehousingRecord;
     }
     }