双重预防项目-国泰新华二开定制版
16639036659
2023-04-27 c710722937fa820f2e18c6a347a1f3e38f897cc0
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>