From b25fef7e301ad5bd947dc213d2f4455f434139f5 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Mon, 14 May 2018 16:38:36 +0800 Subject: [PATCH] 优化 --- src/main/resources/mapper/HistoryMinutelyMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/HistoryMinutelyMapper.xml b/src/main/resources/mapper/HistoryMinutelyMapper.xml index 4b1ea6e..1ba659a 100644 --- a/src/main/resources/mapper/HistoryMinutelyMapper.xml +++ b/src/main/resources/mapper/HistoryMinutelyMapper.xml @@ -53,6 +53,9 @@ <if test="monitorPointId != null"> AND mp.id = #{monitorPointId} </if> + <if test="professionId != null"> + AND d.profession_id = #{professionId} + </if> ) </if> -- Gitblit v1.8.0