20250714 更新

master
陈江保 4 days ago
parent 706507ce9b
commit 93f04a4dba
  1. 5
      src/main/java/digital/laboratory/platform/entrustment/service/impl/ExcelOperationServiceImpl.java

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

Loading…
Cancel
Save