20250714 更新
This commit is contained in:
+4
-1
@@ -19,6 +19,7 @@ import digital.laboratory.platform.entrustment.vo.EntrustmentVO;
|
|||||||
import digital.laboratory.platform.sys.entity.DrugLite;
|
import digital.laboratory.platform.sys.entity.DrugLite;
|
||||||
import digital.laboratory.platform.sys.enums.entrust.EntrustBiologyType;
|
import digital.laboratory.platform.sys.enums.entrust.EntrustBiologyType;
|
||||||
import digital.laboratory.platform.sys.feign.RemoteCommDrugService;
|
import digital.laboratory.platform.sys.feign.RemoteCommDrugService;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.poi.ss.usermodel.*;
|
import org.apache.poi.ss.usermodel.*;
|
||||||
import org.apache.poi.ss.util.CellRangeAddress;
|
import org.apache.poi.ss.util.CellRangeAddress;
|
||||||
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
|
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
|
||||||
@@ -47,6 +48,7 @@ import java.util.stream.Collectors;
|
|||||||
* @description: excel上传服务层接口 实现类
|
* @description: excel上传服务层接口 实现类
|
||||||
* @date 2025/4/16 11:55
|
* @date 2025/4/16 11:55
|
||||||
*/
|
*/
|
||||||
|
@Slf4j
|
||||||
@Service
|
@Service
|
||||||
public class ExcelOperationServiceImpl implements ExcelOperationService {
|
public class ExcelOperationServiceImpl implements ExcelOperationService {
|
||||||
|
|
||||||
@@ -220,7 +222,8 @@ public class ExcelOperationServiceImpl implements ExcelOperationService {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (CollUtil.isEmpty(entrustmentVOList)) {
|
if (CollUtil.isEmpty(entrustmentVOList)) {
|
||||||
throw new CheckedException(String.format("当前用户机构 [%s] 无委托信息!", user.getOrgName()));
|
log.warn("当前用户机构无委托信息!");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取检材信息
|
// 获取检材信息
|
||||||
|
|||||||
Reference in New Issue
Block a user