You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
437 B
22 lines
437 B
1 year ago
|
package com.kingdee.eas.custom.risheng;
|
||
|
|
||
|
public class SyncDataFacade {
|
||
|
|
||
|
public static SyncHRDataInterface SyncDataFacade(String type){
|
||
|
SyncHRDataInterface syncHRDataInterface = null;
|
||
|
if(type!=null) {
|
||
|
switch (type) {
|
||
|
case "fwoa":
|
||
|
syncHRDataInterface = new FWOASyncHrData();
|
||
|
break;
|
||
|
case "hk":
|
||
|
syncHRDataInterface = new HKSyncHrData();
|
||
|
break;
|
||
|
default:
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
return syncHRDataInterface;
|
||
|
}
|
||
|
}
|