瀏覽代碼

重点工程-在建性质过滤

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>