16639036659
2023-05-24 c83bd5ccc72512c9935135ff76b7c3f7e81a14b8
src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml
@@ -27,8 +27,15 @@
    </resultMap>
    <select id="getPreventRiskListById" resultMap="BaseResultMap">
        select * from tr_risk_list
        select *
        from tr_risk_list
        where risk_list_id = #{id}
    </select>
    <select id="listRiskUnitCodeAndName" resultMap="BaseResultMap">
        select *
        from tr_risk_list
        where risk_type  &lt;&gt; 4
    </select>
</mapper>