diff --git a/src/main/java/digital/laboratory/platform/reagent/entity/Cabinetcell.java b/src/main/java/digital/laboratory/platform/reagent/entity/Cabinetcell.java deleted file mode 100644 index 2950fe2..0000000 --- a/src/main/java/digital/laboratory/platform/reagent/entity/Cabinetcell.java +++ /dev/null @@ -1,11 +0,0 @@ -package digital.laboratory.platform.reagent.entity; - -import lombok.Data; - -@Data -public class Cabinetcell { - - private String cabinetId; - private String location; - private String id; -} diff --git a/src/main/java/digital/laboratory/platform/reagent/mapper/ReagentConsumableInventoryMapper.java b/src/main/java/digital/laboratory/platform/reagent/mapper/ReagentConsumableInventoryMapper.java index c3a2ed5..57a7756 100644 --- a/src/main/java/digital/laboratory/platform/reagent/mapper/ReagentConsumableInventoryMapper.java +++ b/src/main/java/digital/laboratory/platform/reagent/mapper/ReagentConsumableInventoryMapper.java @@ -4,7 +4,6 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.Constants; -import digital.laboratory.platform.reagent.entity.Cabinetcell; import digital.laboratory.platform.reagent.entity.ReagentConsumableInventory; import digital.laboratory.platform.reagent.entity.ReferenceMaterial; import digital.laboratory.platform.reagent.vo.ReagentConsumableInventoryFullVO; @@ -30,7 +29,6 @@ public interface ReagentConsumableInventoryMapper extends BaseMapper getUserList(); - Cabinetcell getCabinetCell(String location); IPage getReferenceMaterialPage (IPagepage, @Param (Constants.WRAPPER) QueryWrapper qw); } diff --git a/src/main/java/digital/laboratory/platform/reagent/service/impl/CentralizedRequestServiceImpl.java b/src/main/java/digital/laboratory/platform/reagent/service/impl/CentralizedRequestServiceImpl.java index f97d89d..2f6e1e7 100644 --- a/src/main/java/digital/laboratory/platform/reagent/service/impl/CentralizedRequestServiceImpl.java +++ b/src/main/java/digital/laboratory/platform/reagent/service/impl/CentralizedRequestServiceImpl.java @@ -290,7 +290,7 @@ public class CentralizedRequestServiceImpl extends ServiceImpl() {{ put("voList", voList); put("year", year); @@ -451,19 +450,15 @@ public class CentralizedRequestServiceImpl extends ServiceImpl reagentConsumableInventoryDTOList) { for (ReagentConsumableInventoryDTO reagentConsumableInventoryDTO : reagentConsumableInventoryDTOList) { @@ -570,6 +572,7 @@ public class ReagentConsumableInventoryServiceImpl extends ServiceImpl cabinetCellR = remoteCabinetService.queryCellByRoomNoAndLocation(reagentConsumableInventoryDTO.getRoomNo(), reagentConsumableInventoryDTO.getLocation()); + CabinetCell cabinetCell = cabinetCellR.getData(); batchDetails.setLatticeId(cabinetCell.getId()); batchDetails.setBoxId(cabinetCell.getCabinetId()); batchDetails.setLocation(location); diff --git a/src/main/java/digital/laboratory/platform/reagent/service/impl/RequisitionRecordServiceImpl.java b/src/main/java/digital/laboratory/platform/reagent/service/impl/RequisitionRecordServiceImpl.java index e782a05..071fb50 100644 --- a/src/main/java/digital/laboratory/platform/reagent/service/impl/RequisitionRecordServiceImpl.java +++ b/src/main/java/digital/laboratory/platform/reagent/service/impl/RequisitionRecordServiceImpl.java @@ -125,18 +125,35 @@ public class RequisitionRecordServiceImpl extends ServiceImpl voList, String ids, HttpServletRequest theHttpServletRequest, HttpServletResponse httpServletResponse) throws Exception { System.out.println("standardMaterialApplicationTablePDF................."); - int x = 1; + Integer x = 1; for (StandardMaterialApplicationVO standardMaterialApplicationVO : voList) { standardMaterialApplicationVO.setDateOfClaims(LocalDateTimeUtil.format(standardMaterialApplicationVO.getDateOfClaim(), "yyyy年MM月dd日")); standardMaterialApplicationVO.setDateOfReturns(LocalDateTimeUtil.format(standardMaterialApplicationVO.getDateOfReturn(), "yyyy年MM月dd日")); - standardMaterialApplicationVO.setX(x); + standardMaterialApplicationVO.setIndex(x.toString()); if (standardMaterialApplicationVO.getPurpose() == 0) { standardMaterialApplicationVO.setPurposeAndQuantity("案件," + standardMaterialApplicationVO.getPurposeAndQuantity()); @@ -238,6 +238,22 @@ public class StandardMaterialApplicationServiceImpl extends ServiceImpl solutionUseFormVOMap = new HashMap<>(); + + List solutionUseFormVOMapList = new ArrayList<>(); + String applyFileName = "标准储备溶液配制及使用记录表-" + id; //----------------------------- // 生成 word 版本的 验收记录表 @@ -419,8 +435,6 @@ public class StandardReserveSolutionServiceImpl extends ServiceImpl - - - - - -