Przeglądaj źródła

重点工程-在建性质过滤

hanfucheng 1 rok temu
rodzic
commit
b88b24ca3a

+ 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>