修改job执行方法
continuous-integration/drone/push Build is passing Details

沃森川job同步飞书
YXY 1 year ago
parent 33ea0f4ff6
commit 30f9531e65

@ -13,7 +13,7 @@ import java.util.Map;
* @author yuxiangyong * @author yuxiangyong
* @create 2023-07-17 21:21 * @create 2023-07-17 21:21
*/ */
@Component("ManufactureOrderJob") @Component("manufactureOrderJob")
public class ManufactureOrderSyncJob extends SyncAccountsJobAbstract{ public class ManufactureOrderSyncJob extends SyncAccountsJobAbstract{
private static final String urlPath = "/tplus/api/v2/ManufactureOrderOpenApi/FindVoucherList"; private static final String urlPath = "/tplus/api/v2/ManufactureOrderOpenApi/FindVoucherList";
@ -29,6 +29,11 @@ public class ManufactureOrderSyncJob extends SyncAccountsJobAbstract{
return REQUEST_ROOT_PATH + urlPath; return REQUEST_ROOT_PATH + urlPath;
} }
@Override
public void executeSync() {
super.executeSync();
}
@Override @Override
protected List<String> getUniqueFields() { protected List<String> getUniqueFields() {
return Arrays.asList( return Arrays.asList(

@ -13,7 +13,7 @@ import java.util.Map;
* @author yuxiangyong * @author yuxiangyong
* @create 2023-07-17 21:21 * @create 2023-07-17 21:21
*/ */
@Component("PurchaseArrivalOpenJob") @Component("purchaseArrivalOpenJob")
public class PurchaseArrivalOpenSyncJob extends SyncAccountsJobAbstract{ public class PurchaseArrivalOpenSyncJob extends SyncAccountsJobAbstract{
private static final String urlPath = "/tplus/api/v2/PurchaseArrivalOpenApi/FindVoucherList"; private static final String urlPath = "/tplus/api/v2/PurchaseArrivalOpenApi/FindVoucherList";
@ -28,6 +28,11 @@ public class PurchaseArrivalOpenSyncJob extends SyncAccountsJobAbstract{
return REQUEST_ROOT_PATH + urlPath; return REQUEST_ROOT_PATH + urlPath;
} }
@Override
public void executeSync() {
super.executeSync();
}
@Override @Override
protected List<String> getUniqueFields() { protected List<String> getUniqueFields() {
return Arrays.asList( return Arrays.asList(

@ -13,7 +13,7 @@ import java.util.Map;
* @author yuxiangyong * @author yuxiangyong
* @create 2023-07-17 21:21 * @create 2023-07-17 21:21
*/ */
@Component("PurchaseOrderJob") @Component("purchaseOrderJob")
public class PurchaseOrderSyncJob extends SyncAccountsJobAbstract{ public class PurchaseOrderSyncJob extends SyncAccountsJobAbstract{
private static final String urlPath = "/tplus/api/v2/PurchaseOrderOpenApi/FindVoucherList"; private static final String urlPath = "/tplus/api/v2/PurchaseOrderOpenApi/FindVoucherList";
@ -28,6 +28,11 @@ public class PurchaseOrderSyncJob extends SyncAccountsJobAbstract{
return REQUEST_ROOT_PATH + urlPath; return REQUEST_ROOT_PATH + urlPath;
} }
@Override
public void executeSync() {
super.executeSync();
}
@Override @Override
protected List<String> getUniqueFields() { protected List<String> getUniqueFields() {
return Arrays.asList( return Arrays.asList(

@ -13,7 +13,7 @@ import java.util.Map;
* @author yuxiangyong * @author yuxiangyong
* @create 2023-07-17 21:21 * @create 2023-07-17 21:21
*/ */
@Component("SaleDeliveryJob") @Component("saleDeliveryJob")
public class SaleDeliverySyncJob extends SyncAccountsJobAbstract{ public class SaleDeliverySyncJob extends SyncAccountsJobAbstract{
private static final String urlPath = "/tplus/api/v2/SaleDeliveryOpenApi/FindVoucherList"; private static final String urlPath = "/tplus/api/v2/SaleDeliveryOpenApi/FindVoucherList";
@ -28,6 +28,11 @@ public class SaleDeliverySyncJob extends SyncAccountsJobAbstract{
return REQUEST_ROOT_PATH + urlPath; return REQUEST_ROOT_PATH + urlPath;
} }
@Override
public void executeSync() {
super.executeSync();
}
@Override @Override
protected List<String> getUniqueFields() { protected List<String> getUniqueFields() {
return Arrays.asList( return Arrays.asList(

@ -13,7 +13,7 @@ import java.util.Map;
* @author yuxiangyong * @author yuxiangyong
* @create 2023-07-17 21:21 * @create 2023-07-17 21:21
*/ */
@Component("SaleDispatchSyncJob") @Component("saleDispatchSyncJob")
public class SaleDispatchSyncJob extends SyncAccountsJobAbstract{ public class SaleDispatchSyncJob extends SyncAccountsJobAbstract{
private static final String urlPath = "/tplus/api/v2/SaleDispatchOpenApi/FindVoucherList"; private static final String urlPath = "/tplus/api/v2/SaleDispatchOpenApi/FindVoucherList";
@ -29,6 +29,11 @@ public class SaleDispatchSyncJob extends SyncAccountsJobAbstract{
return REQUEST_ROOT_PATH + urlPath; return REQUEST_ROOT_PATH + urlPath;
} }
@Override
public void executeSync() {
super.executeSync();
}
@Override @Override
protected List<String> getUniqueFields() { protected List<String> getUniqueFields() {
return Arrays.asList( return Arrays.asList(

Loading…
Cancel
Save