马宇豪
2023-08-24 4f4e6843b9c16ce646de41e5439fed57853b51d7
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>