jiaosong
2023-08-21 07c00309e5c273e92302112945398dd6c04ba50a
#字段结果
已修改1个文件
2 ■■■ 文件已修改
server/src/main/resources/mappers/PlansExtMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/src/main/resources/mappers/PlansExtMapper.xml
@@ -298,7 +298,7 @@
    left join procedures b on a.PROCEDURE_ID =b.ID
    where ( a.`STATUS` in (1,4) or a.`STATUS`=6 and EXISTS(select e.id from workorder_record e where e.PLAN_ID = a.id and TO_DAYS(now())=TO_DAYS(e.CREATE_TIME)))
    and a.ROOT_DEPART_ID=#{rootDepartId} and a.DEPART_ID=#{departId}
    and b.DELETED=0 and a.ROOT_DEPART_ID=132
    and b.DELETED=0
    GROUP BY a.PROCEDURE_ID
    order by b.SORTNUM
  </select>