马宇豪
2023-09-11 4f20d1afbe641a2f3fd49ae9460ea3630b7acf2b
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>