Browse Source

运维成本接口

lipenghui 1 week ago
parent
commit
2d9543462a

+ 6 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/resources/mapper/static/IotMaintainMapper.xml

@@ -63,6 +63,12 @@
             <if test="reqVO.createTime.length > 1 and reqVO.createTime[1] != null">
                 AND a.create_time &lt;= #{reqVO.createTime[1]}
             </if>
+            <if test="deptIds != null and deptIds.size &gt; 0">
+                AND a.dept_id IN
+                <foreach collection="deptIds" index="index" item="key" open="(" separator="," close=")">
+                    #{key}
+                </foreach>
+            </if>
         </where>
     </select>
 </mapper>