From 609654e9fca1ceec0484266283cf8f6f53f90138 Mon Sep 17 00:00:00 2001 From: sunchenliang <2532527871@qq.com> Date: Thu, 9 May 2024 13:46:48 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E4=BF=AE=E6=94=B9=E5=9B=9E?= =?UTF-8?q?=E4=BC=A0=E6=97=A0=E9=87=8F=E4=BA=91=E7=A7=9F=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocr/service/impl/OcrTaskchildPictureServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/service/impl/OcrTaskchildPictureServiceImpl.java b/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/service/impl/OcrTaskchildPictureServiceImpl.java index b9c885e8..2f453d84 100644 --- a/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/service/impl/OcrTaskchildPictureServiceImpl.java +++ b/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/service/impl/OcrTaskchildPictureServiceImpl.java @@ -758,7 +758,7 @@ public class OcrTaskchildPictureServiceImpl extends BaseServiceImpl().eq(Department::getDeptno, picture.getTenantId())); if (1 == dept.getTypedept()) { - dept = departmentService.getOne(new LambdaQueryWrapper().eq(Department::getDeptno, dept.getParentid())); + dept = departmentService.getOne(new LambdaQueryWrapper().eq(Department::getId, dept.getParentid())); } FlowResultDto flowResultDto = new FlowResultDto(); flowResultDto.setTenantNo(dept == null ? picture.getTenantId() : Long.valueOf(dept.getDeptno()));