server/src/main/resources/mappers/WorkorderRecordExtMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
server/src/main/resources/mappers/WorkorderRecordExtMapper.xml
@@ -494,7 +494,7 @@ from workorder_record a left join company_user b on b.DELETED=0 and b.user_id=a.CREATE_USER left join workorder c on a.WORKORDER_ID=c.id where a.deleted=0 and a.ROOT_DEPART_ID=#{rootDepartId} and a.DEPART_ID=#{departId} and s.status=4 where a.deleted=0 and a.ROOT_DEPART_ID=#{rootDepartId} and a.DEPART_ID=#{departId} and c.status=4 <if test="procedureId != null"> AND a.`PROCEDURE_ID` = #{procedureId} </if>