瀏覽代碼

巡检报表

lipenghui 6 天之前
父節點
當前提交
689d595260

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

@@ -63,9 +63,9 @@
             <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">
+            <if test="reqVO.deptIds != null and reqVO.deptIds.size &gt; 0">
                 AND a.dept_id IN
-                <foreach collection="deptIds" index="index" item="key" open="(" separator="," close=")">
+                <foreach collection="reqVO.deptIds" index="index" item="key" open="(" separator="," close=")">
                     #{key}
                 </foreach>
             </if>