|
@@ -38,6 +38,26 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
|
public R pushDataSync(String id, String code) {
|
|
|
ApiRequestAndProcessingStrategy apiRequestAndProcessingStrategy = null;
|
|
|
switch (code) {
|
|
|
+ case "KC101":
|
|
|
+ apiRequestAndProcessingStrategy = new KC101ApiRequestAndProcessing();
|
|
|
+ case "KC103":
|
|
|
+ apiRequestAndProcessingStrategy = new KC103ApiRequestAndProcessing();
|
|
|
+ case "KC105":
|
|
|
+ apiRequestAndProcessingStrategy = new KC105ApiRequestAndProcessing();
|
|
|
+ case "KC107":
|
|
|
+ apiRequestAndProcessingStrategy = new KC107ApiRequestAndProcessing();
|
|
|
+ case "KC109":
|
|
|
+ apiRequestAndProcessingStrategy = new KC109ApiRequestAndProcessing();
|
|
|
+ case "KC111":
|
|
|
+ apiRequestAndProcessingStrategy = new KC111ApiRequestAndProcessing();
|
|
|
+ case "KC113":
|
|
|
+ apiRequestAndProcessingStrategy = new KC113ApiRequestAndProcessing();
|
|
|
+ case "KC115":
|
|
|
+ apiRequestAndProcessingStrategy = new KC115ApiRequestAndProcessing();
|
|
|
+ case "KC117":
|
|
|
+ apiRequestAndProcessingStrategy = new KC117ApiRequestAndProcessing();
|
|
|
+ case "KC119":
|
|
|
+ apiRequestAndProcessingStrategy = new KC119ApiRequestAndProcessing();
|
|
|
case "KC121":
|
|
|
apiRequestAndProcessingStrategy = new KC121ApiRequestAndProcessing();
|
|
|
case "KC123":
|
|
@@ -76,6 +96,26 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
|
public R deleteDataSync(String id, String dataId, String code) {
|
|
|
ApiRequestAndProcessingStrategy apiRequestAndProcessingStrategy = null;
|
|
|
switch (code) {
|
|
|
+ case "KC102":
|
|
|
+ apiRequestAndProcessingStrategy = new KC102ApiRequestAndProcessing();
|
|
|
+ case "KC104":
|
|
|
+ apiRequestAndProcessingStrategy = new KC104ApiRequestAndProcessing();
|
|
|
+ case "KC106":
|
|
|
+ apiRequestAndProcessingStrategy = new KC106ApiRequestAndProcessing();
|
|
|
+ case "KC108":
|
|
|
+ apiRequestAndProcessingStrategy = new KC108ApiRequestAndProcessing();
|
|
|
+ case "KC110":
|
|
|
+ apiRequestAndProcessingStrategy = new KC110ApiRequestAndProcessing();
|
|
|
+ case "KC112":
|
|
|
+ apiRequestAndProcessingStrategy = new KC112ApiRequestAndProcessing();
|
|
|
+ case "KC114":
|
|
|
+ apiRequestAndProcessingStrategy = new KC114ApiRequestAndProcessing();
|
|
|
+ case "KC116":
|
|
|
+ apiRequestAndProcessingStrategy = new KC116ApiRequestAndProcessing();
|
|
|
+ case "KC118":
|
|
|
+ apiRequestAndProcessingStrategy = new KC118ApiRequestAndProcessing();
|
|
|
+ case "KC120":
|
|
|
+ apiRequestAndProcessingStrategy = new KC120ApiRequestAndProcessing();
|
|
|
case "KC122":
|
|
|
apiRequestAndProcessingStrategy = new KC122ApiRequestAndProcessing();
|
|
|
case "KC124":
|