吉安感知网项目-后端
linwei
2026-02-09 0b5742177d3a663435da88c77f21c9a2649b4967
drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/mapper/GdSupplyDemandMapper.xml
@@ -139,14 +139,14 @@
            <if test="param.demandStatus != null and param.demandStatus != ''">
                AND demand_status = #{param.demandStatus}
            </if>
            <if test="deptIdList != null and deptIdList.size > 0">
            <if test="param.deptList != null and param.deptList.size > 0">
                AND (
                    create_dept IN
                    <foreach collection="deptIdList" item="deptId" open="(" separator="," close=")">
                    <foreach collection="param.deptList" item="deptId" open="(" separator="," close=")">
                        #{deptId}
                    </foreach>
                    OR apply_target_dept_id IN
                    <foreach collection="deptIdList" item="deptId" open="(" separator="," close=")">
                    <foreach collection="param.deptList" item="deptId" open="(" separator="," close=")">
                        #{deptId}
                    </foreach>
                )