马宇豪
2023-09-20 ae319da053e4ceb807209cce41eb8b355fadd3da
src/main/resources/mybatis/doublePrevention/PreventTaskTypeMapper.xml
@@ -18,5 +18,11 @@
        select * from prevent_task_type where delete_status = 0 and task_id = #{taskId}
    </select>
<!--    List<PreventTaskType> getInfoByJobId(Long jobId);-->
    <select id="getInfoByJobId" resultMap="BaseResultMap">
        select * from prevent_task_type where delete_status = 0 and job_id = #{jobId}
    </select>
</mapper>