| | |
| | | id, mn_code, lst, online_risk, valid_risk, exceed_risk, exception_type_aggregation, |
| | | typical_exception_repetition_rate, type |
| | | </sql> |
| | | |
| | | <select id="queryRiskDataByMonth" resultType="com.flightfeather.monitor.pojo.RiskValuePojo"> |
| | | select b.name,a.* |
| | | from du_js_t_risk_value as a left join ja_t_dust_site_info as b on a.mn_code = b.mn_code |
| | | <where> |
| | | <if test="mnCode != null and mnCode != '' "> |
| | | b.name = #{mnCode} |
| | | </if> |
| | | |
| | | <if test="month != null"> |
| | | and a.lst = #{month} |
| | | </if> |
| | | |
| | | <if test="type != null and type != '' "> |
| | | and a.type = #{type} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |