src/main/resources/mapper/AlarmConfigMapper.xml
@@ -97,4 +97,11 @@ update_time = #{updateTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=INTEGER} </update> <select id="selectByMonitorPointId" parameterType="java.lang.Integer" resultMap="BaseResultMap"> select acg.* from alarm_config acg LEFT JOIN monitor_point mpt on acg.organization_id = mpt.organization_id where mpt.id = #{mpId,jdbcType=INTEGER} </select> </mapper>