Преглед изворни кода

重点工程-在建性质过滤

hanfucheng пре 1 година
родитељ
комит
b88b24ca3a
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/main/resources/mapper/commandcenter/CommandCentreMapper.xml

+ 3 - 0
src/main/resources/mapper/commandcenter/CommandCentreMapper.xml

@@ -189,6 +189,9 @@
             <if test="params.projectLevel != null and params.projectLevel != ''"><!--工程级别-->
                 AND project_level = #{params.projectLevel}
             </if>
+            <if test="params.nature != null and params.nature != ''"><!--在建性质-->
+                AND nature in (${params.nature})
+            </if>
         </where>
         ORDER BY a.create_time DESC
     </select>