吉安感知网项目-后端
linwei
2026-01-28 dab98d2c0f573d8e17a7786a879e595e6d535a9a
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>
                )