|
|
@@ -25,6 +25,7 @@ public interface CoreSafecheckPlanMapper extends BaseMapper<CoreSafecheckPlan> {
|
|
|
CoreSafecheckPlan get(Long id);
|
|
|
|
|
|
List<CoreSafecheckPlan> selectByCycle(Long cycle);
|
|
|
+
|
|
|
/**
|
|
|
* 查询常规安全检查计划列表
|
|
|
*
|
|
|
@@ -32,7 +33,9 @@ public interface CoreSafecheckPlanMapper extends BaseMapper<CoreSafecheckPlan> {
|
|
|
* @return 常规安全检查计划集合
|
|
|
*/
|
|
|
List<CoreSafecheckPlan> selectCoreSafecheckPlanList(CoreSafecheckPlan coreSafecheckPlan);
|
|
|
- Page<CoreSafecheckPlan> selectCoreSafecheckPlanPage( Page<CoreSafecheckPlan> page,@Param("check") CoreSafecheckPlan coreSafecheckPlan);
|
|
|
+
|
|
|
+ Page<CoreSafecheckPlan> selectCoreSafecheckPlanPage(Page<CoreSafecheckPlan> page, @Param("check") CoreSafecheckPlan coreSafecheckPlan, @Param("userOrgId") Long userOrgId);
|
|
|
+
|
|
|
/**
|
|
|
* 新增常规安全检查计划
|
|
|
*
|
|
|
@@ -65,47 +68,50 @@ public interface CoreSafecheckPlanMapper extends BaseMapper<CoreSafecheckPlan> {
|
|
|
*/
|
|
|
int deleteCoreSafecheckPlanByIds(Long[] ids);
|
|
|
|
|
|
- List<String> selectItemIdsByPlanId(@Param("planId")Long id);
|
|
|
+ List<String> selectItemIdsByPlanId(@Param("planId") Long id);
|
|
|
|
|
|
/**
|
|
|
* 按检查角色所属机构是行社的计划
|
|
|
+ *
|
|
|
* @param roleIds
|
|
|
* @return
|
|
|
*/
|
|
|
- List<CoreSafecheckPlan> selectByRole(List<Long> roleIds,Long hangsheOrgId);
|
|
|
+ List<CoreSafecheckPlan> selectByRole(List<Long> roleIds, Long hangsheOrgId);
|
|
|
|
|
|
List<CoreSafecheckPlan> selectChildren(@Param("check") CoreSafecheckPlan coreSafecheckPlan);
|
|
|
|
|
|
- List<CoreSafecheckPlan> selectByPlanStatus(@Param("planStatus") int i, @Param("cycle")Integer cycle);
|
|
|
+ List<CoreSafecheckPlan> selectByPlanStatus(@Param("planStatus") int i, @Param("cycle") Integer cycle);
|
|
|
|
|
|
Integer updateParentPlanCompletedState(@Param("planId") Long planId);
|
|
|
|
|
|
/**
|
|
|
* 复制一份自己
|
|
|
+ *
|
|
|
* @param planId
|
|
|
* @param newPlanId
|
|
|
* @return
|
|
|
*/
|
|
|
- Integer copySelf(@Param("planId") Long planId, @Param("newPlanId")Long newPlanId);
|
|
|
+ Integer copySelf(@Param("planId") Long planId, @Param("newPlanId") Long newPlanId);
|
|
|
|
|
|
/**
|
|
|
* 复制子计划
|
|
|
+ *
|
|
|
* @param planId
|
|
|
* @param newPlanId
|
|
|
* @param newParentId
|
|
|
* @return
|
|
|
*/
|
|
|
- Integer copyChildren(@Param("planId") Long planId,@Param("newPlanId")Long newPlanId,@Param("newParentId")Long newParentId);
|
|
|
+ Integer copyChildren(@Param("planId") Long planId, @Param("newPlanId") Long newPlanId, @Param("newParentId") Long newParentId);
|
|
|
|
|
|
- Integer copyPlanPoints(@Param("planId") Long planId, @Param("newPlanId")Long newPlanId);
|
|
|
+ Integer copyPlanPoints(@Param("planId") Long planId, @Param("newPlanId") Long newPlanId);
|
|
|
|
|
|
- Integer copyPlanRoles(@Param("planId") Long planId, @Param("newPlanId")Long newPlanId);
|
|
|
+ Integer copyPlanRoles(@Param("planId") Long planId, @Param("newPlanId") Long newPlanId);
|
|
|
|
|
|
- Integer copyPlanExecOrgs(@Param("planId") Long planId, @Param("newPlanId")Long newPlanId);
|
|
|
+ Integer copyPlanExecOrgs(@Param("planId") Long planId, @Param("newPlanId") Long newPlanId);
|
|
|
|
|
|
- Integer copyPlanBecheckedOrgs(@Param("planId") Long planId, @Param("newPlanId")Long newPlanId);
|
|
|
+ Integer copyPlanBecheckedOrgs(@Param("planId") Long planId, @Param("newPlanId") Long newPlanId);
|
|
|
|
|
|
- Integer copyPlanCheckOrgType(@Param("planId") Long planId, @Param("newPlanId")Long newPlanId);
|
|
|
+ Integer copyPlanCheckOrgType(@Param("planId") Long planId, @Param("newPlanId") Long newPlanId);
|
|
|
|
|
|
Integer physicsDeleteById(@Param("ids") List<Long> ids);
|
|
|
}
|