ExpandAssessService.java 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. package com.kingdee.eas.custom.expandassess.service;
  2. import com.kingdee.bos.BOSException;
  3. import com.kingdee.bos.Context;
  4. import com.kingdee.bos.metadata.entity.EntityViewInfo;
  5. import com.kingdee.bos.metadata.entity.FilterInfo;
  6. import com.kingdee.bos.metadata.entity.FilterItemInfo;
  7. import com.kingdee.bos.metadata.query.util.CompareType;
  8. import com.kingdee.eas.common.EASBizException;
  9. import com.kingdee.eas.custom.expandassess.ExpandAssessEntryCollection;
  10. import com.kingdee.eas.custom.expandassess.QuarterlyRatioCollection;
  11. import com.kingdee.eas.custom.expandassess.app.ExpandStatusEunm;
  12. import com.kingdee.eas.custom.performancenew.ExamineGradePersonEntryCollection;
  13. import com.kingdee.eas.custom.performancenew.ExamineGradePersonEntryFactory;
  14. import com.kingdee.eas.custom.performancenew.ExamineGradePersonEntryInfo;
  15. import com.kingdee.eas.custom.performancenew.IExamineGradePersonEntry;
  16. import com.kingdee.eas.custom.performancenew.app.orderStatucEnum;
  17. import com.kingdee.eas.hr.ats.AtsUtil;
  18. import com.kingdee.shr.base.syssetting.exception.ShrWebBizException;
  19. /**
  20. * @author qingwu
  21. * @date 2024/5/17
  22. * @apiNote
  23. */
  24. public interface ExpandAssessService {
  25. /**
  26. * 校验周期是否被锁定
  27. *
  28. * @param billId
  29. */
  30. public boolean verifyeriodLockOrNot(Context ctx, String billId) throws BOSException, ShrWebBizException;
  31. /**
  32. * 通过年获取季度比例表数据
  33. *
  34. * @param year
  35. * @return
  36. */
  37. public QuarterlyRatioCollection getQuarterlyRatioByYear(Context ctx, int year) throws BOSException;
  38. /**
  39. * 查询分录数据通过单据Id和部门ID
  40. *
  41. * @param ctx
  42. * @param billId
  43. * @param adminOrgId
  44. * @return
  45. */
  46. public ExpandAssessEntryCollection qeruyEntryByBillIdAndAdminOrg(Context ctx, String billId, String adminOrgId) throws BOSException;
  47. /**
  48. * 批量修改状态
  49. *
  50. * @param ctx
  51. * @param idArray ID集合
  52. * @param eunm1 判断条件
  53. * @param eunm2 赋值内容
  54. * @param errorText 错误提示
  55. */
  56. public void updateAsseStatusAll(Context ctx, String idArray, ExpandStatusEunm eunm1, ExpandStatusEunm eunm2, String errorText) throws ShrWebBizException, BOSException, EASBizException;
  57. /**
  58. * 获取当前登录人为负责人的数据
  59. *
  60. * @param ctx
  61. * @param billId
  62. * @return
  63. * @throws ShrWebBizException
  64. * @throws BOSException
  65. */
  66. public ExpandAssessEntryCollection getCurrentPersonEqualsPrincipal(Context ctx, String billId, String adminId) throws ShrWebBizException, BOSException;
  67. /**
  68. * 组织过滤
  69. *
  70. * @param billID
  71. * @return
  72. */
  73. public String getAdminOrgFilter(Context ctx, String billID) throws ShrWebBizException, BOSException;
  74. /**
  75. * 校验提交状态是否
  76. */
  77. public void verifyStatus(String trs);
  78. /**
  79. * 查询分录数据
  80. *
  81. * @param billId
  82. */
  83. public ExpandAssessEntryCollection getEntrysByBill(Context ctx, String billId) throws ShrWebBizException, BOSException;
  84. /**
  85. * 专员动态列表删除
  86. *
  87. * @param ctx
  88. * @param idArray
  89. * @throws BOSException
  90. * @throws ShrWebBizException
  91. * @throws EASBizException
  92. */
  93. public void deleteExpandAssessEntry(Context ctx, String idArray) throws BOSException, ShrWebBizException, EASBizException;
  94. }