|
|
@@ -1,7 +1,6 @@
|
|
|
package nckd.jxccl.sit.hcsi.business.coordination;
|
|
|
|
|
|
|
|
|
-import com.kingdee.bos.framework.core.exception.BizException;
|
|
|
import kd.bos.dataentity.OperateOption;
|
|
|
import kd.bos.dataentity.entity.DynamicObject;
|
|
|
import kd.bos.dataentity.entity.DynamicObjectCollection;
|
|
|
@@ -11,7 +10,6 @@ import kd.bos.logging.Log;
|
|
|
import kd.bos.logging.LogFactory;
|
|
|
import kd.bos.org.utils.DynamicObjectUtils;
|
|
|
import kd.bos.servicehelper.operation.OperationServiceHelper;
|
|
|
-import kd.bos.servicehelper.operation.SaveServiceHelper;
|
|
|
import nckd.jxccl.sit.hcsi.common.constant.SitConstant;
|
|
|
|
|
|
import java.util.HashSet;
|
|
|
@@ -79,6 +77,7 @@ public class SinsurCoordSplitService {
|
|
|
DynamicObjectUtils.copy(oldEntry, newEntry);
|
|
|
newBill.set("welfarepayer_r31", oldEntry.getDynamicObject("nckd_welfarepayer"));
|
|
|
newBill.set("welfarepayertheory_r31", oldEntry.getDynamicObject("nckd_welfarepayertheory"));
|
|
|
+ newBill.set("sinsurstd_r31", getSinSurStdByWelfPayerId(oldEntry.getLong("nckd_welfarepayer.id")));
|
|
|
}
|
|
|
newBillCol.add(newBill);
|
|
|
}
|
|
|
@@ -174,6 +173,19 @@ public class SinsurCoordSplitService {
|
|
|
return isNeedSplit;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 根据实际参保单位获取参保标准
|
|
|
+ * 直接取参保单位上参保标准字段
|
|
|
+ *
|
|
|
+ * @param welfPayerId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public DynamicObject getSinSurStdByWelfPayerId (Long welfPayerId) {
|
|
|
+ DynamicObject dyn = SitConstant.WELFARETYPE_HELPER.loadOne(welfPayerId);
|
|
|
+ return dyn.getDynamicObject("mulsinsurstd");
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 获取社保员工变动处理单数据包
|
|
|
* @return
|