|
|
@ -58,16 +58,16 @@ public class SaleDeliverySyncJob extends SyncAccountsJobAbstract {
|
|
|
|
protected List<String> getQueryFields() {
|
|
|
|
protected List<String> getQueryFields() {
|
|
|
|
return Arrays.asList(
|
|
|
|
return Arrays.asList(
|
|
|
|
"SaleDelivery.Code",
|
|
|
|
"SaleDelivery.Code",
|
|
|
|
"SaleDelivery.Customer.ID",
|
|
|
|
"SaleDelivery.Customer.Name",
|
|
|
|
"SaleDelivery.BusinessType.Name",
|
|
|
|
"SaleDelivery.BusinessType.Name",
|
|
|
|
"SaleDelivery.CreatedTime",
|
|
|
|
"SaleDelivery.CreatedTime",
|
|
|
|
"SaleDelivery.auditeddate",
|
|
|
|
"SaleDelivery.auditeddate",
|
|
|
|
"SaleDelivery.VoucherDate",
|
|
|
|
"SaleDelivery.VoucherDate",
|
|
|
|
"SaleDelivery.SaleOrderCode",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.SaleOrderCode",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Inventory.Code",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Inventory.Code",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Inventory.Name",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Inventory.Name",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Inventory.Specification",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Inventory.Specification",
|
|
|
|
"SaleDelivery.pubuserdefnvc1",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.pubuserdefnvc1",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Unit.Name",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Unit.Name",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Quantity",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.Quantity",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.OrigDiscountAmount",
|
|
|
|
"SaleDelivery.SaleDeliveryDetails.OrigDiscountAmount",
|
|
|
@ -79,16 +79,16 @@ public class SaleDeliverySyncJob extends SyncAccountsJobAbstract {
|
|
|
|
protected Map<String, CJTSyncTypeRelation> getQueryFieldsMap(String cjt) {
|
|
|
|
protected Map<String, CJTSyncTypeRelation> getQueryFieldsMap(String cjt) {
|
|
|
|
Map<String, CJTSyncTypeRelation> map = new CaseInsensitiveMap<>();
|
|
|
|
Map<String, CJTSyncTypeRelation> map = new CaseInsensitiveMap<>();
|
|
|
|
map.put("code", new CJTSyncTypeRelation("单据编号"));
|
|
|
|
map.put("code", new CJTSyncTypeRelation("单据编号"));
|
|
|
|
map.put("Customer_ID", new CJTSyncTypeRelation("客户"));
|
|
|
|
map.put("customer_name", new CJTSyncTypeRelation("客户"));
|
|
|
|
map.put("BusinessType_Name", new CJTSyncTypeRelation("业务类型"));
|
|
|
|
map.put("BusinessType_Name", new CJTSyncTypeRelation("业务类型"));
|
|
|
|
map.put("CreatedTime", new CJTSyncTypeRelation("创建时间", TableFieldTypeEnum.DATE, DateUtils.YYYY_MM_DD_HH_MM_SS));
|
|
|
|
map.put("CreatedTime", new CJTSyncTypeRelation("创建时间", TableFieldTypeEnum.DATE, DateUtils.YYYY_MM_DD_HH_MM_SS));
|
|
|
|
map.put("auditeddate", new CJTSyncTypeRelation("审核时间"));
|
|
|
|
map.put("auditeddate", new CJTSyncTypeRelation("审核时间"));
|
|
|
|
map.put("voucherdate", new CJTSyncTypeRelation("单据日期"));
|
|
|
|
map.put("voucherdate", new CJTSyncTypeRelation("单据日期"));
|
|
|
|
map.put("saleordercode", new CJTSyncTypeRelation("销售订单号"));
|
|
|
|
map.put("saledeliverydetails_saleordercode", new CJTSyncTypeRelation("销售订单号"));
|
|
|
|
map.put("SaleDeliveryDetails_Inventory_Code", new CJTSyncTypeRelation("存货编码"));
|
|
|
|
map.put("SaleDeliveryDetails_Inventory_Code", new CJTSyncTypeRelation("存货编码"));
|
|
|
|
map.put("SaleDeliveryDetails_Inventory_Name", new CJTSyncTypeRelation("存货"));
|
|
|
|
map.put("SaleDeliveryDetails_Inventory_Name", new CJTSyncTypeRelation("存货"));
|
|
|
|
map.put("SaleDeliveryDetails_Inventory_Specification", new CJTSyncTypeRelation("规格型号"));
|
|
|
|
map.put("SaleDeliveryDetails_Inventory_Specification", new CJTSyncTypeRelation("规格型号"));
|
|
|
|
map.put("pubuserdefnvc1", new CJTSyncTypeRelation("钢板面"));
|
|
|
|
map.put("saledeliverydetails_pubuserdefnvc1", new CJTSyncTypeRelation("钢板面"));
|
|
|
|
map.put("SaleDeliveryDetails_Unit_Name", new CJTSyncTypeRelation("销售单位"));
|
|
|
|
map.put("SaleDeliveryDetails_Unit_Name", new CJTSyncTypeRelation("销售单位"));
|
|
|
|
map.put("SaleDeliveryDetails_Quantity", new CJTSyncTypeRelation("数量", TableFieldTypeEnum.NUMBER));
|
|
|
|
map.put("SaleDeliveryDetails_Quantity", new CJTSyncTypeRelation("数量", TableFieldTypeEnum.NUMBER));
|
|
|
|
map.put("SaleDeliveryDetails_OrigDiscountAmount", new CJTSyncTypeRelation("金额", TableFieldTypeEnum.NUMBER));
|
|
|
|
map.put("SaleDeliveryDetails_OrigDiscountAmount", new CJTSyncTypeRelation("金额", TableFieldTypeEnum.NUMBER));
|
|
|
|