fix:单据下推中鼎

This commit is contained in:
zhaoyf
2026-11-06 13:43:10 +08:00
parent 714bb950c1
commit c2a8c612c4

View File

@@ -509,16 +509,19 @@ public class OutboundDeliveryServiceImpl extends ServiceImpl<OutboundDeliveryMap
private Integer zdBillType(String billType) { private Integer zdBillType(String billType) {
OutboundDeliveryBillType type = OutboundDeliveryBillType.ofCode(billType); OutboundDeliveryBillType type = OutboundDeliveryBillType.ofCode(billType);
if (type == OutboundDeliveryBillType.TRANSFER_IN) { if (type == OutboundDeliveryBillType.TRANSFER_IN) {
return 107; return 1;
} }
if (type == OutboundDeliveryBillType.SALES_RETURN_IN) { if (type == OutboundDeliveryBillType.SALES_RETURN_IN) {
return 2; return 1;
} }
if (type == OutboundDeliveryBillType.SUBCONTRACT_OUT) { if (type == OutboundDeliveryBillType.SUBCONTRACT_OUT) {
return 108; return 2;
} }
if (type == OutboundDeliveryBillType.SALES_OUT) { if (type == OutboundDeliveryBillType.SALES_OUT) {
return 102; return 2;
}
if (type == OutboundDeliveryBillType.TRANSFER_OUT) {
return 2;
} }
return null; return null;
} }