kongzy
2024-07-01 47a751cb301d05276ae5d75145d57b2d090fe4e1
src/main/java/com/nanometer/smartlab/email/EmailSendSchedule.java
@@ -176,8 +176,8 @@
            if (admin == null ||StringUtils.isBlank(admin.getEmail())) throw new BusinessException(ExceptionEnumCode.PARAM_NULL,"找不到管理员或者管理员邮箱信息");
            //2.获取国药试剂
            String supplierId = sysSupplierService.getSysSupplierIdByname(send_supplier_name);
            if (StringUtils.isBlank(supplierId))
            Long supplierId = sysSupplierService.getSysSupplierIdByname(send_supplier_name);
            if (supplierId==null)
                throw new BusinessException(ExceptionEnumCode.PARAM_NO_EXIST, "没有找到与(" + send_supplier_name + ")相关供应商,请检查最近信息更新");
            List<SysReagent> guoyao_reagents = sysReagentService.getSysReagentListNew(null, null, supplierId, 1, null, null, null);