diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/constant/InspectionFileEnum.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/constant/InspectionFileEnum.java index 8fd00d31..0ce2dac1 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/constant/InspectionFileEnum.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/constant/InspectionFileEnum.java @@ -18,6 +18,7 @@ public enum InspectionFileEnum { JY_EQUIPMENT("jy_equipment","救援设备文件夹"), WX_STAFF("wxstaff", "维修员工文件夹"), INSPECTION_CUSTOMER("small_inspection_member_folder", "检测客户资料夹"), + REPAIR_CUSTOMER("small_repair_customer_member_folder", "维修客户文件夹"), ; diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/InspectionFileServiceImpl.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/InspectionFileServiceImpl.java index 316d63b6..712067c5 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/InspectionFileServiceImpl.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/InspectionFileServiceImpl.java @@ -676,7 +676,8 @@ public class InspectionFileServiceImpl extends ServiceImpl().eq(InspectionFile::getDefaultKey, InspectionFileEnum.INSPECTION_CUSTOMER.getType())); + // TODO 优化 暂未适配其他系统 + InspectionFile inspectionFile = baseMapper.selectOne(new LambdaQueryWrapper().in(InspectionFile::getDefaultKey, InspectionFileEnum.INSPECTION_CUSTOMER.getType())); if (inspectionFile != null) { // 查询出code中所有带这个文件夹id的文件 List inspectionFiles = baseMapper.selectList(Wrappers.lambdaQuery().like(InspectionFile::getFileCode, inspectionFile.getId()).eq(InspectionFile::getType, InspectionConstants.INSPECTION_FILE)); diff --git a/dl-module-inspection/src/main/resources/mapper/InspectionWorkNodeMapper.xml b/dl-module-inspection/src/main/resources/mapper/InspectionWorkNodeMapper.xml index 6e88e84c..93379263 100644 --- a/dl-module-inspection/src/main/resources/mapper/InspectionWorkNodeMapper.xml +++ b/dl-module-inspection/src/main/resources/mapper/InspectionWorkNodeMapper.xml @@ -273,30 +273,6 @@ GROUP BY staff.user_id ,ip.id - -