From dda17e80a787c40c460a923cd50ac1a1f94ba157 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期一, 17 二月 2025 14:57:10 +0800 Subject: [PATCH] 移植检验下单模板 --- inspect-server/src/main/java/com/ruoyi/basic/service/RawMaterialOrderService.java | 289 +++++++++++++++++++++++++++++---------------------------- 1 files changed, 146 insertions(+), 143 deletions(-) diff --git a/inspect-server/src/main/java/com/ruoyi/basic/service/RawMaterialOrderService.java b/inspect-server/src/main/java/com/ruoyi/basic/service/RawMaterialOrderService.java index 3cdf358..1662a1d 100644 --- a/inspect-server/src/main/java/com/ruoyi/basic/service/RawMaterialOrderService.java +++ b/inspect-server/src/main/java/com/ruoyi/basic/service/RawMaterialOrderService.java @@ -1,143 +1,146 @@ -//package com.ruoyi.basic.service; -// -//import com.baomidou.mybatisplus.core.metadata.IPage; -//import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -// -//import javax.servlet.http.HttpServletResponse; -//import java.io.UnsupportedEncodingException; -//import java.util.List; -//import java.util.Map; -// -///** -// * @Author zhuo -// * @Date 2024/7/31 -// */ -//public interface RawMaterialOrderService { -// -// RawMaterialStandardTreeDto selectStandardTreeListByPartNo(String partNo); -// -// /** -// * 鎶ユ鏌ヨ -// * @param page -// * @param ifsInventoryQuantity -// * @return -// */ -// Map<String,Object> getWarehouseSubmit(IPage<IfsInventoryQuantity> page, IfsInventoryQuantity ifsInventoryQuantity); -// -// /** -// * 鏌ヨ妫�楠屽�� -// * @param page -// * @param ifsInventoryQuantityDto -// * @return -// */ -// Map<String,Object> getIfsByStateOne(IPage<IfsInventoryQuantityDto> page, IfsInventoryQuantityDto ifsInventoryQuantityDto); -// -// int inspectionReport(List<Integer> ids); -// -// int revokeInspectionReport(Integer id); -// -// List<IfsInventoryQuantityDto> printLabel(List<Integer> ids); -// -// int inspectionReportOne(IfsInventoryQuantity ifsInventoryQuantity); -// -// String getIndustryChain(Integer id); -// -// /** -// * 鍘熸潗鏂欐挙閿�涓嬪崟 -// * @param ifsInventoryId -// * @return -// */ -// boolean repealRawOrder(Integer ifsInventoryId); -// -// /** -// * 娣诲姞鍏嶆璁㈠崟 -// * @param list -// * @param insOrder -// * @return -// */ -// int addExemptionOrder(List<SampleProductDto> list, InsOrder insOrder); -// -// Map<String,Object> selectIfsInventoryQuantity(Page<IfsInventoryQuantityCheckDto> page, IfsInventoryQuantityCheckDto ifsInventoryQuantity); -// -// /** -// * 鏌ヨ宸叉楠� -// * @param page -// * @param ifsInventoryQuantityDto -// * @return -// */ -// Map<String,Object> getIfsByOver(Page<IfsInventoryQuantitySupplierDto> page, IfsInventoryQuantitySupplierDto ifsInventoryQuantityDto); -// -// int delIfsInventory(Integer id); -// -// /** -// * 鍘熸潗鏂欐斁琛屽厤妫� -// * @param ifsInventoryId -// * @return -// */ -// boolean rawOrderRelease(Integer ifsInventoryId, String partDetail); -// -// /** -// * 鍘熸潗鏂欎笅鍗曢�氱煡鍏嶆鎴栬�呭娆℃楠� -// * @param ifsInventoryId -// * @return -// */ -// int notificationRawOrder(Integer ifsInventoryId); -// -// /** -// * 鎵嬪姩娣诲姞鍘熸潗淇℃伅 -// * @param ifsInventoryQuantity -// */ -// void addIfsInventoryQuantity(IfsInventoryQuantity ifsInventoryQuantity); -// -// void shiftingParking(List<Integer> ids); -// -// /** -// * 閾滃崟涓濅笅鍗曞厤妫� -// * @param list -// * @param copperInsOrder -// */ -// int addRawCopperOrderExemptionOrder(List<SampleProductDto> list, CopperInsOrderDto copperInsOrder); -// -// /** -// * 璁╂u鏀捐 -// * @param ifsInventoryId -// * @return -// */ -// boolean concessionRelease(Integer ifsInventoryId); -// -// /** -// * 鍘熸潗鏂欒繘鍘傛挙閿�涓嬪崟 -// * @param enterOrderId -// * @return -// */ -// boolean repealEnterRawOrder(Integer enterOrderId); -// -// /** -// * 鍘熸潗鏂欏搴︽挙閿�涓嬪崟 -// * @param quarterOrderId -// * @return -// */ -// boolean repealQuarterRawOrder(Integer quarterOrderId); -// -// /** -// * 鍘熸潗鏂欐姤妫�鍏ㄩ儴淇℃伅瀵煎嚭 -// * @param dto -// * @param response -// */ -// void rawAllExport(IfsInventoryQuantitySupplierDto dto, HttpServletResponse response) throws UnsupportedEncodingException; -// -// /** -// * 鍘熸潗鏂欐煡璇㈠彲浠ュ搴︽楠岀殑鍐呭 -// * @param page -// * @param ifsInventoryQuantityDto -// * @return -// */ -// Map<String,Object> getIfsByQuarter(Page page, IfsInventoryQuantitySupplierDto ifsInventoryQuantityDto); -// -// /** -// * advancedGodown -// * @param ifsInventoryId -// * @return -// */ -// boolean advancedGodown(Integer ifsInventoryId); -//} +package com.ruoyi.basic.service; + +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.ruoyi.basic.dto.*; +import com.ruoyi.basic.pojo.IfsInventoryQuantity; +import com.ruoyi.basic.pojo.InsOrder; + +import javax.servlet.http.HttpServletResponse; +import java.io.UnsupportedEncodingException; +import java.util.List; +import java.util.Map; + +/** + * @Author zhuo + * @Date 2024/7/31 + */ +public interface RawMaterialOrderService { + + RawMaterialStandardTreeDto selectStandardTreeListByPartNo(String partNo); + + /** + * 鎶ユ鏌ヨ + * @param page + * @param ifsInventoryQuantity + * @return + */ + Map<String,Object> getWarehouseSubmit(IPage<IfsInventoryQuantity> page, IfsInventoryQuantity ifsInventoryQuantity); + + /** + * 鏌ヨ妫�楠屽�� + * @param page + * @param ifsInventoryQuantityDto + * @return + */ + Map<String,Object> getIfsByStateOne(IPage<IfsInventoryQuantityDto> page, IfsInventoryQuantityDto ifsInventoryQuantityDto); + + int inspectionReport(List<Integer> ids); + + int revokeInspectionReport(Integer id); + + List<IfsInventoryQuantityDto> printLabel(List<Integer> ids); + + int inspectionReportOne(IfsInventoryQuantity ifsInventoryQuantity); + + String getIndustryChain(Integer id); + + /** + * 鍘熸潗鏂欐挙閿�涓嬪崟 + * @param ifsInventoryId + * @return + */ + boolean repealRawOrder(Integer ifsInventoryId); + + /** + * 娣诲姞鍏嶆璁㈠崟 + * @param list + * @param insOrder + * @return + */ + int addExemptionOrder(List<SampleProductDto> list, InsOrder insOrder); + + Map<String,Object> selectIfsInventoryQuantity(Page<IfsInventoryQuantityCheckDto> page, IfsInventoryQuantityCheckDto ifsInventoryQuantity); + + /** + * 鏌ヨ宸叉楠� + * @param page + * @param ifsInventoryQuantityDto + * @return + */ + Map<String,Object> getIfsByOver(Page<IfsInventoryQuantitySupplierDto> page, IfsInventoryQuantitySupplierDto ifsInventoryQuantityDto); + + int delIfsInventory(Integer id); + + /** + * 鍘熸潗鏂欐斁琛屽厤妫� + * @param ifsInventoryId + * @return + */ + boolean rawOrderRelease(Integer ifsInventoryId, String partDetail); + + /** + * 鍘熸潗鏂欎笅鍗曢�氱煡鍏嶆鎴栬�呭娆℃楠� + * @param ifsInventoryId + * @return + */ + int notificationRawOrder(Integer ifsInventoryId); + + /** + * 鎵嬪姩娣诲姞鍘熸潗淇℃伅 + * @param ifsInventoryQuantity + */ + void addIfsInventoryQuantity(IfsInventoryQuantity ifsInventoryQuantity); + + void shiftingParking(List<Integer> ids); + + /** + * 閾滃崟涓濅笅鍗曞厤妫� + * @param list + * @param copperInsOrder + */ + int addRawCopperOrderExemptionOrder(List<SampleProductDto> list, CopperInsOrderDto copperInsOrder); + + /** + * 璁╂u鏀捐 + * @param ifsInventoryId + * @return + */ + boolean concessionRelease(Integer ifsInventoryId); + + /** + * 鍘熸潗鏂欒繘鍘傛挙閿�涓嬪崟 + * @param enterOrderId + * @return + */ + boolean repealEnterRawOrder(Integer enterOrderId); + + /** + * 鍘熸潗鏂欏搴︽挙閿�涓嬪崟 + * @param quarterOrderId + * @return + */ + boolean repealQuarterRawOrder(Integer quarterOrderId); + + /** + * 鍘熸潗鏂欐姤妫�鍏ㄩ儴淇℃伅瀵煎嚭 + * @param dto + * @param response + */ + void rawAllExport(IfsInventoryQuantitySupplierDto dto, HttpServletResponse response) throws UnsupportedEncodingException; + + /** + * 鍘熸潗鏂欐煡璇㈠彲浠ュ搴︽楠岀殑鍐呭 + * @param page + * @param ifsInventoryQuantityDto + * @return + */ + Map<String,Object> getIfsByQuarter(Page page, IfsInventoryQuantitySupplierDto ifsInventoryQuantityDto); + + /** + * advancedGodown + * @param ifsInventoryId + * @return + */ + boolean advancedGodown(Integer ifsInventoryId); +} -- Gitblit v1.9.3