///
* import kd.bos.orm.util.CollectionUtils;
* import kd.sdk.swc.hcdm.business.extpoint.adjapprbill.IAdjConfirmPrintExtPlugin;
* import kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.AdjConfirmPrintEvent;
* import kd.swc.hsbp.common.constants.SWCBaseConstants;
* import java.util.HashMap;
* import java.util.List;
* import java.util.Map;
*
* public class AdjConfirmPrintExtPluginDemoImpl implements IAdjConfirmPrintExtPlugin {
*
* public void modifyDataRowValue(AdjConfirmPrintEvent arg) {
* Map parameterMap = arg.getParameterMap();
* if (CollectionUtils.isEmpty(parameterMap)) {
* return;
* }
*
* Map> dataRowMap = new HashMap<>(SWCBaseConstants.INITCAPACITY_HASHMAP);
* Map personDataRowMap = new HashMap<>(SWCBaseConstants.INITCAPACITY_HASHMAP);
* // Map> 调薪确认模板对应调薪确认人员信息
* Object adjConfirmTplAndPersonMapObj = parameterMap.get("adjConfirmPersonIds");
* if (adjConfirmTplAndPersonMapObj != null) {
* List adjConfirmPersonIds = (List)adjConfirmTplAndPersonMapObj;
* personDataRowMap.put("personname", "zhangsan");
* personDataRowMap.put("personnumber", "zhangsan_001");
* personDataRowMap.put("company", "company_001");
* personDataRowMap.put("depempadminorg", "dept_001");
* personDataRowMap.put("phone", "12345678999");
* for (Long adjConfirmPersonId : adjConfirmPersonIds) {
* dataRowMap.put(adjConfirmPersonId, personDataRowMap);
* }
* arg.setDataRowMap(dataRowMap);
* }
* }
*
* }
*
*/
modifyDataRowValue(event:kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.AdjConfirmPrintEvent):void;
}
type IAdjConfirmPrintExtPlugin_T = IAdjConfirmPrintExtPlugin_S & IAdjConfirmPrintExtPlugin$;
interface IAdjConfirmPrintExtPlugin extends IAdjConfirmPrintExtPlugin_T {
}
interface IAdjConfirmPrintExtService_S {
}
interface IAdjConfirmPrintExtService$ {
/**
* 修改调薪确认模板下载打印调薪内容
* @param event 调薪确认打印事件
*
*
* import java.util.HashMap;
* import java.util.Map;
* import kd.bos.dataentity.resource.ResManager;
* import kd.sdk.swc.hcdm.business.extpoint.adjapprbill.IAdjConfirmPrintExtService;
* import kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.AdjConfirmPrintEvent;
* import kd.swc.hsbp.common.constants.SWCBaseConstants;
*
* public class AdjConfirmPrintExtServiceDemoImpl implements IAdjConfirmPrintExtService {
*
* public void getLastPrintContent(AdjConfirmPrintEvent event) {
* // 调薪确认模板存储的文本内容 对{}里面的内容进行替换即可
* //{person.name}({person.number})你好,感谢您对公司的辛勤付出,本次调薪结果已出炉,当前[{standarditem.name}薪酬为{currentsalary},本次调薪幅度为{actualrange}%,调薪金额为{actualamount},最终薪酬为{finalamount}],请及时进行确认!
* String message = ResManager.loadKDString("zhangsan(zhangsan_001)你好,感谢您对公司的辛勤付出,本次调薪结果已出炉,当前[基本工资薪酬为5000,本次调薪幅度为10%,调薪金额为500,最终薪酬为5500],请及时进行确认!","AdjConfirmPrintExtServiceDemoImpl_1", "swc-hsba-formplugin");
* Map textContentMap = new HashMap<>(SWCBaseConstants.INITCAPACITY_HASHMAP);
* // event参数里有告诉当前处理人员id
* textContentMap.put(1682625424628175872L,message);
* // 设置结果信息
* event.setTextContentMap(textContentMap);
* }
*
* }
*
*/
getLastPrintContent?(event:kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.AdjConfirmPrintEvent):void;
/**
* 修改调薪确认模板下载打印文件名
* @param event 调薪确认打印事件
*
*
* import kd.bos.dataentity.resource.ResManager;
* import kd.sdk.swc.hcdm.business.extpoint.adjapprbill.IAdjConfirmPrintExtService;
* import kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.AdjConfirmPrintEvent;
*
* public class AdjConfirmPrintExtServiceDemoImpl implements IAdjConfirmPrintExtService {
*
* public void setDownLoadFileName(AdjConfirmPrintEvent arg) {
* String fileName = ResManager.loadKDString("调薪确认单下载名称通过埋点设置.pdf", "AdjConfirmPrintExtServiceDemoImpl_4", "swc-hsba-formplugin");
* // 设置结果信息
* arg.setFileName(fileName);
* }
*
* }
*
*
*/
setDownLoadFileName?(event:kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.AdjConfirmPrintEvent):void;
}
type IAdjConfirmPrintExtService_T = IAdjConfirmPrintExtService_S & IAdjConfirmPrintExtService$;
interface IAdjConfirmPrintExtService extends IAdjConfirmPrintExtService_T {
}
interface IDecAdjApprExtPlugin_S {
}
interface IDecAdjApprExtPlugin$ {
/**
* 添加项目后设置事件
*/
disablePropertyChange?(event:kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.DecAdjPropertyChangeEvent):void;
/**
* 添加人员后设置明细事件
* @param event
*/
onAfterF7PersonSelect?(event:kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.AfterF7PersonSelectEvent):void;
/**
* 获取调薪确认催办时可发送短信的总次数
* @param event
*/
onGetAdjConfirmSmsSendNum?(event:kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.OnGetAdjConfirmSmsSendNumEvent):void;
/**
* 获取单据扩展配置
* @param event
*/
onGetExtensionCfg?(event:OnGetExtensionCfgEvent):void;
/**
* 引入时字段校验事件
* @param event
*/
onImportValidate?(event:kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.ImportValidateEvent):void;
/**
* 引入时写入明细事件
* @param event
*/
onImportWriteEntry?(event:kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.ImportWriteEntryEvent):void;
/**
* 隐藏列事件
*/
setColumnHiddenStatus?(event:kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event.AfterBuildEntryGridEvent):void;
}
type IDecAdjApprExtPlugin_T = IDecAdjApprExtPlugin_S & IDecAdjApprExtPlugin$;
interface IDecAdjApprExtPlugin extends IDecAdjApprExtPlugin_T {
}
interface OnGetExtensionCfgEvent_S {
}
type OnGetExtensionCfgEvent_ST = $.java.util.EventObject & OnGetExtensionCfgEvent_S;
interface OnGetExtensionCfgEvent_C extends OnGetExtensionCfgEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetExtensionCfgEvent;
}
interface OnGetExtensionCfgEvent$ {
getCfg():ExtensionCfg;
setCfg(cfg:ExtensionCfg):void;
}
type OnGetExtensionCfgEvent_T = $.java.util.EventObject & OnGetExtensionCfgEvent_S & OnGetExtensionCfgEvent$;
interface OnGetExtensionCfgEvent extends OnGetExtensionCfgEvent_T {
}
}
namespace kd.sdk.swc.hcdm.business.extpoint.adjapprbill.event{
interface BeforeSynDecRecordEvent_S {
}
type BeforeSynDecRecordEvent_ST = $.java.io.Serializable & BeforeSynDecRecordEvent_S;
interface BeforeSynDecRecordEvent_C extends BeforeSynDecRecordEvent_ST {
new(adjApprPersonList:$.java.util.List,decAdjSalaryEntityList:$.java.util.List):BeforeSynDecRecordEvent;
}
interface BeforeSynDecRecordEvent$ {
getAdjApprPersonList():$.java.util.List;
getDecAdjSalaryEntityList():$.java.util.List;
setAdjApprPersonList(adjApprPersonList:$.java.util.List):void;
setDecAdjSalaryEntityList(decAdjSalaryEntityList:$.java.util.List):void;
}
type BeforeSynDecRecordEvent_T = $.java.io.Serializable & BeforeSynDecRecordEvent_S & BeforeSynDecRecordEvent$;
interface BeforeSynDecRecordEvent extends BeforeSynDecRecordEvent_T {
}
interface AfterF7PersonSelectEvent_S {
}
type AfterF7PersonSelectEvent_ST = $.java.util.EventObject & AfterF7PersonSelectEvent_S;
interface AfterF7PersonSelectEvent_C extends AfterF7PersonSelectEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):AfterF7PersonSelectEvent;
}
interface AfterF7PersonSelectEvent$ {
getAdjAttributionType():string;
getAdjPersonDyObjList():$.java.util.List;
setAdjAttributionType(adjAttributionType:string):void;
setAdjPersonDyObjList(adjPersonDyObjList:$.java.util.List):void;
}
type AfterF7PersonSelectEvent_T = $.java.util.EventObject & AfterF7PersonSelectEvent_S & AfterF7PersonSelectEvent$;
interface AfterF7PersonSelectEvent extends AfterF7PersonSelectEvent_T {
}
interface OnGetAdjConfirmSmsSendNumEvent_S {
}
type OnGetAdjConfirmSmsSendNumEvent_ST = $.java.util.EventObject & OnGetAdjConfirmSmsSendNumEvent_S;
interface OnGetAdjConfirmSmsSendNumEvent_C extends OnGetAdjConfirmSmsSendNumEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetAdjConfirmSmsSendNumEvent;
}
interface OnGetAdjConfirmSmsSendNumEvent$ {
getSmsSendNum():number;
setSmsSendNum(smsSendNum:number):void;
}
type OnGetAdjConfirmSmsSendNumEvent_T = $.java.util.EventObject & OnGetAdjConfirmSmsSendNumEvent_S & OnGetAdjConfirmSmsSendNumEvent$;
interface OnGetAdjConfirmSmsSendNumEvent extends OnGetAdjConfirmSmsSendNumEvent_T {
}
interface ImportWriteEntryEvent_S {
}
type ImportWriteEntryEvent_ST = $.java.util.EventObject & ImportWriteEntryEvent_S;
interface ImportWriteEntryEvent_C extends ImportWriteEntryEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):ImportWriteEntryEvent;
}
interface ImportWriteEntryEvent$ {
getAdjAttributionType():string;
getApprPersonEntityType():$.kd.bos.dataentity.metadata.dynamicobject.DynamicObjectType;
getDataList():$.java.util.List;
getMatchResult():$.java.util.Map;
getRows():number[];
getView():$.kd.bos.form.IFormView;
isRowUpdate():boolean;
setAdjAttributionType(adjAttributionType:string):void;
setApprPersonEntityType(apprPersonEntityType:$.kd.bos.dataentity.metadata.dynamicobject.DynamicObjectType):void;
setDataList(dataList:$.java.util.List):void;
setMatchResult(matchResult:$.java.util.Map):void;
setRowUpdate(rowUpdate:boolean):void;
setRows(rows:number[]):void;
setView(view:$.kd.bos.form.IFormView):void;
}
type ImportWriteEntryEvent_T = $.java.util.EventObject & ImportWriteEntryEvent_S & ImportWriteEntryEvent$;
interface ImportWriteEntryEvent extends ImportWriteEntryEvent_T {
}
interface AdjConfirmPrintEvent_S {
}
type AdjConfirmPrintEvent_ST = $.java.util.EventObject & AdjConfirmPrintEvent_S;
interface AdjConfirmPrintEvent_C extends AdjConfirmPrintEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):AdjConfirmPrintEvent;
}
interface AdjConfirmPrintEvent$ {
/**
* 获取数据源信息 Map<调薪确认人员id,Map<属性标识,value>>
*/
getDataRowMap():$.java.util.Map;
/**
* 获取文件名
*/
getFileName():string;
/**
* 获取参数信息
*/
getParameterMap():$.java.util.Map;
/**
* 获取调薪确认模板打印富文本的内容
*/
getTextContentMap():$.java.util.Map;
/**
* 设置数据源信息
*
* @param dataRowMap 数据信息 Map<调薪确认人员id,Map<属性,value>> 属性包括personname:姓名,personnumber:工号, company:公司,
* depempadminorg:挂靠行政组织,job:职位,phone:电话,peremail:个人电子邮箱,joblevel:职级,jobgrade:职等,feedbackstatus:设置调薪反馈状态,
* confirmtext:调薪确认模板配置里正文配置调薪确认内容
*/
setDataRowMap(dataRowMap:$.java.util.Map):void;
/**
* 设置下载调薪确认文件名
*
* @param fileName 调薪确认文件名
*/
setFileName(fileName:string):void;
/**
* 设置参数信息
*
* @param parameterMap 参数信息 map<参数key,参数类型> 参数key1: "queryResultParam" ,value: Map
*
* public class HCDMPersonExtDemoService implements IHCDMPersonExtService {
*
* public void modifyPersonNumber(Map param) {
* List
*
* @param param 待修改的工号信息,{"data": [{"oriNumber":"1234567-R", "newNumber":"1234567"}]}
* @return 无返回值,若是失败直接抛异常
*/
modifyPersonNumber?(param:$.java.util.Map):void;
}
type IHCDMPersonExtService_T = IHCDMPersonExtService_S & IHCDMPersonExtService$;
interface IHCDMPersonExtService extends IHCDMPersonExtService_T {
}
}
namespace kd.sdk.swc.hcdm.business.extpoint.report{
interface IAdjDetailRptExtService_S {
}
interface IAdjDetailRptExtService$ {
addExtFilter?(args:kd.sdk.swc.hcdm.business.extpoint.report.event.AdjDetailQueryParamEvent):void;
}
type IAdjDetailRptExtService_T = IAdjDetailRptExtService_S & IAdjDetailRptExtService$;
interface IAdjDetailRptExtService extends IAdjDetailRptExtService_T {
}
}
namespace kd.sdk.swc.hcdm.business.extpoint.report.event{
interface AdjDetailQueryParamEvent_S {
}
interface AdjDetailQueryParamEvent_C extends AdjDetailQueryParamEvent_S {
new(queryParam:$.kd.bos.entity.report.ReportQueryParam,filters:$.java.util.List):AdjDetailQueryParamEvent;
}
interface AdjDetailQueryParamEvent$ {
addFilter(filter:$.kd.bos.orm.query.QFilter):void;
getFilters():$.java.util.List;
getQueryParam():$.kd.bos.entity.report.ReportQueryParam;
}
type AdjDetailQueryParamEvent_T = AdjDetailQueryParamEvent_S & AdjDetailQueryParamEvent$;
interface AdjDetailQueryParamEvent extends AdjDetailQueryParamEvent_T {
}
}
namespace kd.sdk.swc.hcdm.business.extpoint.salarystd{
interface IHcdmContrastPropForCandExtPlugin_S {
}
interface IHcdmContrastPropForCandExtPlugin$ {
/**
* 加载对照属性值
* @param candContrastPropLoadEvent
*/
loadContrastPropValueForCand?(candContrastPropLoadEvent:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.CandContrastPropLoadEvent):void;
}
type IHcdmContrastPropForCandExtPlugin_T = IHcdmContrastPropForCandExtPlugin_S & IHcdmContrastPropForCandExtPlugin$;
interface IHcdmContrastPropForCandExtPlugin extends IHcdmContrastPropForCandExtPlugin_T {
}
interface IStdTableExtPlugin_S {
}
interface IStdTableExtPlugin$ {
/**
*
* public void afterCalculate(StdTableCalculateEvent evt) {
* SalaryStandardEntryData currentData = evt.getCurrentData();
* List calcResultAdd = Lists.newArrayList();
* for (SalaryStdItemEntity itemEntity : currentData.getItemEntities()) {
* //如果存在指定的变量或预测类项目给指定项目的所有等、档都设置计算结果
* if(itemEntity.getItemIdentity() == 10000000001L){
* for (SalaryGradeEntity gradeEntity : currentData.getGradeEntities()) {
* for (SalaryRankEntity rankEntity : currentData.getRankEntities()) {
* SalaryStdDataEntity data = new SalaryStdDataEntity();
* data.setItemIdentity(itemEntity.getItemIdentity());
* data.setGradeIdentity(gradeEntity.getGradeIdentity());
* data.setRankIdentity(rankEntity.getRankIdentity());
* //如果该项目启用了薪点,将计算出来的薪点值设置到该属性
* data.setSalaryCount(BigDecimal.valueOf(20));
* //将计算出来的档值设置到min属性中,注 middle、max属性是预留给区间类型标准表的字段
* data.setMin(BigDecimal.valueOf(10000));
* calcResultAdd.add(data);
* }
* }
* }
* }
* //将计算结果设置到数据集中(可以遍历该集合,在设置前将旧项目数据值移除)
* currentData.getStdDataEntities().addAll(calcResultAdd);
*
* @param evt 需要计算的标准表信息
*/
afterCalculate?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.StdTableCalculateEvent):void;
/**
*
* public void doCalculate(StdTableCalculateEvent evt) {
* SalaryStandardEntryData stdData = calcContext.getCurrentData();
* List stdDataEntities = stdData.getStdDataEntities();
* // 1、将数据按照薪等、项目分组
* Map>> dataMap = groupByGradeItem(stdDataEntities);
* // 2、遍历外层
* for (Map.Entry>> item : dataMap.entrySet()) {
* Long gradeId = item.getKey();
* int gradeIndex = gradeMap.get(gradeId).getGradeIndex();
* SalaryGradeEntity downGrade = getGradeByIndex(gradeIndex - 1, gradeList);
* for (Map.Entry> entry : item.getValue().entrySet()) {
* Long itemId = entry.getKey();
* List dataList = entry.getValue();
* // 计算中位值档、幅宽档、档差档
* SalaryStdDataEntity midEntity = dataList.stream().filter(entity -> 1000000000001L == entity.getRankIdentity()).findFirst().orElse(null);
* SalaryStdDataEntity gearDiffEntity = dataList.stream().filter(entity -> 1000000000004L == entity.getRankIdentity()).findFirst().orElse(null);
* // 最小值或最大值为null时,中位值为null
* if (null == minEntity.getMin() || null == maxEntity.getMin()){
* midEntity.setMin(null);
* gearDiffEntity.setMin(null);
* }else {
* midEntity.setMin(5000); // 中位值档
* gearDiffEntity.setMin(2000);// 档差
* }
* }
* }
* }
*
* @param evt 需要计算的标准表信息
*/
doCalculate?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.StdTableCalculateEvent):void;
/**
*
* @Override
* public void onGetDisplayParam(OnGetDefaultDisplayParamEvent evt) {
* log.info("go demo StdTableExtPluginExtImpl onGetDisplayParam");
* SalaryStandardBaseEntity standardBaseEntity = evt.getStandardBaseEntity();
* SalaryStandardTypeEnum type = standardBaseEntity.getType();
* DisplayParamNew param = evt.getDisplayParam();
* // 如果是薪点薪酬
* if (SalaryStandardTypeEnum.SALARYCOUNT == type) {
* // 比如:薪点薪酬想设置固薪占比默认不勾选,固薪合计不可见,合计使用标品默认
* param.setItemLevelValueById(1000000000001L, 2);
* param.setItemLevelValueById(1000000000002L, -1);
* }else if (SalaryStandardTypeEnum.BROADBAND == type) {
* // 如果是宽带薪酬
* // 比如:宽带薪酬想设置幅宽默认不勾选,递增系数不可见,其余使用标品默认
* param.setRankLevelValueById(1000000000003L, 2);
* param.setRankLevelValueById(1000000000002L, -1);
* // 比如:宽带薪酬想设置固薪占比默认勾选,固薪合计不可见,合计使用标品默认
* param.setItemLevelValueById(1000000000001L, 1);
* param.setItemLevelValueById(1000000000002L, -1);
* }
* // 设置值返回
* evt.setDisplayParam(param);
* }
*
* @param evt 预览样式相关参数
*/
onGetDisplayParam?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetDefaultDisplayParamEvent):void;
/**
*
* public void onGetFieldColumnWidth(OnGetFieldParamEvent evt) {
* if(evt.getItemEntity().getItemIdentity() == 200000001L){
* //如果是年薪总收入
* evt.setFieldWidth(“150”);//给下面所有字段都定150px宽
* }
* }
*
* @param evt 字段宽度获取事件
*/
onGetFieldColumnWidth?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetFieldParamEvent):void;
/**
*
* public void onGetFieldLockStatus(OnGetFieldLockStatusEvent evt) {
* if(evt.getGridType().equals(SalaryStdGridDisplayTypeEnum.TABULAR)){
* //列表式下所有字段锁定
* evt.setLockStatus(Boolean.TRUE);
* }
* if(evt.getGridType().equals(SalaryStdGridDisplayTypeEnum.GROUPITEMS)){
* If(evt.getItemEntity().getItemIdentity() == 10000000002L){
* //如果是固薪占比,则字段可编辑
* evt.setLockStatus(Boolean.FALSE);
* }
* }
* }
*
* @param evt 字段锁定态获取事件
*/
onGetFieldLockStatus?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetFieldLockStatusEvent):void;
/**
*
* public void onGetFieldTypeForGroupItem(OnGetFieldParamEvent evt) {
* If(evt.getItemEntity().getItemIdentity() == 10000000002L){
* //如果是固薪占比,则使用数值类型
* evt.setFieldType(“decimalfield”)
* }
* }
*
* @param evt 字段类型取值范围为: decimalfield、amountfield
*/
onGetFieldTypeForGroupItem?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetFieldParamEvent):void;
/**
*
* public void onGetFieldTypeForTabular(OnGetFieldParamEvent evt) {
* If(evt.getItemEntity().getItemIdentity() == 10000000002L){
* //如果是固薪占比,则使用数值类型
* evt.setFieldType(“decimalfield”)
* }
* }
*
* @param evt 字段类型取值范围为: decimalfield、amountfield
*/
onGetFieldTypeForTabular?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetFieldParamEvent):void;
/**
*
* public void onGetIntervalProp(OnGetIntervalPropEvent evt) {
* originalPropList = evt.getOriginalIntervalPropList;
* If(evt.getStdBaseEntity().getType() == SalaryStandardTypeEnum.SALARYCOUNT){
* If(evt.getItemEntity().getItemIdentity() == 10000000002L){
* //如果是固薪占比,则下面展示薪点、值列
* //创建薪点项和最小项加入
* IntervalPropEntity salaryCount =new IntervalPropEntity(0L, "薪点","薪点",0);
* IntervalPropEntity min =new IntervalPropEntity(0L, "值","值",1);
* evt.getIntervalPropList.add(salaryCount);
* evt.getIntervalPropList.add(min);
* }
* }
*
* @param evt 区间属性获取事件
*/
onGetIntervalProp?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetIntervalPropEvent):void;
/**
*
* public void onGetNumberConstraint(OnGetNumberConstraintEvent evt) {
* if(evt.getItemEntity().getItemIdentity() == 1000000000001L){
* //如果是固薪占比,给范围[0,100],小数位 2位,总长度15
* evt.setDataScope(“[0,100]”);
* evt.setPrecision(15);
* evt.setScale(2);
* }
* }
*
* @param evt 字段约束获取事件
*/
onGetNumberConstraint?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetNumberConstraintEvent):void;
/**
*
* public void onGetOnlySalaryCount(OnGetOnlySalaryCountEvent evt) {
* SalaryStandardTypeEnum type = evt.getType();
* // 如果薪酬标准表类型为非薪点薪酬时默认不显示
* if (null == type || !SalaryStandardTypeEnum.SALARYCOUNT.equals(type)) {
* evt.setDisplayOnlySalaryCount(-1);
* return;
* }
* // 当启用薪点时薪点默认显示且不勾选
* // 1 仅显示薪点; 2 显示薪点和值 ;-1 选项不存在(不显示)
* if (evt.getIsUseSalaryCount() > 0) {
* evt.setDisplayOnlySalaryCount(1);
* } else {
* evt.setDisplayOnlySalaryCount(-1);
* }
* }
*
* @param evt 仅薪点显示相关参数
*/
onGetOnlySalaryCount?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetOnlySalaryCountEvent):void;
/**
*
* public void onGetPreviewStyle(OnGetPreviewStyleEvent evt) {
* String index = evt.getIndex();
* if (SWCBaseConstants.STR_THREE.equals(index)){
* //设置第三步的预览样式
* evt.setDefaultPrivewStyle(PreviewStyleEnum.LIST);// 标品默认展示样式1
* evt.setNeedHiddenPrivewStyleSet(Sets.newHashSet());//隐藏样式
* }
* if (SWCBaseConstants.STR_FOUR.equals(index)){
* //设置第四步的预览样式
* evt.setDefaultPrivewStyle(PreviewStyleEnum.LIST);// 标品默认展示样式1
* evt.setNeedHiddenPrivewStyleSet(Sets.newHashSet());//无隐藏样式
* }
* }
*
* @param evt 预览样式相关参数
*/
onGetPreviewStyle?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetPreviewStyleEvent):void;
/**
*
* public void onGetRankListOfItem(OnGetItemRankEvent evt) {
* if(StringUtils.equals(evt.getUseType() , "1")){//如果使用场景是用于显示
* //返回用于项目下要显示的薪档
* SalaryItemLabelEnum itemLabel = item.getItemLabel();
* if(itemLabel.equals(SalaryItemLabelEnum.SPECIAL)){
* If(item.getItemIdentity() == 1000000000002L ){
* //给固薪合计只挂一个档
* evt.getReturnDisplayRankList.addAll(standardRankList.get(0));
* }
* }
* if(StringUtils.equals(evt.getUseType() , "2")){//如果使用场景是用于计算
* If(item.getItemIdentity() == 1000000000002L ){
* //给固薪合计只挂所有档
* evt.getReturnDisplayRankList.addAll(standardRankList);
* }
* }
*
* @param evt 薪档获取的事件
*/
onGetRankListOfItem?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetItemRankEvent):void;
/**
*
* public void onGetSalaryStdItemTips(OnGetItemTipsEvent evt) {
* if(evt.getItemEntity().getItemIdentity() == 1000000000001L){
* evt.setTips(ResManager.loadKDString("根据“固薪合计/固薪占比”得出的合计值","SalaryStdGridTips_0","swc-hcdm-common"));
* }
* }
*
* @param evt 提示信息获取事件
*/
onGetSalaryStdItemTips?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetItemTipsEvent):void;
/**
*
* public void onGetSpecialRankList(OnGetSpecialRankEvent evt) {
* DynamicObject[] result = queryAllSpecialRank();
* //如果是薪点,则没有特殊薪档
* if(type.equals(SalaryStandardTypeEnum.SALARYCOUNT)){
* return new DynamicObject[0];
* }
* //如果是宽带,则根据使用类型返回
* if(type.equals(SalaryStandardTypeEnum.BROADBAND)){
* if(useScene == 2){
* //如果用于设置字段数据,给递增系数名称追加(%),显示在字段标题上
* for (DynamicObject object : result) {
* long id = object.getLong(SWCBaseConstants.ID);
* if(id == 1000000000002L){
* object.set("name",new LocaleString("name" + "(%)"));
* }
* }
* return result;
* }
* if(useScene == 1){
* //如果用于显示参数,给将中位值移除
* result = Arrays.stream(result).filter(o -> o.getLong(SWCBaseConstants.ID) != 1000000000001L).collect(Collectors.toList()).toArray(new DynamicObject[0]);
* return result;
* }
* }
* evt.setSpecialRankList(result);
* }
*
* @param evt 特殊薪档获取事件
*/
onGetSpecialRankList?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetSpecialRankEvent):void;
/**
*
* 实现案例:
* public void onGetVarPredictItemList(OnGetVarPredictItemEvent evt) {
* DynamicObject[] result = queryAllVarPredictItem();
* if(useScene == "2"){ //如果用于设置数据,则字段标题要调整一下
* //给固薪占比项目名称追加(%)
* for (DynamicObject object : result) {
* if(object.getLong(SWCBaseConstants.ID) == 1000000000001L){
* object.set("name",new LocaleString(object.getString("name")+("(%)")));
* }
* }
* }
* evt.setVarPredictItemList(result);
* }
*
* @param evt 预测及变量类项目获取事件
*/
onGetVarPredictItemList?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetVarPredictItemEvent):void;
}
type IStdTableExtPlugin_T = IStdTableExtPlugin_S & IStdTableExtPlugin$;
interface IStdTableExtPlugin extends IStdTableExtPlugin_T {
}
interface IHcdmContrastPropExtPlugin_S {
}
interface IHcdmContrastPropExtPlugin$ {
/**
*
* public void loadContrastPropValue(ContrastPropLoadEvent event) {
* List propCfg = event.getPropCfgList();
* List fileIds = event.getAdjFileIdList();
* boolean isVersion = event.isVersion();
* Map> propValues = event.getPropValues();
* for (ContrastPropConfigEntity cfg : propCfg) {
* switch (cfg.getNumber()){
* case "1000_S":// 职位体系方案
* for (Long fileId : fileIds) {
* DynamicObject job = fileIdToJobMap.get(fileId);
* if(job != null && job.getLong("jobscm.id") > 0){
* propValues.get(fileId).putIfAbsent(cfg.getId(),job.getLong("jobscm.id"));
* }
* }
* break;
* case "1010_S":// 职位序列
* for (Long fileId : fileIds) {
* DynamicObject job = fileIdToJobMap.get(fileId);
* if(job != null && job.getLong("jobseq.id") > 0){
* propValues.get(fileId).putIfAbsent(cfg.getId(),job.getLong("jobseq.id"));
* }
* }
* break;
* }
* }
* }
*
* @param contrastPropLoadEvent
*/
loadContrastPropValue?(contrastPropLoadEvent:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.ContrastPropLoadEvent):void;
/**
*
* public void onGetCustomerQFilter(OnGetCustomerQFilterEvent event) {
* String scene = event.getScene();
* switch (scene){
* case "beforeF7Select":
* prepareQFilterForBeforeF7(event);
* break;
* case "downloadTemplate":
* prepareQFilterForBeforeDownloadTplxxx(event);
* break;
* case "importValidate":
* prepareQFilterForBeforeImportValidatexxx(event);
* break;
* default:break;
* }
* }
*
* private void prepareQFilterForBeforeF7(OnGetCustomerQFilterEvent event) {
* for (ContrastPropConfigEntity configEntity : event.getPropCfgList()) {
* ArrayList qFilters = Lists.newArrayList();
*
* if(configEntity.getId().equals(1050L)){// 职级
* //查询职级方案的数据
* QFilter enableQfilter = new QFilter("enable", QFilter.equals, "1");
* QFilter statusQfilter = new QFilter("status", QFilter.equals, "C");
* QFilter curQfilter = new QFilter("iscurrentversion", QFilter.equals, "1");
* DynamicObject[] objects = BusinessDataServiceHelper.load(""hbjm_joblevelscmhr","id", new QFilter[]{enableQfilter, statusQfilter, curQfilter});
* Set scmIds = Arrays.stream(objects).map(o -> o.getLong("id")).collect(Collectors.toSet());
* qFilters.add(new QFilter("joblevelscm", QFilter.in, scmIds));
* }
* if(!qFilters.isEmpty()){
* event.getCustomerQFilter().put(configEntity.getId(),qFilters);
* }
* }
* }
*
* @param evt
*/
onGetCustomerQFilter?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetCustomerQFilterEvent):void;
/**
*
* public void onGetCustomerQFilterForStdPreview(OnGetCustomerQFilterEvent evt) {
* Set propValueIds;
* evt.getCustomerQFilter().put(1010L,Lists.newArrayList(new QFilter("id",QFilter.in,propValueIds)));
* }
*
* @param evt 提示信息获取事件
*/
onGetCustomerQFilterForStdPreview?(evt:kd.sdk.swc.hcdm.business.extpoint.salarystd.event.OnGetCustomerQFilterEvent):void;
}
type IHcdmContrastPropExtPlugin_T = IHcdmContrastPropExtPlugin_S & IHcdmContrastPropExtPlugin$;
interface IHcdmContrastPropExtPlugin extends IHcdmContrastPropExtPlugin_T {
}
}
namespace kd.sdk.swc.hcdm.business.extpoint.salarystd.event{
interface ContrastPropLoadEvent_S {
}
type ContrastPropLoadEvent_ST = $.java.util.EventObject & ContrastPropLoadEvent_S;
interface ContrastPropLoadEvent_C extends ContrastPropLoadEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):ContrastPropLoadEvent;
}
interface ContrastPropLoadEvent$ {
getAdjFileIdList():$.java.util.List;
getPersonQueryParams():$.java.util.List;
getPropCfgList():$.java.util.List;
getPropValues():$.java.util.Map;
isVersion():boolean;
setAdjFileIdList(adjFileIdList:$.java.util.List):void;
setPersonQueryParams(personQueryParams:$.java.util.List):void;
setPropCfgList(propCfgList:$.java.util.List):void;
setPropValues(propValues:$.java.util.Map):void;
setVersion(version:boolean):void;
}
type ContrastPropLoadEvent_T = $.java.util.EventObject & ContrastPropLoadEvent_S & ContrastPropLoadEvent$;
interface ContrastPropLoadEvent extends ContrastPropLoadEvent_T {
}
interface OnGetIntervalPropEvent_S {
}
type OnGetIntervalPropEvent_ST = $.java.util.EventObject & OnGetIntervalPropEvent_S;
interface OnGetIntervalPropEvent_C extends OnGetIntervalPropEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetIntervalPropEvent;
}
interface OnGetIntervalPropEvent$ {
getDisplayOnlySalaryCount():number;
getIntervalPropList():$.java.util.List;
getItemEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity;
getOriginalIntervalPropList():$.java.util.List;
getSpecialRank():kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity;
getStdBaseEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity;
setDisplayOnlySalaryCount(displayOnlySalaryCount:number):void;
setIntervalPropList(intervalPropList:$.java.util.List):void;
setItemEntity(itemEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity):void;
setOriginalIntervalPropList(originalIntervalPropList:$.java.util.List):void;
setSpecialRank(specialRank:kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity):void;
setStdBaseEntity(stdBaseEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity):void;
}
type OnGetIntervalPropEvent_T = $.java.util.EventObject & OnGetIntervalPropEvent_S & OnGetIntervalPropEvent$;
interface OnGetIntervalPropEvent extends OnGetIntervalPropEvent_T {
}
interface OnGetFieldParamEvent_S {
}
type OnGetFieldParamEvent_ST = $.java.util.EventObject & OnGetFieldParamEvent_S;
interface OnGetFieldParamEvent_C extends OnGetFieldParamEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetFieldParamEvent;
}
interface OnGetFieldParamEvent$ {
getFieldType():string;
getFieldWidth():string;
getItemEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity;
getRankEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity;
getSeq():number;
getType():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardTypeEnum;
setFieldType(fieldType:string):void;
setFieldWidth(fieldWidth:string):void;
setItemEntity(itemEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity):void;
setRankEntity(rankEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity):void;
setSeq(seq:number):void;
setType(type_arg:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardTypeEnum):void;
}
type OnGetFieldParamEvent_T = $.java.util.EventObject & OnGetFieldParamEvent_S & OnGetFieldParamEvent$;
interface OnGetFieldParamEvent extends OnGetFieldParamEvent_T {
}
interface OnGetItemRankEvent_S {
}
type OnGetItemRankEvent_ST = $.java.util.EventObject & OnGetItemRankEvent_S;
interface OnGetItemRankEvent_C extends OnGetItemRankEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetItemRankEvent;
}
interface OnGetItemRankEvent$ {
getItemEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity;
getRankEntities():$.java.util.List;
getReturnDisplayRankList():$.java.util.List;
getStdBaseEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity;
getUseType():string;
setItemEntity(itemEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity):void;
setRankEntities(rankEntities:$.java.util.List):void;
setReturnDisplayRankList(returnDisplayRankList:$.java.util.List):void;
setStdBaseEntity(stdBaseEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity):void;
setUseType(useType:string):void;
}
type OnGetItemRankEvent_T = $.java.util.EventObject & OnGetItemRankEvent_S & OnGetItemRankEvent$;
interface OnGetItemRankEvent extends OnGetItemRankEvent_T {
}
interface OnGetDefaultDisplayParamEvent_S {
}
type OnGetDefaultDisplayParamEvent_ST = $.java.util.EventObject & OnGetDefaultDisplayParamEvent_S;
interface OnGetDefaultDisplayParamEvent_C extends OnGetDefaultDisplayParamEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetDefaultDisplayParamEvent;
}
interface OnGetDefaultDisplayParamEvent$ {
getDisplayParam():kd.sdk.swc.hcdm.common.stdtab.DisplayParamNew;
getStandardBaseEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity;
setDisplayParam(displayParam:kd.sdk.swc.hcdm.common.stdtab.DisplayParamNew):void;
setStandardBaseEntity(standardBaseEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity):void;
}
type OnGetDefaultDisplayParamEvent_T = $.java.util.EventObject & OnGetDefaultDisplayParamEvent_S & OnGetDefaultDisplayParamEvent$;
interface OnGetDefaultDisplayParamEvent extends OnGetDefaultDisplayParamEvent_T {
}
interface StdTableCalculateEvent_S {
}
type StdTableCalculateEvent_ST = $.java.util.EventObject & StdTableCalculateEvent_S;
interface StdTableCalculateEvent_C extends StdTableCalculateEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):StdTableCalculateEvent;
}
interface StdTableCalculateEvent$ {
getCurrentData():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardEntryData;
getLastData():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardEntryData;
setCurrentData(currentData:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardEntryData):void;
setLastData(lastData:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardEntryData):void;
}
type StdTableCalculateEvent_T = $.java.util.EventObject & StdTableCalculateEvent_S & StdTableCalculateEvent$;
interface StdTableCalculateEvent extends StdTableCalculateEvent_T {
}
interface OnGetFieldLockStatusEvent_S {
}
type OnGetFieldLockStatusEvent_ST = $.java.util.EventObject & OnGetFieldLockStatusEvent_S;
interface OnGetFieldLockStatusEvent_C extends OnGetFieldLockStatusEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetFieldLockStatusEvent;
}
interface OnGetFieldLockStatusEvent$ {
getCalculationMethod():kd.sdk.swc.hcdm.common.stdtab.CalculationMethodEnum;
getGridType():kd.sdk.swc.hcdm.common.stdtab.SalaryStdGridDisplayTypeEnum;
getItemEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity;
getLockStatus():boolean;
getRankEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity;
getSeq():number;
getStdBaseEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity;
setCalculationMethod(calculationMethod:kd.sdk.swc.hcdm.common.stdtab.CalculationMethodEnum):void;
setGridType(gridType:kd.sdk.swc.hcdm.common.stdtab.SalaryStdGridDisplayTypeEnum):void;
setItemEntity(itemEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity):void;
setLockStatus(lockStatus:boolean):void;
setRankEntity(rankEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity):void;
setSeq(seq:number):void;
setStdBaseEntity(stdBaseEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity):void;
}
type OnGetFieldLockStatusEvent_T = $.java.util.EventObject & OnGetFieldLockStatusEvent_S & OnGetFieldLockStatusEvent$;
interface OnGetFieldLockStatusEvent extends OnGetFieldLockStatusEvent_T {
}
interface OnGetCustomerQFilterEvent_S {
}
type OnGetCustomerQFilterEvent_ST = $.java.util.EventObject & OnGetCustomerQFilterEvent_S;
interface OnGetCustomerQFilterEvent_C extends OnGetCustomerQFilterEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetCustomerQFilterEvent;
}
interface OnGetCustomerQFilterEvent$ {
getCustomerQFilter():$.java.util.Map;
getPropCfgList():$.java.util.List;
getScene():string;
setCustomerQFilter(customerQFilter:$.java.util.Map):void;
setPropCfgList(propCfgList:$.java.util.List):void;
setScene(scene:string):void;
}
type OnGetCustomerQFilterEvent_T = $.java.util.EventObject & OnGetCustomerQFilterEvent_S & OnGetCustomerQFilterEvent$;
interface OnGetCustomerQFilterEvent extends OnGetCustomerQFilterEvent_T {
}
interface CandContrastPropLoadEvent_S {
getSerialVersionUID():long;
}
type CandContrastPropLoadEvent_ST = $.java.util.EventObject & CandContrastPropLoadEvent_S;
interface CandContrastPropLoadEvent_C extends CandContrastPropLoadEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):CandContrastPropLoadEvent;
}
interface CandContrastPropLoadEvent$ {
getCandidateToDysMap():$.java.util.Map;
getPropCfg():$.java.util.List;
getPropValues():$.java.util.Map;
isVersion():boolean;
setCandidateToDysMap(candidateToDysMap:$.java.util.Map):void;
setPropCfg(propCfg:$.java.util.List):void;
setPropValues(propValues:$.java.util.Map):void;
setVersion(version:boolean):void;
}
type CandContrastPropLoadEvent_T = $.java.util.EventObject & CandContrastPropLoadEvent_S & CandContrastPropLoadEvent$;
interface CandContrastPropLoadEvent extends CandContrastPropLoadEvent_T {
}
interface OnGetSpecialRankEvent_S {
}
type OnGetSpecialRankEvent_ST = $.java.util.EventObject & OnGetSpecialRankEvent_S;
interface OnGetSpecialRankEvent_C extends OnGetSpecialRankEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetSpecialRankEvent;
}
interface OnGetSpecialRankEvent$ {
getOriginalSpecialRankList():$.kd.bos.dataentity.entity.DynamicObject[];
getSpecialRankList():$.kd.bos.dataentity.entity.DynamicObject[];
getType():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardTypeEnum;
getUseScene():number;
setOriginalSpecialRankList(originalSpecialRankList:$.kd.bos.dataentity.entity.DynamicObject[]):void;
setSpecialRankList(specialRankList:$.kd.bos.dataentity.entity.DynamicObject[]):void;
setType(type_arg:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardTypeEnum):void;
setUseScene(useScene:number):void;
}
type OnGetSpecialRankEvent_T = $.java.util.EventObject & OnGetSpecialRankEvent_S & OnGetSpecialRankEvent$;
interface OnGetSpecialRankEvent extends OnGetSpecialRankEvent_T {
}
interface OnGetNumberConstraintEvent_S {
}
type OnGetNumberConstraintEvent_ST = $.java.util.EventObject & OnGetNumberConstraintEvent_S;
interface OnGetNumberConstraintEvent_C extends OnGetNumberConstraintEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetNumberConstraintEvent;
}
interface OnGetNumberConstraintEvent$ {
getDataScope():string;
getItemEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity;
getPrecision():number;
getRankEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity;
getScale():number;
getSeq():number;
getStdBaseEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity;
setDataScope(dataScope:string):void;
setItemEntity(itemEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity):void;
setPrecision(precision:number):void;
setRankEntity(rankEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity):void;
setScale(scale:number):void;
setSeq(seq:number):void;
setStdBaseEntity(stdBaseEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity):void;
}
type OnGetNumberConstraintEvent_T = $.java.util.EventObject & OnGetNumberConstraintEvent_S & OnGetNumberConstraintEvent$;
interface OnGetNumberConstraintEvent extends OnGetNumberConstraintEvent_T {
}
interface OnGetPreviewStyleEvent_S {
}
type OnGetPreviewStyleEvent_ST = $.java.util.EventObject & OnGetPreviewStyleEvent_S;
interface OnGetPreviewStyleEvent_C extends OnGetPreviewStyleEvent_ST {
new(source:any):OnGetPreviewStyleEvent;
}
interface OnGetPreviewStyleEvent$ {
getDefaultPrivewStyle():kd.sdk.swc.hcdm.common.stdtab.PreviewStyleEnum;
getIndex():string;
getNeedHiddenPrivewStyleSet():$.java.util.Set;
setDefaultPrivewStyle(defaultPrivewStyle:kd.sdk.swc.hcdm.common.stdtab.PreviewStyleEnum):void;
setIndex(index:string):void;
setNeedHiddenPrivewStyleSet(needHiddenPrivewStyleSet:$.java.util.Set):void;
}
type OnGetPreviewStyleEvent_T = $.java.util.EventObject & OnGetPreviewStyleEvent_S & OnGetPreviewStyleEvent$;
interface OnGetPreviewStyleEvent extends OnGetPreviewStyleEvent_T {
}
interface OnGetVarPredictItemEvent_S {
}
type OnGetVarPredictItemEvent_ST = $.java.util.EventObject & OnGetVarPredictItemEvent_S;
interface OnGetVarPredictItemEvent_C extends OnGetVarPredictItemEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetVarPredictItemEvent;
}
interface OnGetVarPredictItemEvent$ {
getType():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardTypeEnum;
getUseScene():number;
getVarPredictItemList():$.kd.bos.dataentity.entity.DynamicObject[];
setType(type_arg:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardTypeEnum):void;
setUseScene(useScene:number):void;
setVarPredictItemList(varPredictItemList:$.kd.bos.dataentity.entity.DynamicObject[]):void;
}
type OnGetVarPredictItemEvent_T = $.java.util.EventObject & OnGetVarPredictItemEvent_S & OnGetVarPredictItemEvent$;
interface OnGetVarPredictItemEvent extends OnGetVarPredictItemEvent_T {
}
interface OnGetItemTipsEvent_S {
}
type OnGetItemTipsEvent_ST = $.java.util.EventObject & OnGetItemTipsEvent_S;
interface OnGetItemTipsEvent_C extends OnGetItemTipsEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetItemTipsEvent;
}
interface OnGetItemTipsEvent$ {
getItemEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity;
getStdBaseEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity;
getTips():string;
setItemEntity(itemEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity):void;
setStdBaseEntity(stdBaseEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity):void;
setTips(tips:string):void;
}
type OnGetItemTipsEvent_T = $.java.util.EventObject & OnGetItemTipsEvent_S & OnGetItemTipsEvent$;
interface OnGetItemTipsEvent extends OnGetItemTipsEvent_T {
}
interface OnGetOnlySalaryCountEvent_S {
}
type OnGetOnlySalaryCountEvent_ST = $.java.util.EventObject & OnGetOnlySalaryCountEvent_S;
interface OnGetOnlySalaryCountEvent_C extends OnGetOnlySalaryCountEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetOnlySalaryCountEvent;
}
interface OnGetOnlySalaryCountEvent$ {
getDisplayOnlySalaryCount():number;
getIsUseSalaryCount():number;
getType():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardTypeEnum;
setDisplayOnlySalaryCount(displayOnlySalaryCount:number):void;
setIsUseSalaryCount(isUseSalaryCount:number):void;
setType(type_arg:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardTypeEnum):void;
}
type OnGetOnlySalaryCountEvent_T = $.java.util.EventObject & OnGetOnlySalaryCountEvent_S & OnGetOnlySalaryCountEvent$;
interface OnGetOnlySalaryCountEvent extends OnGetOnlySalaryCountEvent_T {
}
interface OnGetFieldColumnWidthEvent_S {
}
type OnGetFieldColumnWidthEvent_ST = $.java.util.EventObject & OnGetFieldColumnWidthEvent_S;
interface OnGetFieldColumnWidthEvent_C extends OnGetFieldColumnWidthEvent_ST {
/**
* Constructs a prototypical Event.
*
* @param source The object on which the Event initially occurred.
* @throws IllegalArgumentException if source is null.
*/
new(source:any):OnGetFieldColumnWidthEvent;
}
interface OnGetFieldColumnWidthEvent$ {
getCalculationMethod():kd.sdk.swc.hcdm.common.stdtab.CalculationMethodEnum;
getItemEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity;
getRankEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity;
getSeq():number;
getStdBaseEntity():kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity;
getWidthPx():number;
setCalculationMethod(calculationMethod:kd.sdk.swc.hcdm.common.stdtab.CalculationMethodEnum):void;
setItemEntity(itemEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStdItemEntity):void;
setRankEntity(rankEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryRankEntity):void;
setSeq(seq:number):void;
setStdBaseEntity(stdBaseEntity:kd.sdk.swc.hcdm.common.stdtab.SalaryStandardBaseEntity):void;
setWidthPx(widthPx:number):void;
}
type OnGetFieldColumnWidthEvent_T = $.java.util.EventObject & OnGetFieldColumnWidthEvent_S & OnGetFieldColumnWidthEvent$;
interface OnGetFieldColumnWidthEvent extends OnGetFieldColumnWidthEvent_T {
}
}
namespace kd.sdk.swc.hcdm.business.mservice.helper{
interface AdjConfirmBillServiceHelper_S {
/**
* 下载调薪确认单
*
* @param parameterMap* 参数名称 参数 参数类型 是否必传 *
* 打印模板id printTemplateId String 否 *
* 是否需要填充数据 isFillDataFlag boolean 否 *
* 调薪确认人员对应主实体信息 dataRowMainMap Map<调薪确认人员id-String类型, Map<属性标识-String类型, 值>> 否 *
* 调薪确认人员对应项目信息 dataRowItemMap Map <调薪确认人员id-String类型, List< Map<属性标识-String类型, 值>>> 否 *
* 调薪确认模板对应调薪确认人员信息 adjConfirmTplAndPersonMap Map<调薪确认人员id-String类型, List<调薪确认人员id-Long类型>> 是 *
* @return Map
* 参数名称 参数 参数类型 是否必传
*
* 打印机id printerId String 是
*
* 打印模板id printTemplateId String 否
*
* 是否需要填充数据 isFillDataFlag boolean 否
*
* 调薪确认人员对应主实体信息 dataRowMainMap Map<调薪确认人员id-String类型, Map<属性标识-String类型, 值>> 否
*
* 调薪确认人员对应项目信息 dataRowItemMap Map <调薪确认人员id-String类型, List< Map<属性标识-String类型, 值>>> 否
*
* 调薪确认模板对应调薪确认人员信息 adjConfirmTplAndPersonMap Map<调薪确认人员id-String类型, List<调薪确认人员id-Long类型>> 是
*
* @return Map 本方法在循环里执行,禁止在本方法操作数据库
*
* @param args 业务数据分录添加列参数; 返回信息均设置到入参中返回。
*/
afterAddFieldContainer?(args:kd.sdk.swc.hpdi.common.events.bizdatabill.AfterAddFieldContainerEvent):void;
/**
* 新增提报-填充分录数据
*/
setAddEntryFieldValue?(args:kd.sdk.swc.hpdi.common.events.bizdatabill.BizDataAddEntryFieldArgs):void;
}
type IBizDataBillEntryExtService_T = IBizDataBillEntryExtService_S & IBizDataBillEntryExtService$;
interface IBizDataBillEntryExtService extends IBizDataBillEntryExtService_T {
}
}
namespace kd.sdk.swc.hpdi.business.extpoint.collarule{
interface ICollaRuleExtService_S {
}
interface ICollaRuleExtService$ {
/**
* 协作规则自定义结果配置实体扩展事件,可在此事件中增减支持配置自定义结果的实体编码
*
* 扩展代码示例:
*
*
* public class BizDataBillEntryDemoExtService implements IBizDataBillEntryExtService {
*
* //container参数-字段标识
* private static final String PARAM_KEY = "key";
*
* //container参数-字段名
* private static final String PARAM_NAME = "name";
*
* //container参数-是否锁定
* private static final String PARAM_LOCK = "lock";
*
* //container参数-宽度
* private static final String PARAM_WIDTH = "width";
*
* //container参数-对齐方式
* private static final String PARAM_TEXTALIGN = "textAlign";
*
* //container参数-是否必输
* private static final String PARAM_MUSTINPUT = "mustInput";
*
* //container参数-基础资料展示详情
* private static final String PARAM_VIEWDETAIL = "viewDetail";
*
* //container参数-小数位限制
* private static final String PARAM_SCALELIMIT = "scaleLimit";
*
* //container参数-最小日期
* private static final String PARAM_MINDATE = "minDate";
*
* //container参数-最大日期
* private static final String PARAM_MAXDATE = "maxDate";
*
* //container参数-基础资料标识
* private static final String PARAM_BASEENTITYID = "baseEntityId";
*
* //container参数-基础资料-显示属性
* private static final String PARAM_DISPLAYPROP = "displayProp";
*
* //container参数-下拉列表项
* private static final String PARAM_PAIRS = "pairs";
*
* //container参数-数据类型
* private static final String PARAM_DATATYPE = "datatype";
*
* //值类型:数字
* private static final String KEY_FIELDNUM = "1010_S";
*
* //值类型:金额
* private static final String KEY_FIELDAMOUNT = "1020_S";
*
* //值类型:文本
* private static final String KEY_FIELDTEXT = "1030_S";
*
* //值类型:日期
* private static final String KEY_FIELDDATE = "1050_S";
*
* //类型:基础数据
* private static final String KEY_FIELDBASEDATA = "BASEDATA";
*
* //类型:下拉列表
* private static final String KEY_FIELDCOMBO = "COMBO";
*
* public void afterAddFieldContainer(AfterAddFieldContainerEvent args) {
*
* //"ywjextdemo1"
* String oneColKey = "ywjextdemo1";
* //"ywjextdemo2"
* String twoColKey = "ywjextdemo2";
*
* //案例是根据模板名称动态添加扩展列的实现。
* // 如果扩展列是固定的,则直接按下面的设置即可,就不用那么多判断了。主要是设置FieldParamMaps、SelectProps、FieldRelationMap
*
* Map
*
* @param event 协作规则自定义结果配置实体扩展事件,可在此事件中增减支持配置自定义结果的实体编码
*/
afterGetCustomResult?(event:kd.sdk.swc.hpdi.common.events.collarule.AfterGetCustomResultEvent):void;
}
type ICollaRuleExtService_T = ICollaRuleExtService_S & ICollaRuleExtService$;
interface ICollaRuleExtService extends ICollaRuleExtService_T {
}
}
namespace kd.sdk.swc.hpdi.business.extpoint.msgreceive{
interface ICollaReviseMsgExtService_S {
}
interface ICollaReviseMsgExtService$ {
/**
* 薪酬业务事件日志新建后置处理扩展点,因为业务事件日志存在重试机制,所以此扩展场景的扩展代码需要自己保证实现的幂等性,避免出现异常数据。
* 扩展代码示例:
*
*
*
* @param event 人员信息修订后置扩展事件
*/
afterReviseMsg?(event:kd.sdk.swc.hpdi.common.events.msgreceive.AfterReviseMsgEvent):void;
}
type ICollaReviseMsgExtService_T = ICollaReviseMsgExtService_S & ICollaReviseMsgExtService$;
interface ICollaReviseMsgExtService extends ICollaReviseMsgExtService_T {
}
}
namespace kd.sdk.swc.hpdi.business.mservice.helper{
interface BizDataServiceHelper_S {
/**
* 修改业务数据“推送算薪组织人”
*
* @param param 修改推送算薪组织人参数,业务数据识别号,企业人id,推送算薪组织人id
* @return 结果返回信息,分批处理,支持部分成功。
*/
changeDepemp(param:$.java.util.Map):$.java.util.Map;
/**
* 保存业务数据
*
* @param param 业务数据各属性信息
* @return 结果返回信息,分批处理,支持部分成功。
*/
saveBizData(param:$.java.util.Map):$.java.util.Map;
}
interface BizDataServiceHelper_C extends BizDataServiceHelper_S {
new():BizDataServiceHelper;
}
interface BizDataServiceHelper$ {
}
type BizDataServiceHelper_T = BizDataServiceHelper_S & BizDataServiceHelper$;
interface BizDataServiceHelper extends BizDataServiceHelper_T {
}
}
namespace kd.sdk.swc.hpdi.business.msgreceive{
interface ICollaMsgReceiveExtService_S {
}
interface ICollaMsgReceiveExtService$ {
/**
* 业务事件日期消息内容解析后置处理事件,可以在这个事件中处理解析后的消息数据
*
* @param event 消息内容解析后置事件对象
*/
afterParseMsgContent?(event:kd.sdk.swc.hpdi.common.events.msgreceive.AfterParseMsgContentEvent):void;
/**
* 薪酬业务事件日志新建后置处理扩展点,因为业务事件日志存在重试机制,所以此扩展场景的扩展代码需要自己保证实现的幂等性,避免出现异常数据。
* 扩展代码示例:
*
* public class CollaMsgReceiveExtServiceImpl implements ICollaMsgReceiveExtServiceImpl {
*
* public void afterReviseMsg(AfterReviseMsgEvent event) {
* String entityNumber = event.getEntityNumber();
* Map
*
* @param event 业务事件日志后置扩展事件,result 为扩展埋点事件处理结果,是否继续执行标品逻辑,true-继续执行标品逻辑,false-不继续执行标品逻辑。
*/
afterSaveReceiveMsg?(event:kd.sdk.swc.hpdi.common.events.msgreceive.AfterSaveReceiveMsgEvent):void;
}
type ICollaMsgReceiveExtService_T = ICollaMsgReceiveExtService_S & ICollaMsgReceiveExtService$;
interface ICollaMsgReceiveExtService extends ICollaMsgReceiveExtService_T {
}
}
namespace kd.sdk.swc.hpdi.common.events.bizdata{
interface BizDataTransSalaryArgs_S {
}
interface BizDataTransSalaryArgs_C extends BizDataTransSalaryArgs_S {
new():BizDataTransSalaryArgs;
}
interface BizDataTransSalaryArgs$ {
getBizDataList():$.java.util.List;
getErrorMap():$.java.util.Map;
getReturnBizDataList():$.java.util.List;
setBizDataList(bizDataList:$.java.util.List):void;
setErrorMap(errorMap:$.java.util.Map):void;
setReturnBizDataList(returnBizDataList:$.java.util.List):void;
}
type BizDataTransSalaryArgs_T = BizDataTransSalaryArgs_S & BizDataTransSalaryArgs$;
interface BizDataTransSalaryArgs extends BizDataTransSalaryArgs_T {
}
interface BizDataMatchSalaryFileArgs_S {
}
interface BizDataMatchSalaryFileArgs_C extends BizDataMatchSalaryFileArgs_S {
new():BizDataMatchSalaryFileArgs;
}
interface BizDataMatchSalaryFileArgs$ {
getBizDataList():$.java.util.List;
getErrorMap():$.java.util.Map;
setBizDataList(bizDataList:$.java.util.List):void;
setErrorMap(errorMap:$.java.util.Map):void;
}
type BizDataMatchSalaryFileArgs_T = BizDataMatchSalaryFileArgs_S & BizDataMatchSalaryFileArgs$;
interface BizDataMatchSalaryFileArgs extends BizDataMatchSalaryFileArgs_T {
}
interface BizDataBillEntryImportArgs_S {
}
interface BizDataBillEntryImportArgs_C extends BizDataBillEntryImportArgs_S {
new():BizDataBillEntryImportArgs;
}
interface BizDataBillEntryImportArgs$ {
getBizDataBill():$.kd.bos.dataentity.entity.DynamicObject;
getColKeyIndexMap():$.java.util.Map;
getDataRow():$.java.util.List;
getEmpCol():$.kd.bos.dataentity.entity.DynamicObjectCollection;
getEmpFilter():$.kd.bos.orm.query.QFilter;
getErrorMap():$.java.util.Map;
setBizDataBill(bizDataBill:$.kd.bos.dataentity.entity.DynamicObject):void;
setColKeyIndexMap(colKeyIndexMap:$.java.util.Map):void;
setDataRow(dataRow:$.java.util.List):void;
setEmpCol(empCol:$.kd.bos.dataentity.entity.DynamicObjectCollection):void;
setEmpFilter(empFilter:$.kd.bos.orm.query.QFilter):void;
setErrorMap(errorMap:$.java.util.Map):void;
}
type BizDataBillEntryImportArgs_T = BizDataBillEntryImportArgs_S & BizDataBillEntryImportArgs$;
interface BizDataBillEntryImportArgs extends BizDataBillEntryImportArgs_T {
}
interface BizDataHyperLinkClickArgs_S {
}
interface BizDataHyperLinkClickArgs_C extends BizDataHyperLinkClickArgs_S {
new():BizDataHyperLinkClickArgs;
}
interface BizDataHyperLinkClickArgs$ {
getArgs():$.kd.bos.form.events.HyperLinkClickArgs;
getView():$.kd.bos.form.IFormView;
setArgs(args:$.kd.bos.form.events.HyperLinkClickArgs):void;
setView(view:$.kd.bos.form.IFormView):void;
}
type BizDataHyperLinkClickArgs_T = BizDataHyperLinkClickArgs_S & BizDataHyperLinkClickArgs$;
interface BizDataHyperLinkClickArgs extends BizDataHyperLinkClickArgs_T {
}
}
namespace kd.sdk.swc.hpdi.common.events.bizdatabill{
interface BizDataAddEntryFieldArgs_S {
}
interface BizDataAddEntryFieldArgs_C extends BizDataAddEntryFieldArgs_S {
new():BizDataAddEntryFieldArgs;
}
interface BizDataAddEntryFieldArgs$ {
getBizDataBill():$.kd.bos.dataentity.entity.DynamicObject;
getDataList():$.java.util.List;
getDepempMappingList():$.java.util.List;
setBizDataBill(bizDataBill:$.kd.bos.dataentity.entity.DynamicObject):void;
setDataList(dataList:$.java.util.List):void;
setDepempMappingList(depempMappingList:$.java.util.List):void;
}
type BizDataAddEntryFieldArgs_T = BizDataAddEntryFieldArgs_S & BizDataAddEntryFieldArgs$;
interface BizDataAddEntryFieldArgs extends BizDataAddEntryFieldArgs_T {
}
interface AfterAddFieldContainerEvent_S {
}
interface AfterAddFieldContainerEvent_C extends AfterAddFieldContainerEvent_S {
new():AfterAddFieldContainerEvent;
}
interface AfterAddFieldContainerEvent$ {
getCustomParams():$.java.util.Map;
getFieldAnnotation():$.java.util.Map;
getFieldParamMaps():$.java.util.List;
getFieldRelationMap():$.java.util.Map;
getHideFields():$.java.util.List;
getSelectProps():$.java.util.List;
getStdFieldParamMaps():$.java.util.List;
getTemplateWarningInfo():string;
setCustomParams(customParams:$.java.util.Map):void;
setFieldAnnotation(fieldAnnotation:$.java.util.Map):void;
setFieldParamMaps(fieldParamMaps:$.java.util.List):void;
setFieldRelationMap(fieldRelationMap:$.java.util.Map):void;
setHideFields(hideFields:$.java.util.List):void;
setSelectProps(selectProps:$.java.util.List):void;
setStdFieldParamMaps(stdFieldParamMaps:$.java.util.List):void;
setTemplateWarningInfo(templateWarningInfo:string):void;
}
type AfterAddFieldContainerEvent_T = AfterAddFieldContainerEvent_S & AfterAddFieldContainerEvent$;
interface AfterAddFieldContainerEvent extends AfterAddFieldContainerEvent_T {
}
}
namespace kd.sdk.swc.hpdi.common.events.collarule{
interface AfterGetCustomResultEvent_S {
}
interface AfterGetCustomResultEvent_C extends AfterGetCustomResultEvent_S {
new():AfterGetCustomResultEvent;
}
interface AfterGetCustomResultEvent$ {
getEntitySet():$.java.util.Set;
setEntitySet(entitySet:$.java.util.Set):void;
}
type AfterGetCustomResultEvent_T = AfterGetCustomResultEvent_S & AfterGetCustomResultEvent$;
interface AfterGetCustomResultEvent extends AfterGetCustomResultEvent_T {
}
}
namespace kd.sdk.swc.hpdi.common.events.msgreceive{
interface AfterParseMsgContentEvent_S {
}
interface AfterParseMsgContentEvent_C extends AfterParseMsgContentEvent_S {
new():AfterParseMsgContentEvent;
}
interface AfterParseMsgContentEvent$ {
/**
* 获取事件中的业务事件日志解析后的数据
*
* @return 业务事件日志解析后的数据
*/
getMsgContentList():$.java.util.List;
/**
* 获取扩展点处理结果
*
* @return 扩展点的处理结果
*/
getResult():$.java.util.List;
/**
* 设置业务事件日志解析后的数据
*
* @param msgContentList 业务事件日志解析后的数据
*/
setMsgContentList(msgContentList:$.java.util.List):void;
/**
* 设置扩展点的处理结果
*
* @param result 返回处理结果
*/
setResult(result:$.java.util.List):void;
}
type AfterParseMsgContentEvent_T = AfterParseMsgContentEvent_S & AfterParseMsgContentEvent$;
interface AfterParseMsgContentEvent extends AfterParseMsgContentEvent_T {
}
interface AfterSaveReceiveMsgEvent_S {
}
interface AfterSaveReceiveMsgEvent_C extends AfterSaveReceiveMsgEvent_S {
new():AfterSaveReceiveMsgEvent;
}
interface AfterSaveReceiveMsgEvent$ {
/**
* 获取 业务事件日志ID
*
* @return 业务事件日志ID
*/
getMsgReceiveId():long;
/**
* 获取结果数据
*
* @return 结果数据
*/
getResult():boolean;
/**
* 设置业务事件日志ID
*
* @param msgReceiveId 业务事件日志ID
*/
setMsgReceiveId(msgReceiveId:long):void;
/**
* 设置结果数据
*
* @param result 结果数据
*/
setResult(result:boolean):void;
}
type AfterSaveReceiveMsgEvent_T = AfterSaveReceiveMsgEvent_S & AfterSaveReceiveMsgEvent$;
interface AfterSaveReceiveMsgEvent extends AfterSaveReceiveMsgEvent_T {
}
interface AfterReviseMsgEvent_S {
}
interface AfterReviseMsgEvent_C extends AfterReviseMsgEvent_S {
new():AfterReviseMsgEvent;
}
interface AfterReviseMsgEvent$ {
getEntityNumber():string;
getParam():$.java.util.Map;
setEntityNumber(entityNumber:string):void;
setParam(param:$.java.util.Map):void;
}
type AfterReviseMsgEvent_T = AfterReviseMsgEvent_S & AfterReviseMsgEvent$;
interface AfterReviseMsgEvent extends AfterReviseMsgEvent_T {
}
}
namespace kd.sdk.swc.hpdi.formplugin.extpoint.bizdata{
interface IBizDataBillEntryImportExtPlugin_S {
}
interface IBizDataBillEntryImportExtPlugin$ {
/**
* 获取任职经历前添加过滤条件
*
* @param args 业务数据提报分录引入参数(empFilter)
*/
addFilterBeforeGetEmp?(args:kd.sdk.swc.hpdi.common.events.bizdata.BizDataBillEntryImportArgs):void;
/**
* 读取excel数据后处理
*
* @param args 业务数据提报分录引入参数
*/
afterReadData?(args:kd.sdk.swc.hpdi.common.events.bizdata.BizDataBillEntryImportArgs):void;
/**
* 设置下载引入模板的字段默认值
*
* @param args 业务数据提报分录引入参数(empCol)
*/
setFieldDefaultValue?(args:kd.sdk.swc.hpdi.common.events.bizdata.BizDataBillEntryImportArgs):void;
}
type IBizDataBillEntryImportExtPlugin_T = IBizDataBillEntryImportExtPlugin_S & IBizDataBillEntryImportExtPlugin$;
interface IBizDataBillEntryImportExtPlugin extends IBizDataBillEntryImportExtPlugin_T {
}
interface IBizDataTransSalaryExtPlugin_S {
}
interface IBizDataTransSalaryExtPlugin$ {
/**
* 业务数据推送算薪前,可在此更新”推送算薪组织人“,或者增加自定义校验拦截。
*
*
* public class CollaMsgReceiveExtServiceDemoTrueImpl implements ICollaMsgReceiveExtService {
*
* public void afterSaveReceiveMsg(AfterSaveReceiveMsgEvent event) {
* Long msgReceiveId = event.getMsgReceiveId();
* DynamicObject msgReceiveObject = BusinessDataServiceHelper.loadSingle(msgReceiveId, "hpdi_msgreceive",
* "id,name,number,msgcontent,taskcreatestatus,errormsg");
* try {
* // 解析消息等自定义扩展逻辑
* DynamicObject object = BusinessDataServiceHelper.newDynamicObject("kdtest_msgreceive_ext");
* object.set("number", msgReceiveObject.getString("number"));
* object.set("name", msgReceiveObject.getString("name"));
* object.set("kdtest_msgreceive", msgReceiveObject);
* object.set("enable", "1");
* object.set("status", "C");
* SaveServiceHelper.save(new DynamicObject[] {object});
* // 更新业务事件日志状态为协作成功
* msgReceiveObject.set("taskcreatestatus", "B");
* } catch (Exception ex) {
* // 若处理失败测回写错误消息
* msgReceiveObject.set("taskcreatestatus", "C");
* msgReceiveObject.set("errormsg", ex.getMessage());
* }
* // 更新业务事件日志状态
* SaveServiceHelper.save(new DynamicObject[] {msgReceiveObject});
* // 设置返回值
* event.setResult(true);
* }
* }
*
*
* @param args 业务数据推送算薪参数
*/
beforeAddTransSalary?(args:kd.sdk.swc.hpdi.common.events.bizdata.BizDataTransSalaryArgs):void;
}
type IBizDataTransSalaryExtPlugin_T = IBizDataTransSalaryExtPlugin_S & IBizDataTransSalaryExtPlugin$;
interface IBizDataTransSalaryExtPlugin extends IBizDataTransSalaryExtPlugin_T {
}
interface IBizDataMatchSalaryFileExtPlugin_S {
}
interface IBizDataMatchSalaryFileExtPlugin$ {
/**
* 匹配并设置业务数据的薪资档案
*
* @param args 业务数据匹配薪资档案参数
*/
matchAndSetSalaryFile?(args:kd.sdk.swc.hpdi.common.events.bizdata.BizDataMatchSalaryFileArgs):void;
}
type IBizDataMatchSalaryFileExtPlugin_T = IBizDataMatchSalaryFileExtPlugin_S & IBizDataMatchSalaryFileExtPlugin$;
interface IBizDataMatchSalaryFileExtPlugin extends IBizDataMatchSalaryFileExtPlugin_T {
}
interface IBizDataListExtPlugin_S {
}
interface IBizDataListExtPlugin$ {
/**
* 列表的超链接,可重写,打开指定的页面或者不打开。
*
* 对于通过接口入库的业务数据,在业务数据列表展示的时候,单据编号那一列,标品提供了超链接到提报单据,
* 而对于接口数据则无对应的单据,此时需要二开自己制定打开方案。
*
*
*
* public class BizDataTransSalaryExtDemoPlugin implements IBizDataTransSalaryExtPlugin {
*
* //成功:ture,失败:false
* private static final String KEY_SUCCESS = "success";
*
* //错误信息
* private static final String KEY_MESSAGE = "message";
*
* //批次号
* private static final String KEY_BATCHNUM = "batchnum";
*
* //数据
* private static final String KEY_DATA = "data";
*
* //业务数据识别号
* private static final String KEY_BIZDATACODE = "bizdatacode";
*
* //企业人
* private static final String KEY_EMPLOYEEID = "employeeid";
*
* //组织人
* private static final String KEY_DEPEMPID = "depempid";
*
* //业务数据推送算薪前更新”推送算薪组织人“
* public void beforeAddTransSalary(BizDataTransSalaryArgs args) {
* List
*
* @param args 业务数据列表超链接参数;
* @return 无出参,信息均设置到入参中返回。
*/
billListHyperLinkClick?(args:kd.sdk.swc.hpdi.common.events.bizdata.BizDataHyperLinkClickArgs):void;
}
type IBizDataListExtPlugin_T = IBizDataListExtPlugin_S & IBizDataListExtPlugin$;
interface IBizDataListExtPlugin extends IBizDataListExtPlugin_T {
}
}
namespace kd.sdk.swc.hsas{
interface SdkHsasModule_S {
}
type SdkHsasModule_ST = $.kd.sdk.module.Module & SdkHsasModule_S;
interface SdkHsasModule_C extends SdkHsasModule_ST {
new():SdkHsasModule;
}
interface SdkHsasModule$ {
}
type SdkHsasModule_T = $.kd.sdk.module.Module & SdkHsasModule_S & SdkHsasModule$;
interface SdkHsasModule extends SdkHsasModule_T {
}
}
namespace kd.sdk.swc.hsas.business.extpoint.approve{
interface IApproveBillExtService_S {
}
interface IApproveBillExtService$ {
/**
* @param event BankOfferExportSplitEvent
*
*
*
* public class BizDataListExtDemoPlugin implements IBizDataListExtPlugin {
*
* public void billListHyperLinkClick(BizDataHyperLinkClickArgs args){
*
* //必须先判断列名再写扩展代码,否则可能导致其他单元格的超链接也被覆盖。
* // 若是单据编号字段
* if (SWCStringUtils.equals(BizDataConstants.KEY_APPLY_NO, args.getArgs().getHyperLinkClickEvent().getFieldName())) {
*
* IListView listView = (IListView) args.getView();
* Long id = (Long) listView.getFocusRowPkId();
*
* DynamicObject bizData = HPDIDataServiceHelper.HPDI_BIZDATA_HELPER.queryOne("submission", id);
* if (SWCObjectUtils.isEmpty(bizData)) {
* args.getView().showErrorNotification(ResManager.loadKDString("关联单据不存在", "BizDataList_0", "swc-hpdi-formplugin"));
* return;
* }
*
* //若是数据集成的数据
* if("1".equals(bizData.getString("submission"))){
* return;
* }
*
* //满足自定义的条件后,取消标品的连接,再打开自己的连接
* args.getArgs().setCancel(true);
*
* BaseShowParameter parameter = new BaseShowParameter();
* parameter.setFormId(SWCEntityConstants.HPDI_BIZDATA);
* parameter.setPkId(id);
* parameter.getOpenStyle().setShowType(ShowType.Modal);
* parameter.setStatus(OperationStatus.VIEW);
* args.getView().showForm(parameter);
* }
*
* }
* }
*
*
*/
afterSetApproveBillData?(event:kd.sdk.swc.hsas.common.events.approve.CreateApproveBillSetValueEvent):void;
}
type IApproveBillExtService_T = IApproveBillExtService_S & IApproveBillExtService$;
interface IApproveBillExtService extends IApproveBillExtService_T {
}
}
namespace kd.sdk.swc.hsas.business.extpoint.attinteg{
interface IAttIntegrateExtPlugin_S {
}
interface IAttIntegrateExtPlugin$ {
/**
*
* public class CreateApproveBillSetValueTest implements IApproveBillExtService {
* @Override
* public void afterSetApproveBillData(CreateApproveBillSetValueEvent event) {
* // 生成审批单关联核算任务id集合
* List
创建完业务数据后执行,允许扩展干预业务数据的生成机制
* 此处针对单条考勤项目汇总数据 向 业务数据 转换,扩展时需要注意不要执行数据库相关IO操作
* 实现案例:
*
* @param evt 创建完业务数据后置事件
*/
afterCreateBizData?(evt:kd.sdk.swc.hsas.common.events.attinteg.AfterCreateBizDataEvent):void;
}
type IAttIntegrateExtPlugin_T = IAttIntegrateExtPlugin_S & IAttIntegrateExtPlugin$;
interface IAttIntegrateExtPlugin extends IAttIntegrateExtPlugin_T {
}
}
namespace kd.sdk.swc.hsas.business.extpoint.bizdata{
interface IBizDataSynExtService_S {
}
interface IBizDataSynExtService$ {
/**
* 前端业务数据同步数据服务增加业务数据扩展修改场景
*
*
* public void afterCreateBizData(AfterCreateBizDataEvent evt){
* DynamicObject originalBizData = evt.getBizData();
* Map
*
* @param args 前端业务数据同步数据服务增加业务数据扩展修改场景。
*/
afterBizDataList?(event:kd.sdk.swc.hsas.common.events.bizdata.AfterBizDataListEvent):void;
}
type IBizDataSynExtService_T = IBizDataSynExtService_S & IBizDataSynExtService$;
interface IBizDataSynExtService extends IBizDataSynExtService_T {
}
}
namespace kd.sdk.swc.hsas.business.extpoint.insurancedata{
interface ISaveInsuranceDataSynExtService_S {
}
interface ISaveInsuranceDataSynExtService$ {
beforeSaveInsuranceDataList?(event:kd.sdk.swc.hsas.common.events.insurancedata.BeforeSaveInsuranceDataListEvent):void;
}
type ISaveInsuranceDataSynExtService_T = ISaveInsuranceDataSynExtService_S & ISaveInsuranceDataSynExtService$;
interface ISaveInsuranceDataSynExtService extends ISaveInsuranceDataSynExtService_T {
}
}
namespace kd.sdk.swc.hsas.business.extpoint.paydetail{
interface IBankOfferExtService_S {
}
interface IBankOfferExtService$ {
/**
* @param event BankOfferExportSplitEvent
*
*
* public class RecurBizDataPropDemoExtService implements IBizDataSynExtService {
*
* public void afterBizDataList(AfterBizDataListEvent event){
* List
*/
beforeBankOfferSplit?(event:kd.sdk.swc.hsas.common.events.paydetail.BankOfferExportSplitEvent):void;
}
type IBankOfferExtService_T = IBankOfferExtService_S & IBankOfferExtService$;
interface IBankOfferExtService extends IBankOfferExtService_T {
}
interface IBankAccountService_S {
}
interface IBankAccountService$ {
/**
* @param event BankAccountModifyFilterEvent
*
*
* public class BankOfferSplitTest implements IBankOfferExtService {
* @Override
* public void beforeBankOfferSplit(BankOfferExportSplitEvent event) {
* // 获取勾选可银行报盘发放明细list
* List
*/
beforeBankAccountModifyFilter?(event:kd.sdk.swc.hsas.common.events.paydetail.BankAccountModifyFilterEvent):void;
}
type IBankAccountService_T = IBankAccountService_S & IBankAccountService$;
interface IBankAccountService extends IBankAccountService_T {
}
}
namespace kd.sdk.swc.hsas.business.extpoint.person{
interface IPersonExtService_S {
}
interface IPersonExtService$ {
/**
* 计薪人员修改工号服务
*
*
* public class BankAccountModifyFilterTest implements IBankAccountService {
* @Override
* public void beforeBankAccountModifyFilter(BankAccountModifyFilterEvent event) {
* // 添加付款状态为付款失败数据的过滤条件
* QFilter payStateFilter = new QFilter("paystate", QFilter.in, Arrays.asList("1","4"));
* // 添加到过滤事件中
* event.addFieldFilter(payStateFilter);
* // 添加银行报盘状态为测试位数据的过滤条件
* QFilter bankOfferFilter = new QFilter("bankofferstatus", QFilter.in, Arrays.asList("1","4","5"));
* // 添加到过滤事件中
* event.addFieldFilter(bankOfferFilter);
* // 添加代发单状态为测试位数据的过滤条件
* QFilter agencyPayFilter = new QFilter("agencypaystate", QFilter.in, Arrays.asList("0","2"));
* // 添加到过滤事件中
* event.addFieldFilter(agencyPayFilter);
* // 添加停缓发状态为测试位数据的过滤条件
* QFilter onHoldFilter = new QFilter("onholdstatus", QFilter.in, Arrays.asList(" ","1","5"));
* // 添加到过滤事件中
* event.addFieldFilter(onHoldFilter);
* }
* }
*
*
* @param param 待修改的工号信息,{"data": [{"oriNumber":"1234567-R", "newNumber":"1234567"}]}
* @return 无返回值,若是失败直接抛异常
*/
modifyPersonNumber?(param:$.java.util.Map):void;
}
type IPersonExtService_T = IPersonExtService_S & IPersonExtService$;
interface IPersonExtService extends IPersonExtService_T {
}
interface ISyncPersonExtService_S {
}
interface ISyncPersonExtService$ {
/**
* 计薪人员同步复制数据后未入库前处理,将数据destDyList传给二开做处理,可能二开会增加自定义字段,而此字段并非从核心人力同步过来
*
*
*
* public class PersonExtService implements IPersonExtService {
*
* public void modifyPersonNumber(Map
*
* @param afterSyncPersonCopyEvent 待入库的薪酬实体数据集合
* @return 修改入参数据
*/
afterSyncPersonCopy?(afterSyncPersonCopyEvent:kd.sdk.swc.hsas.common.events.person.AfterSyncPersonCopyEvent):void;
/**
* 计薪人员同步初始化处理,支持客户新增同步实体。
*
*
*
* public class SyncPersonExtDemoService implements ISyncPersonExtService {
*
* public void afterSyncPersonCopy(AfterSyncPersonCopyEvent afterSyncPersonCopyEvent) {
* String destEntity = afterSyncPersonCopyEvent.getDestEntity();
* //需要先判断实体,所有实体都会调用这个接口
* if ("hsas_personhr".equals(destEntity)) {
* //获取到即将入库的数据,做自己想做的事即可。
* List
*
* @param initSyncPersonEvent 待同步的实体映射关系,key=中台人员实体,value=对应的薪酬实体
* @return 设置到入参中的formIdMap返回, 待同步的实体映射关系,key=中台人员实体,value=对应的薪酬实体
*/
initSyncPerson?(initSyncPersonEvent:kd.sdk.swc.hsas.common.events.person.InitSyncPersonEvent):void;
}
type ISyncPersonExtService_T = ISyncPersonExtService_S & ISyncPersonExtService$;
interface ISyncPersonExtService extends ISyncPersonExtService_T {
}
}
namespace kd.sdk.swc.hsas.business.extpoint.salaryfile{
interface ISalaryFileBeforeValidateDepEmpDateService_S {
}
interface ISalaryFileBeforeValidateDepEmpDateService$ {
/**
* 判断是否进行校验
*
* @param event 事件
*/
isValidate(event:kd.sdk.swc.hsas.common.events.salaryfile.SalaryFileBeforeValidateDepEmpDateEvent):void;
}
type ISalaryFileBeforeValidateDepEmpDateService_T = ISalaryFileBeforeValidateDepEmpDateService_S & ISalaryFileBeforeValidateDepEmpDateService$;
interface ISalaryFileBeforeValidateDepEmpDateService extends ISalaryFileBeforeValidateDepEmpDateService_T {
}
interface ISalaryFileExportExtService_S {
}
interface ISalaryFileExportExtService$ {
/**
* 获取发薪与个税引出实体关系:同时引出发薪与个税
*
*
*
* public class SyncPersonExtDemoService implements ISyncPersonExtService {
*
* public void initSyncPerson(InitSyncPersonEvent initSyncPersonEvent) {
* //案例:同步扩展的技能人才信息
* initSyncPersonEvent.getFormIdMap().put("kdtest_hrpi_jinengrencai", "kdtest_hsas_jinengrencai");
* }
*
* }
*
*
*
* @param event 薪资档案引出事件,可设置引出字段
*/
afterBuildSalaryAndTaxExportEntityRel?(event:kd.sdk.swc.hsas.common.events.salaryfile.SalaryFileExportEvent):void;
/**
* 获取薪资档案引出实体信息:仅引出发薪
*
*
*
* public class SalaryFileExportDemoExtService implements ISalaryFileExportExtService {
*
* //二开扩展的字段属性标识 注意:如果是基础资料字段,需要在后面加上.number或.name,kdtest_textfield.number
* private String EXT_FIELD = "kdtest_textfield";
*
* //获取薪资档案引出实体信息:仅引出发薪
* public void afterBuildSalaryFileExportEntityRel(SalaryFileExportEvent event){
* //添加1个主实体扩展字段
* addExtField(event, EXT_FIELD);
* }
*
* //获取发薪与个税引出实体关系:同时引出发薪与个税
* public void afterBuildSalaryAndTaxExportEntityRel(SalaryFileExportEvent event){
* //添加1个主实体扩展字段
* addExtField(event, EXT_FIELD);
* }
*
* //添加1个主实体扩展字段
* private void addExtField(SalaryFileExportEvent event, String extField) {
* //字段标识集合数组
* String[] fieldKeyOld = event.getImportEntityRel().getMainEntity().getFieldKey();
* //添加二开的字段到模板中,则修改字段数组,如下是加1个字段到最后一个,若是需要加在中间,则调整数组顺序即可
* String[] fieldKeyNew = Arrays.copyOf(fieldKeyOld, fieldKeyOld.length + 1);
* fieldKeyNew[fieldKeyOld.length] = extField;
* //再设置覆盖
* event.getImportEntityRel().getMainEntity().setFieldKey(fieldKeyNew);
* }
*
* }
*
*
*
* @param event 薪资档案引出事件,可设置引出字段
*/
afterBuildSalaryFileExportEntityRel?(event:kd.sdk.swc.hsas.common.events.salaryfile.SalaryFileExportEvent):void;
/**
* 获取发薪与个税临时表引出实体信息:仅引入个税
*
* @param event 薪资档案引出事件,可设置引出字段
*/
afterBuildTaxTempExportEntityRel?(event:kd.sdk.swc.hsas.common.events.salaryfile.SalaryFileExportEvent):void;
}
type ISalaryFileExportExtService_T = ISalaryFileExportExtService_S & ISalaryFileExportExtService$;
interface ISalaryFileExportExtService extends ISalaryFileExportExtService_T {
}
interface ISalaryFileImportExtService_S {
}
interface ISalaryFileImportExtService$ {
/**
* 获取发薪与个税临时表引入实体关系:同时引入发薪与个税
*
*
*
* public class SalaryFileExportDemoExtService implements ISalaryFileExportExtService {
*
* //二开扩展的字段属性标识 注意:如果是基础资料字段,需要在后面加上.number或.name,kdtest_textfield.number
* private String EXT_FIELD = "kdtest_textfield";
*
* //获取薪资档案引出实体信息:仅引出发薪
* public void afterBuildSalaryFileExportEntityRel(SalaryFileExportEvent event){
* //添加1个主实体扩展字段
* addExtField(event, EXT_FIELD);
* }
*
* //获取发薪与个税引出实体关系:同时引出发薪与个税
* public void afterBuildSalaryAndTaxExportEntityRel(SalaryFileExportEvent event){
* //添加1个主实体扩展字段
* addExtField(event, EXT_FIELD);
* }
*
* //添加1个主实体扩展字段
* private void addExtField(SalaryFileExportEvent event, String extField) {
* //字段标识集合数组
* String[] fieldKeyOld = event.getImportEntityRel().getMainEntity().getFieldKey();
* //添加二开的字段到模板中,则修改字段数组,如下是加1个字段到最后一个,若是需要加在中间,则调整数组顺序即可
* String[] fieldKeyNew = Arrays.copyOf(fieldKeyOld, fieldKeyOld.length + 1);
* fieldKeyNew[fieldKeyOld.length] = extField;
* //再设置覆盖
* event.getImportEntityRel().getMainEntity().setFieldKey(fieldKeyNew);
* }
*
* }
*
*
*
* @param event 薪资档案引入事件,可设置引入字段
*/
afterBuildSalaryAndTaxTempImportEntityRel?(event:kd.sdk.swc.hsas.common.events.salaryfile.SalaryFileImportEvent):void;
/**
* 获取发薪引入实体关系:仅引入发薪
*
*
*
* public class SalaryFileImportDemoExtService implements ISalaryFileImportExtService {
*
* //二开扩展的字段属性标识 注意:如果是基础资料字段,需要在后面加上.number或.name,kdtest_textfield.number
* private String EXT_FIELD = "kdtest_textfield";
*
* //获取发薪引入实体关系:仅引入发薪
* public void afterBuildSalaryFileImportEntityRel(SalaryFileImportEvent event){
* //添加1个主实体扩展字段
* addExtField(event, EXT_FIELD);
* }
*
* //获取发薪与个税临时表引入实体关系:同时引入发薪与个税
* public void afterBuildSalaryAndTaxTempImportEntityRel(SalaryFileImportEvent event){
* //添加1个主实体扩展字段
* addExtField(event, EXT_FIELD);
* }
*
* //添加1个主实体扩展字段
* private void addExtField(SalaryFileImportEvent event, String extField) {
* //字段标识集合数组
* String[] fieldKeyOld = event.getImportEntityRel().getMainEntity().getFieldKey();
* //添加二开的字段到模板中,则修改字段数组,如下是加1个字段到最后一个,若是需要加在中间,则调整数组顺序即可
* String[] fieldKeyNew = Arrays.copyOf(fieldKeyOld, fieldKeyOld.length + 1);
* fieldKeyNew[fieldKeyOld.length] = extField;
* //再设置覆盖
* event.getImportEntityRel().getMainEntity().setFieldKey(fieldKeyNew);
* }
* }
*
*
*
* @param event 薪资档案引入事件,可设置引入字段
*/
afterBuildSalaryFileImportEntityRel?(event:kd.sdk.swc.hsas.common.events.salaryfile.SalaryFileImportEvent):void;
/**
* 获取个税临时表引入实体信息:仅引入个税
* 使用方法参考发薪,个税字段存放在 event.getImportEntityRel().getOtherEntities()
*
* @param event 薪资档案引入事件,可设置引入字段
*/
afterBuildTaxTempImportEntityRel?(event:kd.sdk.swc.hsas.common.events.salaryfile.SalaryFileImportEvent):void;
}
type ISalaryFileImportExtService_T = ISalaryFileImportExtService_S & ISalaryFileImportExtService$;
interface ISalaryFileImportExtService extends ISalaryFileImportExtService_T {
}
interface ISalaryFileMatchExtService_S {
}
interface ISalaryFileMatchExtService$ {
/**
* 人员薪资档案匹配服务扩展
*
*
*
* public class SalaryFileImportDemoExtService implements ISalaryFileImportExtService {
*
* //二开扩展的字段属性标识 注意:如果是基础资料字段,需要在后面加上.number或.name,kdtest_textfield.number
* private String EXT_FIELD = "kdtest_textfield";
*
* //获取发薪引入实体关系:仅引入发薪
* public void afterBuildSalaryFileImportEntityRel(SalaryFileImportEvent event){
* //添加1个主实体扩展字段
* addExtField(event, EXT_FIELD);
* }
*
* //获取发薪与个税临时表引入实体关系:同时引入发薪与个税
* public void afterBuildSalaryAndTaxTempImportEntityRel(SalaryFileImportEvent event){
* //添加1个主实体扩展字段
* addExtField(event, EXT_FIELD);
* }
*
* //添加1个主实体扩展字段
* private void addExtField(SalaryFileImportEvent event, String extField) {
* //字段标识集合数组
* String[] fieldKeyOld = event.getImportEntityRel().getMainEntity().getFieldKey();
* //添加二开的字段到模板中,则修改字段数组,如下是加1个字段到最后一个,若是需要加在中间,则调整数组顺序即可
* String[] fieldKeyNew = Arrays.copyOf(fieldKeyOld, fieldKeyOld.length + 1);
* fieldKeyNew[fieldKeyOld.length] = extField;
* //再设置覆盖
* event.getImportEntityRel().getMainEntity().setFieldKey(fieldKeyNew);
* }
* }
*
*
*
* @param params 薪资档案匹配结果信息,Map即为入参,新增属性说明:
* success false则失败,比如组织人必填校验,失败了则后面四个值就不会有值。
* queryRowCount 匹配到的档案个数
* matchSalaryFileId 匹配到1个档案时存放档案boid
* matchSalaryFileIds 匹配到1个或多个档案是存放档案的boid集合
* matchSalaryFileVers 匹配到1个或多个档案是存放档案的当前动态对象集合
*/
afterMatchSalaryFile?(params:$.java.util.List):void;
}
type ISalaryFileMatchExtService_T = ISalaryFileMatchExtService_S & ISalaryFileMatchExtService$;
interface ISalaryFileMatchExtService extends ISalaryFileMatchExtService_T {
}
}
namespace kd.sdk.swc.hsas.business.mservice.helper{
interface CalPayrollTaskServiceHelper_S {
/**
* 添加指定人员
* @param params
* @return
*/
addPerson(params:$.java.util.List):$.java.util.Map;
/**
* 创建核算任务、自动添加名单
* @param params
* @return
*/
createAndAutoAddPerson(params:$.java.util.List):$.java.util.Map;
/**
* 创建核算任务、自动添加指定档案的名单并计算
* @param params
* @return
*/
createTask(params:$.java.util.List):$.java.util.Map;
}
interface CalPayrollTaskServiceHelper_C extends CalPayrollTaskServiceHelper_S {
new():CalPayrollTaskServiceHelper;
}
interface CalPayrollTaskServiceHelper$ {
}
type CalPayrollTaskServiceHelper_T = CalPayrollTaskServiceHelper_S & CalPayrollTaskServiceHelper$;
interface CalPayrollTaskServiceHelper extends CalPayrollTaskServiceHelper_T {
}
interface PayDetailServiceHelper_S {
/**
* 根据发放明细及变更信息变更银行卡
*
* @param param
* @return 返回信息
*/
modifyPayDetailBankCard(param:$.java.util.List):$.java.util.Map;
}
interface PayDetailServiceHelper_C extends PayDetailServiceHelper_S {
new():PayDetailServiceHelper;
}
interface PayDetailServiceHelper$ {
}
type PayDetailServiceHelper_T = PayDetailServiceHelper_S & PayDetailServiceHelper$;
interface PayDetailServiceHelper extends PayDetailServiceHelper_T {
}
interface SalaryCalculationServiceHelper_S {
/**
* 薪资计算(同步)
* @param param
* @return
*/
salaryCalForSync(param:$.java.util.Map):$.java.util.Map;
}
interface SalaryCalculationServiceHelper_C extends SalaryCalculationServiceHelper_S {
new():SalaryCalculationServiceHelper;
}
interface SalaryCalculationServiceHelper$ {
}
type SalaryCalculationServiceHelper_T = SalaryCalculationServiceHelper_S & SalaryCalculationServiceHelper$;
interface SalaryCalculationServiceHelper extends SalaryCalculationServiceHelper_T {
}
interface PaySettingServiceHelper_S {
/**
* 根据人员更新发放设置
*
* @param param
* @return 返回信息
*/
updatePaySetting(param:$.java.util.Map):$.java.util.Map;
}
interface PaySettingServiceHelper_C extends PaySettingServiceHelper_S {
new():PaySettingServiceHelper;
}
interface PaySettingServiceHelper$ {
}
type PaySettingServiceHelper_T = PaySettingServiceHelper_S & PaySettingServiceHelper$;
interface PaySettingServiceHelper extends PaySettingServiceHelper_T {
}
interface PersonServiceHelper_S {
/**
* 同步数据,可根据工号进行同步数据
*
* @param param {"empnumbers": ["DTX0406134-R","DTX0406134"]}
* @return 返回信息 {"success": true, "message": "", "data": 入参param}
*/
syncData(param:$.java.util.Map):$.java.util.Map;
}
interface PersonServiceHelper_C extends PersonServiceHelper_S {
new():PersonServiceHelper;
}
interface PersonServiceHelper$ {
}
type PersonServiceHelper_T = PersonServiceHelper_S & PersonServiceHelper$;
interface PersonServiceHelper extends PersonServiceHelper_T {
}
interface OnHoldServiceHelper_S {
/**
* 通过接口创建停缓发数据
* @param params
* @return
*/
addOnHoldData(params:$.java.util.Map):$.java.util.Map;
/**
* 通过接口解薪停缓发数据
* @param params
* @return
*/
releaseOnHoldData(params:$.java.util.Map):$.java.util.Map;
}
interface OnHoldServiceHelper_C extends OnHoldServiceHelper_S {
new():OnHoldServiceHelper;
}
interface OnHoldServiceHelper$ {
}
type OnHoldServiceHelper_T = OnHoldServiceHelper_S & OnHoldServiceHelper$;
interface OnHoldServiceHelper extends OnHoldServiceHelper_T {
}
interface BizDataServiceHelper_S {
/**
* 前端业务数据删除/废弃
* @param params
* @return
*/
delBizData(params:$.java.util.Map):$.java.util.Map;
/**
* 前端业务数据-生成业务数据唯一识别码
* @param params
* @return
*/
getBizDataCodes(codePrefix:string,count:number):$.java.util.List;
/**
* 前端业务数据-业务数据模板查询
* @param params
* @return
*/
getBizItemGroupData(params:$.java.util.List):$.java.util.Map;
/**
* 前端业务数据-业务项目属性查询
* @param params
* @return
*/
getBizItemPropInfo(params:$.java.util.List):$.java.util.Map;
/**
* 根据自然人+薪资组匹配档案
* @param params
* @return
*/
getSalaryFileIdByPayRollGrpId(params:$.java.util.Map):$.java.util.Map;
/**
* 前端业务数据-组织人匹配薪资档案
* @param params
* @return
*/
matchSalaryFile(params:$.java.util.List):$.java.util.List;
/**
* 前端业务数据使用次数查询
* @param params
* @return
*/
queryUsageCount(params:$.java.util.Map):$.java.util.Map;
/**
* 前端业务数据使用期间查询
* @param params
* @return
*/
queryUsagePeriod(params:$.java.util.Map):$.java.util.Map;
/**
* 前端业务数据撤回
* @param params
* @return
*/
rollBackBizData(params:$.java.util.Map):$.java.util.Map;
/**
* 前端业务数据新增by组织人
* @param params
* @return
*/
synBizData(params:$.java.util.Map):$.java.util.Map;
/**
* 前端业务数据新增by薪资档案
* @param params
* @return
*/
synBizDataBySalaryFile(params:$.java.util.Map):$.java.util.Map;
/**
* 前端业务数据循环项更新失效日期
* @param params
* @return
*/
updateBlsed(params:$.java.util.Map):$.java.util.Map;
/**
* 前端业务数据值校验
* @param params
* @return
*/
validateDataValue(params:$.java.util.List):$.java.util.Map;
}
interface BizDataServiceHelper_C extends BizDataServiceHelper_S {
new():BizDataServiceHelper;
}
interface BizDataServiceHelper$ {
}
type BizDataServiceHelper_T = BizDataServiceHelper_S & BizDataServiceHelper$;
interface BizDataServiceHelper extends BizDataServiceHelper_T {
}
interface SalaryFileServiceHelper_S {
/**
* 根据企业人查询人员薪资档案
*
* @param param 查询参数
* 企业人员 employees List
*
* public class SalaryFileMatchDemoExtService implements ISalaryFileMatchExtService {
* public void afterMatchSalaryFile(List
*/
isAutoSum?():boolean;
isShowSum?():boolean;
}
type ICalPersonListAutoSumPlugin_T = ICalPersonListAutoSumPlugin_S & ICalPersonListAutoSumPlugin$;
interface ICalPersonListAutoSumPlugin extends ICalPersonListAutoSumPlugin_T {
}
}
namespace kd.sdk.swc.hsas.formplugin.extpoint.approve{
interface ICreateApproveBillExtService_S {
}
interface ICreateApproveBillExtService$ {
/**
* @param createApproveBillValidateEvent
*
* @Override
* public boolean isAutoSum() {
* //true 为自动合计
* return true;
* }
*
*/
doPreValidate(createApproveBillValidateEvent:kd.sdk.swc.hsas.common.events.approve.CreateApproveBillValidateEvent):void;
/**
* @param approveBillCalPersonDealEvent CreateApproveBillCalPersonDealEvent
*
*
* @Override
* public void doValidate(CreateApproveBillValidateEvent createApproveBillValidateEvent) {
* List
*/
setCalPersonSet(approveBillCalPersonDealEvent:kd.sdk.swc.hsas.common.events.approve.CreateApproveBillCalPersonDealEvent):void;
}
type ICreateApproveBillExtService_T = ICreateApproveBillExtService_S & ICreateApproveBillExtService$;
interface ICreateApproveBillExtService extends ICreateApproveBillExtService_T {
}
interface IApproveOverViewDealExtService_S {
}
interface IApproveOverViewDealExtService$ {
/**
* 处理审批单概览数据
*
* @param approveOverViewDealEvent
*
* public class CreateApproveBillExtPluginDemoImpl implements ICreateApproveBillExtService {
* @Override
* public void setCalPersonSet(CreateApproveBillCalPersonDealEvent approveBillCalPersonDealEvent) {
* IFormView view = approveBillCalPersonDealEvent.getView();
* // 获取当前符合条件的核算名单集合
* Set
*/
dealOverViewValue(approveOverViewDealEvent:kd.sdk.swc.hsas.common.events.approve.ApproveOverViewDealEvent):void;
}
type IApproveOverViewDealExtService_T = IApproveOverViewDealExtService_S & IApproveOverViewDealExtService$;
interface IApproveOverViewDealExtService extends IApproveOverViewDealExtService_T {
}
interface IApproveInvokeReportFormExtService_S {
}
interface IApproveInvokeReportFormExtService$ {
/**
* @param approveInvokeReportFormEvent
*
* @Override
* public void dealOverViewValue(ApproveOverViewDealEvent approveOverViewDealEvent) {
* String type = approveOverViewDealEvent.getType();
* if (SWCStringUtils.equals(type, "preview")) {
* //审批单模板预览设置默认值即可
* approveOverViewDealEvent.setValue("88.88%");
* } else if (SWCStringUtils.equals(type, "hsas_approvebill")) {
* //审批单页面
* List
*/
filter?(approveInvokeReportFormEvent:kd.sdk.swc.hsas.common.events.approve.ApproveInvokeReportFormEvent):void;
/**
* @param dealEvent
*
* @Override
* public void filter(ApproveInvokeReportFormEvent approveInvokeReportFormEvent) {
* //示例中演示了过滤掉一半的核算名单或发放明细
* DynamicObject approveBillDynamicObject = approveInvokeReportFormEvent.getApproveBillDynamicObject();
* //可从薪资审批单上获取薪资审批单中的属性:例如,审批单模板,审批单模板版本,管理组织,薪资核算组
* //获取审批单模板版本对象
* DynamicObject approveBillTplv = approveBillDynamicObject.getDynamicObject("approvebilltplv");
* //获取薪资核算组对象
* DynamicObject payrollGroup = approveBillDynamicObject.getDynamicObject("payrollgroup");
* String reportType = approveInvokeReportFormEvent.getReportType();
* if ("3".equals(reportType)) {
* //发放明细表
* String pageType = approveInvokeReportFormEvent.getPageType();
* if (SWCStringUtils.equals(HSAS_APPROVEBILLPREVIEW, pageType)) {
* List
> partition = Lists.partition(calPersonIds, calPersonIds.size() / 2);
* approveInvokeReportFormEvent.setCalPersonIds(partition.get(1));
* }
* //对名单进行过滤
* } else {
* List
> partition = Lists.partition(payDetailIds, payDetailIds.size() / 2);
* approveInvokeReportFormEvent.setCalPersonIds(partition.get(1));
* }
* }
* } else {
* //薪资明细表 薪资汇总表
* List
> partition = Lists.partition(calPersonIds, calPersonIds.size() / 2);
* approveInvokeReportFormEvent.setCalPersonIds(partition.get(1));
* }
* // 最终会根据 approveInvokeReportFormEvent 中的calPersonIds 进行薪资数据的过滤
* }
* }
*
*/
referReportDeal?(dealEvent:kd.sdk.swc.hsas.common.events.approve.ApproveReferReportDealEvent):void;
/**
* @param downEvent
*
* @Override
* public void referReportDeal(ApproveReferReportDealEvent dealEvent) {
* // 获取审批单模板审批视图对象
* DynamicObject schemeDy = dealEvent.getSchemeDy();
* // 获取数据源
* String referReport = schemeDy.getString("referreport");
* if("4".equals(referReport)) {
* //打开列表页面
* ListShowParameter listShowParameter = new ListShowParameter();
* listShowParameter.setHasRight(true);
* listShowParameter.setBillFormId("hsas_paydetail");
* ListFilterParameter listFilterParameter = new ListFilterParameter();
* //设置数据过滤条件
* listFilterParameter.setFilter(new QFilter("calpersonid", QFilter.in, dealEvent.getCalPersonIdList()));
* listShowParameter.setListFilterParameter(listFilterParameter);
* dealEvent.setShowParameter(listShowParameter);
* }else {
* //打开报表页面
* ReportShowParameter showParameter = new ReportShowParameter();
* // 小计
* String sumtype = schemeDy.getString("sumtype");
* // 是否显示总计
* boolean isdisplaytotal = schemeDy.getBoolean("isdisplaytotal");
* String schemename = schemeDy.getString("schemename");
* // 报表打开方式,1=原页面,2=引用
* showParameter.setCustomParam("openway", "2");
* QFilter filter = new QFilter("id",QFilter.in, dealEvent.getCalPersonIdList());
* String idList = SerializationUtils.toJsonString(filter);
* // 过滤器
* showParameter.setCustomParam("filter", idList);
* showParameter.setFormId("hsas_salarydetailrpt_inh");
* // 小计类型 0仅显示小计 ;1仅显示明细 ;2显示明细和小计
* showParameter.setCustomParam("sumtypesign", sumtype);
* SWCDataServiceHelper reportschemeHelper =
* new SWCDataServiceHelper(SWCEntityConstants.HSAS_SALARYRPTDISPLAYSCHM);
* QFilter filterScheme = new QFilter("1",QFilter.equals,1);
* DynamicObject reportScheme = reportschemeHelper.queryOne("id", filterScheme.toArray(), "createtime desc");
* // 显示方案
* showParameter.setCustomParam("displayscheme", reportScheme.getLong("id"));
* // 显示总计行
* showParameter.setCustomParam("isshowtotal", isdisplaytotal);
* showParameter.setCustomParam("isExportByParentMethod", Boolean.TRUE);
* showParameter.setCustomParam("schemename", schemename);
* // 修改Caption = 修改引出文件名称
* FormConfig formConfig = FormMetadataCache.getFormConfig(showParameter.getFormId());
* formConfig.setCaption(new LocaleString(schemename));
* showParameter.setFormConfig(formConfig);
*
* SWCDataServiceHelper serviceHelper = new SWCDataServiceHelper("bd_currency");
* QFilter currencyFilter = new QFilter(ID, QFilter.equals, SWCBaseConstants.INT_ONE);
* DynamicObject currencyDy =
* serviceHelper.queryOne("id,name,amtprecision,priceprecision,sign", new QFilter[]{currencyFilter});
* showParameter.setCustomParam("calcurrency", SerializationUtils.serializeToBase64(currencyDy));
*
* dealEvent.setShowParameter(showParameter);
*
* }
* }
*
*/
referReportDown?(downEvent:kd.sdk.swc.hsas.common.events.approve.ApproveReferReportDownEvent):void;
}
type IApproveInvokeReportFormExtService_T = IApproveInvokeReportFormExtService_S & IApproveInvokeReportFormExtService$;
interface IApproveInvokeReportFormExtService extends IApproveInvokeReportFormExtService_T {
}
interface IApproveSpecialRuleVerifyExtPlugin_S {
}
interface IApproveSpecialRuleVerifyExtPlugin$ {
/**
* @param event AfterSalaryCalEvent
*
*
* @Override
* public void referReportDown(ApproveReferReportDownEvent downEvent) {
* //审批单下载页面
* IFormView parentView = downEvent.getParentView();
* //当前下载数据页面
* IFormView downView = downEvent.getDownView();
* //数据源
* String referReport = downEvent.getReferReport();
* if ("4".equals(referReport)) {
* //列表下载
* OperateOption option = OperateOption.create();
* option.setVariableValue(OperateOptionConst.ISHASRIGHT, "true");
* downView.invokeOperation("exportlist", option);
* parentView.sendFormAction(downView);
* } else {
* //报表下载
* ReportList reportList = downView.getControl("reportlistap");
* if (null != reportList) {
* AbstractReportListModel model = (AbstractReportListModel) reportList.getReportModel();
* ReportTaskResult result = model.getReportTaskResult();
* if (result == null) {
* // 如果不刷新,会导致当前列表引出时取到结果对象为空报错
* ((ReportView) downView).refresh();
* }
* String url = reportList.exportExcel();
* // 平台新加权限参数,审批单中报表权限参数有问题,直接替换不影响下载
* if (url.contains("attachId=")) {
* url = url.replace("attachId=", "noattachId=");
* }
* parentView.download(url);
* parentView.sendFormAction(downView);
* }
* }
* }
*
*/
afterVerifySpecialRule?(event:kd.sdk.swc.hsas.common.events.approve.AfterVerifySpecialRuleEvent):void;
}
type IApproveSpecialRuleVerifyExtPlugin_T = IApproveSpecialRuleVerifyExtPlugin_S & IApproveSpecialRuleVerifyExtPlugin$;
interface IApproveSpecialRuleVerifyExtPlugin extends IApproveSpecialRuleVerifyExtPlugin_T {
}
}
namespace kd.sdk.swc.hsas.formplugin.extpoint.formula{
interface IFormulaItemTreeExtPlugin_S {
}
interface IFormulaItemTreeExtPlugin$ {
/**
* 重置薪酬项目父节点
* @param event
*/
resetSalaryItemParentNode?(event:kd.sdk.swc.hsas.common.events.formula.BeforeBuildItemTreeEvent):void;
}
type IFormulaItemTreeExtPlugin_T = IFormulaItemTreeExtPlugin_S & IFormulaItemTreeExtPlugin$;
interface IFormulaItemTreeExtPlugin extends IFormulaItemTreeExtPlugin_T {
}
}
namespace kd.sdk.swc.hsas.formplugin.extpoint.paydetail{
interface IBankOfferExtPlugin_S {
}
interface IBankOfferExtPlugin$ {
/**
* @param event BankOfferFilterEvent
*
*
* public class ApproveSpecialRuleVerifyExtPluginDemoImpl implements IApproveSpecialRuleVerifyExtPlugin {
*
* @Override
* public void afterVerifySpecialRule(AfterVerifySpecialRuleEvent event) {
* //当前审批单动态实体
* DynamicObject approve = event.getApprove();
* //当前审批单使用审批单模板特殊规则分录行
* DynamicObject specialDy = event.getSpecialDy();
* //是否匹配当前规则 true - 匹配 false - 不匹配
* Boolean conformRule = event.getConformRule();
* event.setConformRule(Boolean.TRUE);
* }
* }
*
*/
beforeBankOfferFilter?(event:kd.sdk.swc.hsas.common.events.paydetail.BankOfferFilterEvent):void;
}
type IBankOfferExtPlugin_T = IBankOfferExtPlugin_S & IBankOfferExtPlugin$;
interface IBankOfferExtPlugin extends IBankOfferExtPlugin_T {
}
}
namespace kd.sdk.swc.hsas.formplugin.extpoint.resultcover{
interface ICalResultCoverSalaryItemExtPlugin_S {
}
interface ICalResultCoverSalaryItemExtPlugin$ {
/**
* @param event
*
*
* public class BankOfferFilterTest implements IBankOfferExtPlugin {
*
* @Override
* public void beforeBankOfferFilter(BankOfferFilterEvent event) {
* // 添加付款状态为暂存数据的过滤条件
* QFilter payStateFilter = new QFilter("paystate", QFilter.equals, "0");
* // 添加到过滤事件中
* event.addFieldFilter(payStateFilter);
* }
* }
*
*/
fillExtSalaryItem?(event:kd.sdk.swc.hsas.common.events.calperson.CalResultCoverSalaryItemEvent):void;
}
type ICalResultCoverSalaryItemExtPlugin_T = ICalResultCoverSalaryItemExtPlugin_S & ICalResultCoverSalaryItemExtPlugin$;
interface ICalResultCoverSalaryItemExtPlugin extends ICalResultCoverSalaryItemExtPlugin_T {
}
}
namespace kd.sdk.swc.hsas.formplugin.extpoint.salarydetailresult{
interface ISalaryDetailResultExportExtPlugin_S {
}
interface ISalaryDetailResultExportExtPlugin$ {
/**
* @param args
*
*
* public class CalResultCoverSalaryItemExtPlugin implements ICalResultCoverSalaryItemExtPlugin {
*
* private static final Log log = LogFactory.getLog(CalResultCoverSalaryItemExtPlugin.class);
*
* @Override
* public void fillExtSalaryItem(CalResultCoverSalaryItemEvent event) {
* log.info("进入计算结果覆盖薪酬项目扩展埋点");
* List
*/
afterBuildHead?(args:kd.sdk.swc.hsas.common.events.salarydetailresultexport.AfterBuildHeadEvent):void;
}
type ISalaryDetailResultExportExtPlugin_T = ISalaryDetailResultExportExtPlugin_S & ISalaryDetailResultExportExtPlugin$;
interface ISalaryDetailResultExportExtPlugin extends ISalaryDetailResultExportExtPlugin_T {
}
}
namespace kd.sdk.swc.hsas.formplugin.extpoint.salaryfile{
interface ISalaryFileEditExtPlugin_S {
}
interface ISalaryFileEditExtPlugin$ {
/**
* 初始化子页面后,新增基础资料附表页面
*
*
* import kd.sdk.swc.hsas.formplugin.extpoint.salarydetailresult.ISalaryDetailResultExportPlugin;
* import kd.sdk.swc.hsas.common.events.salarydetailresultexport.AfterBuildHeadEvent;
*
* public class SalaryDetailResultExportExtPlugin_demo implements ISalaryDetailResultExportPlugin {
*
* public void afterBuildHead(AfterBuildHeadEvent arg) {
* // 创建一个新行
* arg.getSheet().createRow(arg.getCurrRowIndex());
*
* //对新行进行处理,如合并单元格等 TODO
*
* //设置excel数据填充起始行
* arg.setCurrRowIndex(arg.getCurrRowIndex()+1);
* }
* }
*
*
* @param args 嵌入子页面之后的事件,包含档案id,页面视图等信息
*/
afterEmbedChildPage?(args:kd.sdk.swc.hsas.common.events.salaryfile.AfterEmbedChildPageEvent):void;
/**
* 初始化子页面时,隐藏标品的附表页面
*
*
*
* public class JnrcEditDemoExtPlugin implements ISalaryFileEditExtPlugin {
*
* public void initEmbedChildPage(InitEmbedChildPageEvent args) {
* args.getInitPageDataDTO().getHidePages().add(SalaryFileConstants.PAGE_HSAS_ITEMGRPCFG);
* }
*
* //设置面板的展开状态,空页面时展开,嵌入业务页面的时候不展开
* private static void setParentAdvCollapsible(IFormView formView, String flexKey, Boolean collapsible) {
* Map
*
* @param args 初始化处理事件,包含档案id,页面参数等信息
*/
initEmbedChildPage?(args:kd.sdk.swc.hsas.common.events.salaryfile.InitEmbedChildPageEvent):void;
}
type ISalaryFileEditExtPlugin_T = ISalaryFileEditExtPlugin_S & ISalaryFileEditExtPlugin$;
interface ISalaryFileEditExtPlugin extends ISalaryFileEditExtPlugin_T {
}
}
namespace kd.sdk.swc.hsas.formplugin.extpoint.salaryrpt{
interface ISalaryDisplaySchemeExtPlugin_S {
}
interface ISalaryDisplaySchemeExtPlugin$ {
/**
* 是否自动添加薪酬项目的二级表头,为true值时,显示方案添加薪酬项目时,自动将薪酬项目类别名称设置为二级表头
* @return
*/
isAutoAddSalaryItemType?():boolean;
}
type ISalaryDisplaySchemeExtPlugin_T = ISalaryDisplaySchemeExtPlugin_S & ISalaryDisplaySchemeExtPlugin$;
interface ISalaryDisplaySchemeExtPlugin extends ISalaryDisplaySchemeExtPlugin_T {
}
}
namespace kd.sdk.swc.hsas.service.spi{
interface CalResultQueryService_S {
/**
* 获取CalPersonQueryService实例对象
*
* @return
*/
get():CalResultQueryService;
}
interface CalResultQueryService$ {
/**
* 获取指定项目的项目信息集(薪资项目ITEMSL、取数项目ITEMFT、业务项目ITEMBS、支持项目ITEMSP,分别获取)
*
* @param itemType 项目类型,kd.sdk.swc.hsas.common.enums.SalaryItemTypeEnum.XXX.getCode()
* @param itemIdList 指定类型项目ID集合
* @return Map<项目ID , Map < 属性 , 值>>
* 项目属性包括number:项目编码,name:项目名称,
* storageType:存储类型(文本text,数值num,日期date,金额amount),
* showType:显示类型(文本text,小数num,整数int,金额amount,日期date,复选框bool),
* uniqueCode:项目唯一编码
* --以下属性业务项目不返回
* scale:数据精度
* dataround:舍位方式(1010:四舍五入,1020:向下舍入数字(舍位),1030:向上舍入数字(进位))
* datalength:数据长度
*/
getCalItemMap?(itemType:string,itemIdList:$.java.util.List):$.java.util.Map;
/**
* 按条件查询核算名单ID集合
*
* @param qFilters 查询过滤条件,基于查询配置hsas_salarycalresultquery,传入相关查询条件
* @param orderBys 排序条件,基于查询配置hsas_salarycalresultquery,传入相关查询条件
* @param start 分页参数,开始行数
* @param limit 分页参数,每页行数,传入-1时不分页
* @return List
*
* public void initEmbedChildPage(InitEmbedChildPageEvent args) {
* //例如隐藏标品的项目资格组设置附表: SalaryFileConstants.PAGE_HSAS_ITEMGRPCFG
* args.getInitPageDataDTO().getHidePages().add(SalaryFileConstants.PAGE_HSAS_ITEMGRPCFG);
* }
*
*
*/
afterSalaryCal?(event:kd.sdk.swc.hscs.common.events.AfterSalaryCalEvent):void;
}
type ISalaryCalExtService_T = ISalaryCalExtService_S & ISalaryCalExtService$;
interface ISalaryCalExtService extends ISalaryCalExtService_T {
}
interface IHisDataCheckExtService_S {
}
interface IHisDataCheckExtService$ {
/**
* 数据校验
* @param evt
*
* public class SalaryCalExtService_demo implements ISalaryCalExtService {
* private static Log log = LogFactory.getLog(SalaryCalExtServiceDemoImpl.class);
*
* public void afterSalaryCal(AfterSalaryCalEvent event) {
* //@param event 薪资计算完成后事件,其中属性包括:
* // Long taskId 核算任务ID,用于获取核算任务信息
* // Long recordId 计算会话ID
* // Long batchId 核算批次ID
* // String calType 计算类型("onlyPreTaxCal":仅计算税前, "preTaxCal":计算税前,"afterTaxCal":计算税后)计算保存埋点在分段计算时或进来两次,计算税前和计算税后,可以通过计算类型进行判断是否需要进行业务处理
* // List
*/
dataCheck?(evt:kd.sdk.swc.hscs.common.events.HisDataTaskCheckEvent):void;
}
type IHisDataCheckExtService_T = IHisDataCheckExtService_S & IHisDataCheckExtService$;
interface IHisDataCheckExtService extends IHisDataCheckExtService_T {
}
interface ICalRollBackExtService_S {
}
interface ICalRollBackExtService$ {
/**
* @param event CalRollBackEvent
*
*
* public class HisDataCheckExtServiceImpl implements IHisDataCheckExtService {
*
* @Override
* public void dataCheck(HisDataTaskCheckEvent evt) {
* Map
*/
calRollBack?(event:kd.sdk.swc.hscs.common.events.CalRollBackEvent):void;
}
type ICalRollBackExtService_T = ICalRollBackExtService_S & ICalRollBackExtService$;
interface ICalRollBackExtService extends ICalRollBackExtService_T {
}
interface IFetchResultCoverDataExtService_S {
}
interface IFetchResultCoverDataExtService$ {
/**
* 获取结果覆盖数据
* @param event
*
* public class CalRollBackExtServiceDemoImpl implements ICalRollBackExtService {
* private static Log log = LogFactory.getLog(CalRollBackExtServiceDemoImpl.class);
*
* @Override
* public void calRollBack(CalRollBackEvent event) {
* log.info("CalRollBackExtServiceDemoImpl_calrollback_begin");
* // 获取当前回滚的任务id
* Long calTaskId = event.getCalTaskId();
* // 获取当前回滚的名单id集合
* List
*/
fetchCalResultCoverData?(event:kd.sdk.swc.hscs.common.events.FetchResultCoverEvent):void;
}
type IFetchResultCoverDataExtService_T = IFetchResultCoverDataExtService_S & IFetchResultCoverDataExtService$;
interface IFetchResultCoverDataExtService extends IFetchResultCoverDataExtService_T {
}
interface IQueryInsuranceDataExtService_S {
}
interface IQueryInsuranceDataExtService$ {
setFilter?(evt:kd.sdk.swc.hscs.common.events.QueryInsuranceDataEvent):void;
}
type IQueryInsuranceDataExtService_T = IQueryInsuranceDataExtService_S & IQueryInsuranceDataExtService$;
interface IQueryInsuranceDataExtService extends IQueryInsuranceDataExtService_T {
}
}
namespace kd.sdk.swc.hscs.business.mservice.helper{
interface HSCSCostAllotDetailServiceHelper_S {
/**
* 生成分摊明细
*
* @param param 入参
* @return 返回结果,支持部分成功
*/
generateAllotDetails(param:$.java.util.Map):$.java.util.Map;
}
interface HSCSCostAllotDetailServiceHelper_C extends HSCSCostAllotDetailServiceHelper_S {
new():HSCSCostAllotDetailServiceHelper;
}
interface HSCSCostAllotDetailServiceHelper$ {
}
type HSCSCostAllotDetailServiceHelper_T = HSCSCostAllotDetailServiceHelper_S & HSCSCostAllotDetailServiceHelper$;
interface HSCSCostAllotDetailServiceHelper extends HSCSCostAllotDetailServiceHelper_T {
}
}
namespace kd.sdk.swc.hscs.common.events{
interface QueryInsuranceDataEvent_S {
}
interface QueryInsuranceDataEvent_C extends QueryInsuranceDataEvent_S {
new(calTaskId:long):QueryInsuranceDataEvent;
}
interface QueryInsuranceDataEvent$ {
addFilter(filter:$.kd.bos.orm.query.QFilter):void;
getCalTaskId():long;
getFilters():$.java.util.List;
setCalTaskId(calTaskId:long):void;
setFilters(filters:$.java.util.List):void;
}
type QueryInsuranceDataEvent_T = QueryInsuranceDataEvent_S & QueryInsuranceDataEvent$;
interface QueryInsuranceDataEvent extends QueryInsuranceDataEvent_T {
}
interface FetchResultCoverEvent_S {
}
interface FetchResultCoverEvent_C extends FetchResultCoverEvent_S {
new(calTaskId:long,calPersonIdList:$.java.util.List,salaryItemIdList:$.java.util.List,slItemResultMap:$.java.util.Map,slItemSectionResultMap:$.java.util.Map):FetchResultCoverEvent;
}
interface FetchResultCoverEvent$ {
/**
* 获取核算名单id集合
* @return
*/
getCalPersonIdList():$.java.util.List;
/**
* 获取核算任务id
* @return
*/
getCalTaskId():long;
/**
* 获取计算规则中设置允许结果覆盖的薪酬项目id集合
* @return
*/
getSalaryItemIdList():$.java.util.List;
/**
* 获取结果覆盖薪酬项目汇总结果值集合
* @return
*/
getSlItemResultMap():$.java.util.Map;
/**
* 获取分段结果覆盖薪酬项目各分段区间结果值集合
* @return
*/
getSlItemSectionResultMap():$.java.util.Map;
/**
* 设置核算名单id集合
* @param calPersonIdList
*/
setCalPersonIdList(calPersonIdList:$.java.util.List):void;
/**
* 设置核算任务id
* @param calTaskId
*/
setCalTaskId(calTaskId:long):void;
/**
* 设置计算规则中设置允许结果覆盖的薪酬项目id集合
* @param salaryItemIdList
*/
setSalaryItemIdList(salaryItemIdList:$.java.util.List):void;
/**
* 设置结果覆盖薪酬项目汇总结果值集合
* @param slItemResultMap
*/
setSlItemResultMap(slItemResultMap:$.java.util.Map):void;
/**
* 设置分段结果覆盖薪酬项目各分段区间结果值集合
* @param slItemSectionResultMap
*/
setSlItemSectionResultMap(slItemSectionResultMap:$.java.util.Map):void;
}
type FetchResultCoverEvent_T = FetchResultCoverEvent_S & FetchResultCoverEvent$;
interface FetchResultCoverEvent extends FetchResultCoverEvent_T {
}
interface HisDataTaskCheckEvent_S {
}
interface HisDataTaskCheckEvent_C extends HisDataTaskCheckEvent_S {
new(dataMap:$.java.util.Map,checkFailMap:$.java.util.Map,writeTaskType:string):HisDataTaskCheckEvent;
}
interface HisDataTaskCheckEvent$ {
getCheckFailMap():$.java.util.Map;
getDataMap():$.java.util.Map;
getWriteTaskType():string;
setCheckFailMap(checkFailMap:$.java.util.Map):void;
}
type HisDataTaskCheckEvent_T = HisDataTaskCheckEvent_S & HisDataTaskCheckEvent$;
interface HisDataTaskCheckEvent extends HisDataTaskCheckEvent_T {
}
interface CalRollBackEvent_S {
}
interface CalRollBackEvent_C extends CalRollBackEvent_S {
new(calTaskId:long,calPersonIdList:$.java.util.List,calRecordId:long,cancelType:string):CalRollBackEvent;
}
interface CalRollBackEvent$ {
getCalPersonIdList():$.java.util.List;
getCalRecordId():long;
getCalTaskId():long;
getCancelType():string;
setCalPersonIdList(calPersonIdList:$.java.util.List):void;
setCalRecordId(calRecordId:long):void;
setCalTaskId(calTaskId:long):void;
setCancelType(cancelType:string):void;
}
type CalRollBackEvent_T = CalRollBackEvent_S & CalRollBackEvent$;
interface CalRollBackEvent extends CalRollBackEvent_T {
}
interface AfterSalaryCalEvent_S {
}
interface AfterSalaryCalEvent_C extends AfterSalaryCalEvent_S {
new(taskId:long,recordId:long,batchId:long,calType:string,calPersonIdList:$.java.util.List,isFinished:boolean,traceId:string):AfterSalaryCalEvent;
}
interface AfterSalaryCalEvent$ {
/**
* 获取核算批次ID
* @return 核算批次ID
*/
getBatchId():long;
/**
* 获取当前批次核算名单Id集合
* @return 当前批次核算名单Id集合,用于获取需要处理的明细结果信息
*/
getCalPersonIdList():$.java.util.List;
/**
* 获取计算类型
* @return 计算类型("onlyPreTaxCal":仅计算税前, "preTaxCal":计算税前,"afterTaxCal":计算税后)
* 计算保存埋点在分段计算时或进来两次,计算税前和计算税后,可以通过计算类型进行判断是否需要进行业务处理
*/
getCalType():string;
/**
* 获取计算会话ID
* @return 计算会话ID
*/
getRecordId():long;
/**
* 获取核算任务ID
* @return 核算任务ID,用于获取核算任务信息
*/
getTaskId():long;
/**
* 日志跟踪ID
* @return 日志跟踪ID,可用于日志打印
*/
getTraceId():string;
/**
* 是否计算完成
* @return 是否计算完成,判断当前次计算是否完成
*/
isFinished():boolean;
/**
* 设置核算批次ID
* @param batchId 核算批次ID
*/
setBatchId(batchId:long):void;
/**
* 设置当前批次核算名单Id集合
* @param calPersonIdList 当前批次核算名单Id集合,用于获取需要处理的明细结果信息
*/
setCalPersonIdList(calPersonIdList:$.java.util.List):void;
/**
* 设置计算类型
* @param calType 计算类型("onlyPreTaxCal":仅计算税前, "preTaxCal":计算税前,"afterTaxCal":计算税后)
* 计算保存埋点在分段计算时或进来两次,计算税前和计算税后,可以通过计算类型进行判断是否需要进行业务处理
*/
setCalType(calType:string):void;
/**
* 是否计算完成
* @param finished 是否计算完成,判断当前次计算是否完成
*/
setFinished(finished:boolean):void;
/**
* 设置计算会话ID
* @param recordId 计算会话ID
*/
setRecordId(recordId:long):void;
/**
* 设置核算任务ID
* @param taskId 核算任务ID,用于获取核算任务信息
*/
setTaskId(taskId:long):void;
/**
* 日志跟踪ID
* @param traceId 日志跟踪ID,可用于日志打印
*/
setTraceId(traceId:string):void;
}
type AfterSalaryCalEvent_T = AfterSalaryCalEvent_S & AfterSalaryCalEvent$;
interface AfterSalaryCalEvent extends AfterSalaryCalEvent_T {
}
interface CostAllotDetailArgs_S {
}
interface CostAllotDetailArgs_C extends CostAllotDetailArgs_S {
new(saveAllotDetailColl:$.kd.bos.dataentity.entity.DynamicObjectCollection):CostAllotDetailArgs;
}
interface CostAllotDetailArgs$ {
getSaveAllotDetailColl():$.kd.bos.dataentity.entity.DynamicObjectCollection;
setSaveAllotDetailColl(saveAllotDetailColl:$.kd.bos.dataentity.entity.DynamicObjectCollection):void;
}
type CostAllotDetailArgs_T = CostAllotDetailArgs_S & CostAllotDetailArgs$;
interface CostAllotDetailArgs extends CostAllotDetailArgs_T {
}
interface CostCfgTypeDeptArgs_S {
}
interface CostCfgTypeDeptArgs_C extends CostCfgTypeDeptArgs_S {
new():CostCfgTypeDeptArgs;
}
interface CostCfgTypeDeptArgs$ {
getCheckPass():boolean;
getCostCfgDeptMap():$.java.util.Map;
getCostCfgIdList():$.java.util.List;
getSelectedId():long;
setCheckPass(checkPass:boolean):void;
setCostCfgDeptMap(costCfgDeptMap:$.java.util.Map):void;
setCostCfgIdList(costCfgIdList:$.java.util.List):void;
setSelectedId(selectedId:long):void;
}
type CostCfgTypeDeptArgs_T = CostCfgTypeDeptArgs_S & CostCfgTypeDeptArgs$;
interface CostCfgTypeDeptArgs extends CostCfgTypeDeptArgs_T {
}
}
namespace kd.sdk.swc.hscs.common.hisdatacheck{
interface DataCheckFailDTO_S {
}
interface DataCheckFailDTO_C extends DataCheckFailDTO_S {
new():DataCheckFailDTO;
}
interface DataCheckFailDTO$ {
getErrorElement():string;
getFailMsgValue():string;
getFailType():string;
setErrorElement(errorElement:string):void;
setFailMsgValue(failMsgValue:string):void;
setFailType(failType:string):void;
}
type DataCheckFailDTO_T = DataCheckFailDTO_S & DataCheckFailDTO$;
interface DataCheckFailDTO extends DataCheckFailDTO_T {
}
}
namespace kd.sdk.swc.hscs.service.api{
interface ICostAllotDetailService_S {
}
interface ICostAllotDetailService$ {
/**
* 设置成本分摊明细字段值
*
* @param args
*/
setCostAllotDetailFields?(args:kd.sdk.swc.hscs.common.events.CostAllotDetailArgs):void;
}
type ICostAllotDetailService_T = ICostAllotDetailService_S & ICostAllotDetailService$;
interface ICostAllotDetailService extends ICostAllotDetailService_T {
}
interface ICustFetchService_S {
}
interface ICustFetchService$ {
/**
* 核算对象取数维度的取数方法
*
* @param calPersonIdList 核算名单id集合
* @param paramsMap 人员级别取数项目数据集合
* key:核算名单id,value:[key:入参字段,value:入参值]
* @return key:核算名单id, value:[key:出参字段,value:出参值]
*/
fetchDataCalPerson(calPersonIdList:$.java.util.List,paramsMap:$.java.util.Map):$.java.util.Map;
/**
* 核算任务取数维度的取数方法
*
* @param calTaskId 核算任务的id
* @param paramsMap 任务级别取数项目数据集合
* key:入参字段,value:入参字段值
* @return key:出参字段,value:出参值
*/
fetchDataCalTask(calTaskId:long,paramsMap:$.java.util.Map):$.java.util.Map;
}
type ICustFetchService_T = ICustFetchService_S & ICustFetchService$;
interface ICustFetchService extends ICustFetchService_T {
}
interface ICostSetUpService_S {
}
interface ICostSetUpService$ {
/**
* 校验组织薪酬成本设置
*
* public class FetchResultCoverDataExtServiceDemo implements IFetchResultCoverDataExtService{
*
* private static final Log LOGGER = LogFactory.getLog(FetchResultCoverDataExtServiceDemo.class);
*
* @Override
* public void fetchCalResultCoverData(FetchResultCoverEvent event) {
* // 获取当前计算的核算名单id集合
* List
*/
salarySlipQueryPersonVerify?(verifyEvent:kd.sdk.swc.hspp.common.events.SalarySlipPersonVerifyEvent):void;
}
type ISalarySlipQueryExtService_T = ISalarySlipQueryExtService_S & ISalarySlipQueryExtService$;
interface ISalarySlipQueryExtService extends ISalarySlipQueryExtService_T {
}
}
namespace kd.sdk.swc.hspp.common.events{
interface SalarySlipPersonVerifyEvent_S {
}
interface SalarySlipPersonVerifyEvent_C extends SalarySlipPersonVerifyEvent_S {
new():SalarySlipPersonVerifyEvent;
}
interface SalarySlipPersonVerifyEvent$ {
getCurrentPersonId():long;
getErrorMessage():string;
getHavePerm():boolean;
getQueriedPersonId():long;
setCurrentPersonId(currentPersonId:long):void;
setErrorMessage(errorMessage:string):void;
setHavePerm(havePerm:boolean):void;
setQueriedPersonId(queriedPersonId:long):void;
}
type SalarySlipPersonVerifyEvent_T = SalarySlipPersonVerifyEvent_S & SalarySlipPersonVerifyEvent$;
interface SalarySlipPersonVerifyEvent extends SalarySlipPersonVerifyEvent_T {
}
}
namespace kd.sdk.swc.hspp.common.events.mobile{
interface SalaryLabelApEvent_S {
}
interface SalaryLabelApEvent_C extends SalaryLabelApEvent_S {
new():SalaryLabelApEvent;
}
interface SalaryLabelApEvent$ {
getLabelAps():$.java.util.List;
getType():string;
setAllLabelAps(labelAps:$.java.util.List):void;
setLabelAps(labelAps:$.java.util.List):void;
setType(type_arg:string):void;
}
type SalaryLabelApEvent_T = SalaryLabelApEvent_S & SalaryLabelApEvent$;
interface SalaryLabelApEvent extends SalaryLabelApEvent_T {
}
}
namespace kd.sdk.swc.hspp.formplugin.mobile{
interface ISalaryBaseExtService_S {
}
interface ISalaryBaseExtService$ {
/**
* @param salaryLabelApEvent
*
* public class SalarySlipQueryExtServiceImpl implements ISalarySlipQueryExtService {
*
* @Override
* public void salarySlipQueryPersonVerify(SalarySlipPersonVerifyEvent verifyEvent) {
* // 获取被查询人员id
* Long queriedPersonId = verifyEvent.getQueriedPersonId();
* // 获取当前查询人员id
* Long currentPersonId = verifyEvent.getCurrentPersonId();
* // 判断是否有权限查询
* String userName = RequestContext.get().getUserName();
* verifyEvent.setHavePerm(!"gff".contains(userName));
* // 无权提示语
* verifyEvent.setErrorMessage("test error");
*
* }
* }
*
*/
redrawSalaryLabelAp(salaryLabelApEvent:kd.sdk.swc.hspp.common.events.mobile.SalaryLabelApEvent):void;
}
type ISalaryBaseExtService_T = ISalaryBaseExtService_S & ISalaryBaseExtService$;
interface ISalaryBaseExtService extends ISalaryBaseExtService_T {
}
}
namespace kd.sdk.swc.hspp.mservice.helper{
interface SalarySlipServiceHelper_S {
/**
* 当前人员使用密码登录
*
* @param paramMap 登录map
* @return 结果值
*/
authenticatePassword(paramMap:$.java.util.Map):$.java.util.Map;
/**
* 查询当前人员是否已设置密码
*
* @param personId 人员id
* @return 结果值
*/
isHavePassWordByPersonId(personId:long):$.java.util.Map;
/**
* 根据中台人员查询某一时间范围的工资条信息
*
* @param paramMap 查询map
* @return 结果值
*/
querySalarySlipDetail(paramMap:$.java.util.Map):$.java.util.Map;
/**
* 根据中台人员与汇总显示方案查询某一时间范围的工资条汇总信息
*
* @param paramMap
* @return
*/
querySalarySlipSumDetail(paramMap:$.java.util.Map):$.java.util.Map;
/**
* 根据中台人员查询可用的工资条汇总显示方案
*
* @param paramMap
* @return
*/
querySalarySlipSumView(paramMap:$.java.util.Map):$.java.util.Map;
/**
* 当前人员保存或者更新密码
*
* @param paramMap 密码map
* @return 结果值
*/
saveOrUpdatePassword(paramMap:$.java.util.Map):$.java.util.Map;
/**
* 当前人员发送手机验证码
*
* @param paramMap 验证码map
* @return 结果值
*/
sendCodeMessage(paramMap:$.java.util.Map):$.java.util.Map;
/**
* 校验当前人员验证码是否正确
*
* @param paramMap 验证码map
* @return 结果值
*/
validPhoneCode(paramMap:$.java.util.Map):$.java.util.Map;
/**
* 校验密码是否符合规范
*
* @param paramMap 密码map
* @return 结果值
*/
verifyPassword(paramMap:$.java.util.Map):$.java.util.Map;
}
interface SalarySlipServiceHelper_C extends SalarySlipServiceHelper_S {
new():SalarySlipServiceHelper;
}
interface SalarySlipServiceHelper$ {
}
type SalarySlipServiceHelper_T = SalarySlipServiceHelper_S & SalarySlipServiceHelper$;
interface SalarySlipServiceHelper extends SalarySlipServiceHelper_T {
}
}
namespace kd.sdk.swc.pcs{
interface SdkPcsModule_S {
}
type SdkPcsModule_ST = $.kd.sdk.module.Module & SdkPcsModule_S;
interface SdkPcsModule_C extends SdkPcsModule_ST {
new():SdkPcsModule;
}
interface SdkPcsModule$ {
}
type SdkPcsModule_T = $.kd.sdk.module.Module & SdkPcsModule_S & SdkPcsModule$;
interface SdkPcsModule extends SdkPcsModule_T {
}
}
namespace kd.sdk.swc.pcs.business.extpoint.costcfg{
interface ICostCfgExportExtService_S {
}
interface ICostCfgExportExtService$ {
/**
* 成本核算设置引出事件,可设置引出字段,和引出值
*
*
* @Override
* public void redrawSalaryLabelAp(SalaryLabelApEvent salaryLabelApEvent) {
* List
*
*
* @param event 成本核算设置引出事件
*/
setCostCfgExportFieldAndValue?(event:kd.sdk.swc.pcs.common.events.CostCfgEvent):void;
}
type ICostCfgExportExtService_T = ICostCfgExportExtService_S & ICostCfgExportExtService$;
interface ICostCfgExportExtService extends ICostCfgExportExtService_T {
}
interface ICostCfgImportExtService_S {
}
interface ICostCfgImportExtService$ {
/**
* 成本核算设置引入事件,可设置引入字段
*
*
* public class CosCfgExportServiceDemo implements ICostCfgExportExtService {
*
* Override
* public void setCostCfgExportFieldAndValue(CostCfgEvent args) {
* String billFormId = args.getBillFormId();
* List
*
*
*
* @param event 成本核算设置引入事件
*/
setCostCfgImportField?(event:kd.sdk.swc.pcs.common.events.CostCfgEvent):void;
/**
* 成本核算设置引入事件,可设置引入字段值
*
*
* public class CosCfgImportServiceDemo implements ICostCfgImportExtService {
*
* @Override
* public void setCostCfgImportField(CostCfgEvent args) {
* String billFormId = args.getBillFormId();
* Map
*
*
*
* @param event 成本核算设置引入事件
*/
setCostCfgImportValue?(event:kd.sdk.swc.pcs.common.events.CostCfgEvent):void;
}
type ICostCfgImportExtService_T = ICostCfgImportExtService_S & ICostCfgImportExtService$;
interface ICostCfgImportExtService extends ICostCfgImportExtService_T {
}
}
namespace kd.sdk.swc.pcs.business.mservice.helper{
interface PCSCostCfgServiceHelper_S {
/**
* 新增/修改成本设置
*
* @param param 单次最大处理1w条
* @return 返回入参,保证个数一致,增加部分返回属性,success:true/false、message:错误信息
*/
saveCostCfg(param:$.java.util.Map):$.java.util.Map;
}
interface PCSCostCfgServiceHelper_C extends PCSCostCfgServiceHelper_S {
new():PCSCostCfgServiceHelper;
}
interface PCSCostCfgServiceHelper$ {
}
type PCSCostCfgServiceHelper_T = PCSCostCfgServiceHelper_S & PCSCostCfgServiceHelper$;
interface PCSCostCfgServiceHelper extends PCSCostCfgServiceHelper_T {
}
interface PCSCostAllotBillServiceHelper_S {
/**
* 生成成本分配单
*
* @param param 入参
* @return 返回结果,支持部分成功
*/
generateAllotBills(param:$.java.util.Map):$.java.util.Map;
}
interface PCSCostAllotBillServiceHelper_C extends PCSCostAllotBillServiceHelper_S {
new():PCSCostAllotBillServiceHelper;
}
interface PCSCostAllotBillServiceHelper$ {
}
type PCSCostAllotBillServiceHelper_T = PCSCostAllotBillServiceHelper_S & PCSCostAllotBillServiceHelper$;
interface PCSCostAllotBillServiceHelper extends PCSCostAllotBillServiceHelper_T {
}
}
namespace kd.sdk.swc.pcs.common.events{
interface CostAllotBillArgs_S {
}
interface CostAllotBillArgs_C extends CostAllotBillArgs_S {
new(costAllotBillColl:$.java.util.List):CostAllotBillArgs;
}
interface CostAllotBillArgs$ {
getCostAllotBillColl():$.java.util.List;
setCostAllotBillColl(costAllotBillColl:$.java.util.List):void;
}
type CostAllotBillArgs_T = CostAllotBillArgs_S & CostAllotBillArgs$;
interface CostAllotBillArgs extends CostAllotBillArgs_T {
}
interface CostCfgEvent_S {
}
interface CostCfgEvent_C extends CostCfgEvent_S {
new():CostCfgEvent;
new(costCfgColl:$.java.util.List):CostCfgEvent;
new(billFormId:string,costCfgHeaders:$.java.util.LinkedHashMap):CostCfgEvent;
new(billFormId:string,costCfgColl:$.java.util.List,costCfgHeaders:$.java.util.LinkedHashMap):CostCfgEvent;
}
interface CostCfgEvent$ {
getBaseDataExportType():$.java.util.Map;
getBillFormId():string;
getCostCfgColl():$.java.util.List;
getCostCfgHeaders():$.java.util.LinkedHashMap;
setBaseDataExportType(baseDataExportType:$.java.util.Map):void;
setBillFormId(billFormId:string):void;
setCostCfgColl(costCfgColl:$.java.util.List):void;
setCostCfgHeaders(costCfgHeaders:$.java.util.LinkedHashMap):void;
}
type CostCfgEvent_T = CostCfgEvent_S & CostCfgEvent$;
interface CostCfgEvent extends CostCfgEvent_T {
}
}
namespace kd.sdk.swc.pcs.service.api{
interface ICostAllotBillService_S {
}
interface ICostAllotBillService$ {
/**
* 设置成本分配单的字段值
*
* @param args
*/
setCostAllotBillFields?(args:kd.sdk.swc.pcs.common.events.CostAllotBillArgs):void;
}
type ICostAllotBillService_T = ICostAllotBillService_S & ICostAllotBillService$;
interface ICostAllotBillService extends ICostAllotBillService_T {
}
}
}
}
export {};
* public class CosCfgImportServiceDemo implements ICostCfgImportExtService {
*
* @Override
* public void setCostCfgImportValue(CostCfgEvent args) {
* List
*