From 2b9d73629912d3982af1d96da8f9d50b7863cd58 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 06 六月 2025 10:33:55 +0800 Subject: [PATCH] 优化每年专项数据获取,定时重推数据 --- src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml index c39d8cb..b22f884 100644 --- a/src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml +++ b/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 <> 4 + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.2