|
|
@@ -6,6 +6,7 @@ import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
|
|
import cn.iocoder.yudao.module.iscs.controller.admin.sop.vo.SopExecutionPlanPageReqVO;
|
|
|
import cn.iocoder.yudao.module.iscs.controller.admin.sop.vo.SopExecutionPlanRespVO;
|
|
|
import cn.iocoder.yudao.module.iscs.dal.dataobject.sop.SopExecutionPlanDO;
|
|
|
+import org.apache.ibatis.annotations.Delete;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
@@ -36,4 +37,15 @@ public interface SopExecutionPlanMapper extends BaseMapperX<SopExecutionPlanDO>
|
|
|
|
|
|
List<SopExecutionPlanRespVO> getList(@Param(value = "vo") SopExecutionPlanRespVO vo);
|
|
|
|
|
|
+ @Delete({
|
|
|
+ "<script>",
|
|
|
+ "DELETE FROM isc_sop_execution_plan",
|
|
|
+ "WHERE id IN",
|
|
|
+ "<foreach item='id' collection='ids' open='(' separator=',' close=')'>",
|
|
|
+ "#{id}",
|
|
|
+ "</foreach>",
|
|
|
+ "</script>"
|
|
|
+ })
|
|
|
+ Boolean physicalDeleteByIds(@Param(value = "ids") List<Long> ids);
|
|
|
+
|
|
|
}
|