| | |
| | | package com.example.erp.mapper.mm; |
| | | |
| | | import com.example.erp.dto.mm.FinishedOperateLogDTO; |
| | | import com.example.erp.dto.mm.MaterialLogDTO; |
| | | import com.example.erp.entity.mm.*; |
| | | import com.example.erp.entity.pp.OptimizeUse; |
| | | import com.example.erp.entity.sd.Delivery; |
| | |
| | | |
| | | Boolean deleteMaterialLog(@Param("materialOutboundId") String materialOutboundId); |
| | | |
| | | Boolean deleteMaterialLogById(@Param("id") Long id); |
| | | |
| | | Integer getMaximum(@Param("type") String type); |
| | | |
| | | Integer getMaximums(@Param("type") String type); |
| | |
| | | |
| | | Integer getReturningWarehouseCount(@Param("returningId") String returningId); |
| | | |
| | | Integer getMaterialInventoryCount(@Param("materialCode") Long materialCode,@Param("dateOfManufacture") LocalDate dateOfManufacture); |
| | | List<MaterialInventory> getMaterialInventoryCount(@Param("materialCode") Long materialCode,@Param("dateOfManufacture") LocalDate dateOfManufacture,String producer); |
| | | |
| | | Integer getMaterialInventoryCountNull(@Param("materialCode") Long materialCode); |
| | | List<MaterialInventory> getMaterialInventoryCountNull(@Param("materialCode") Long materialCode,String producer); |
| | | |
| | | List<MaterialInventory> getMaterialInventoryCount1(@Param("materialCode") Long materialCode,@Param("dateOfManufacture") LocalDate dateOfManufacture,String producer,Long id); |
| | | |
| | | List<MaterialInventory> getMaterialInventoryCountNull1(@Param("materialCode") Long materialCode,String producer,Long id); |
| | | |
| | | |
| | | List<MaterialInventory> getMaterialInventoryCountId(@Param("materialCode") Long materialCode,@Param("dateOfManufacture") LocalDate dateOfManufacture); |
| | | List<MaterialInventory> getMaterialInventoryCountId(@Param("materialCode") Long materialCode,@Param("dateOfManufacture") LocalDate dateOfManufacture,String producer); |
| | | |
| | | List<MaterialInventory> getMaterialInventoryCountNullId(@Param("materialCode") Long materialCode); |
| | | List<MaterialInventory> getMaterialInventoryCountNullId(@Param("materialCode") Long materialCode,String producer); |
| | | |
| | | List<MaterialOutboundDetail> getIsNotMaterialOutboundDetail( @Param("materialOutboundId") String materialOutboundId); |
| | | |
| | |
| | | @Param("quantity") Integer quantity); |
| | | Boolean updateMaterialInventoryInventoryInt(@Param("inventoryId") Long inventoryId, |
| | | @Param("quantity") Integer quantity); |
| | | |
| | | Boolean updateMaterialInventoryInventoryPlanQuantityOut(@Param("inventoryId") Long inventoryId, |
| | | @Param("quantity") Integer quantity); |
| | | Boolean updateMaterialInventoryInventoryPlanQuantityInt(@Param("inventoryId") Long inventoryId, |
| | | @Param("quantity") Integer quantity); |
| | | |
| | | Boolean updateMaterialInventoryAvailableInventoryOut(@Param("inventoryId") Long inventoryId, |
| | | @Param("quantity") Integer quantity); |
| | |
| | | @Param("totalArea") Double totalArea, |
| | | @Param("materialInventory") MaterialInventory materialInventory); |
| | | |
| | | Boolean updateMaterialInventoryOut(@Param("materialCode") Long materialCode,@Param("quantity") Integer quantity, |
| | | @Param("dateOfManufacture") String dateOfManufacture,@Param("producer") String producer); |
| | | |
| | | Boolean updateMaterialInventoryNullOut(@Param("materialCode") Long materialCode,@Param("quantity") Integer quantity,@Param("producer") String producer); |
| | | |
| | | Boolean insertMaterialInventory(@Param("materialCode") Long materialCode,@Param("singlePieceArea") Double singlePieceArea, |
| | | @Param("totalArea") Double totalArea, |
| | | @Param("materialInventory") MaterialInventory materialInventory); |
| | |
| | | @Param("pageSize") Integer pageSize,String startDate, String endDate, |
| | | @Param("materialLog") MaterialLog materialLog,String type); |
| | | |
| | | List<MaterialLog> exportMaterialLogReport(List<LocalDate> dates, String type); |
| | | List<MaterialLogDTO> exportMaterialLogReport(List<LocalDate> dates, String type); |
| | | |
| | | List<MaterialLogDTO> exportMaterialLogReports(List<LocalDate> dates, String type); |
| | | |
| | | List<MaterialLogDTO> exportMaterialLogOptimizeOutboundReport(List<LocalDate> dates, String type); |
| | | |
| | | List<MaterialOutbound> getSelectMaterialOutboundProjectNo(@Param("projectNo") String projectNo); |
| | | |
| | |
| | | |
| | | Boolean updateOptimizeUsesMes(@Param("useId") Integer useId,@Param("quantity") Integer quantity); |
| | | |
| | | String selectProjectNo(@Param("useId") Integer useId); |
| | | |
| | | List<MaterialLog> getOptimizeOutboundReport(Integer offset, Integer pageSize, String startDate, String endDate, MaterialLog materialLog, String type); |
| | | |
| | | Map<String,Integer> getOptimizeOutboundReportTotal(Integer offset, Integer pageSize, String startDate, String endDate, MaterialLog materialLog, String type); |
| | | |
| | | List<Map<String,Object>> getSelectMaterialInventoryMes(); |
| | | |
| | | Boolean updateMaterialInventoryAll(@Param("materialInventoryId") Long materialInventoryId,@Param("materialInventory") MaterialInventory materialInventory); |
| | | |
| | | Boolean updateMaterialInventoryOne(@Param("materialInventoryId") Long materialInventoryId,@Param("materialInventory") MaterialInventory materialInventory); |
| | | |
| | | List<MaterialInventory> selectGetStockList(); |
| | | } |