龚焕茏
2024-08-22 cb7d99d810f2356096b67fbccd3fac556e638d83
ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml
@@ -166,7 +166,7 @@
        LEFT JOIN t_work_order w ON w.serial_number = p.serial_number AND w.deleted = 0
        WHERE d.del_flag = 0 AND d.area IS NOT NULL
        <if test="dataScope == 1"> AND p.province_tag = 'province' </if>
        <if test="deptId != null"> AND p.dept_id = #{deptId} </if>
        <if test="deptId != null"> /*AND p.dept_id = #{deptId}*/ </if>
        GROUP BY d.area, d.dept_id
        ORDER BY d.dept_id
    </select>