查询统计
This commit is contained in:
@@ -25,234 +25,195 @@ public class StockSummary extends BaseEntity
|
||||
// @Excel(name = "序号")
|
||||
private Long onlyIdentity;
|
||||
|
||||
@Excel(name = "订单号")
|
||||
private String orderId;
|
||||
/** 品号 */
|
||||
@Excel(name = "品号")
|
||||
/** 库存id */
|
||||
@Excel(name = "库存id")
|
||||
private String stockId;
|
||||
|
||||
/** 物料编码 */
|
||||
@Excel(name = "物料编码")
|
||||
private String productId;
|
||||
|
||||
/** 品名 */
|
||||
@Excel(name = "品名")
|
||||
/** 物料名称 */
|
||||
@Excel(name = "物料名称")
|
||||
private String productName;
|
||||
|
||||
/** 规格 */
|
||||
@Excel(name = "规格")
|
||||
private String spec;
|
||||
|
||||
/** 单位 */
|
||||
// @Excel(name = "单位")
|
||||
private String unit;
|
||||
|
||||
/** 批号 */
|
||||
@Excel(name = "批号")
|
||||
private String lotNo;
|
||||
|
||||
/** 仓库 */
|
||||
private String warehouseId;
|
||||
// @Excel(name = "仓库")
|
||||
private String warehouseName;
|
||||
|
||||
@Excel(name = "货位")
|
||||
private String cargoSpaceName;
|
||||
|
||||
/** 巷道 */
|
||||
@Excel(name = "巷道")
|
||||
private String roadwayId;
|
||||
|
||||
/** 库存数量 */
|
||||
@Excel(name = "库存数量")
|
||||
private Double quantity;
|
||||
private java.math.BigDecimal quantity;
|
||||
|
||||
/** 托盘条码 */
|
||||
@Excel(name = "托盘条码")
|
||||
private String trayCode;
|
||||
|
||||
/** 价格 */
|
||||
// @Excel(name = "价格")
|
||||
private String price;
|
||||
/** 是否满盘 */
|
||||
@Excel(name = "是否满盘", readConverterExp = "0=否,1=是")
|
||||
private String model;
|
||||
|
||||
/** 产品分类 */
|
||||
@Excel(name = "产品分类")
|
||||
private String parentId;
|
||||
|
||||
/** 英文描述 */
|
||||
@Excel(name = "英文描述")
|
||||
private String cargoNo;
|
||||
|
||||
/** 型号 */
|
||||
@Excel(name = "型号")
|
||||
private String spare1;
|
||||
|
||||
/** 单件净重 */
|
||||
@Excel(name = "单件净重")
|
||||
private String spare2;
|
||||
|
||||
/** 颜色 */
|
||||
@Excel(name = "颜色")
|
||||
private String spare3;
|
||||
|
||||
/** 序列号 */
|
||||
@Excel(name = "序列号")
|
||||
private String spare4;
|
||||
|
||||
/** 电压 */
|
||||
@Excel(name = "电压")
|
||||
private String spare5;
|
||||
|
||||
/** 功率 */
|
||||
@Excel(name = "功率")
|
||||
private String spare6;
|
||||
|
||||
/** 相位 */
|
||||
@Excel(name = "相位")
|
||||
/** 盘点记录 0-未盘点 1-已盘点 */
|
||||
@Excel(name = "盘点记录", readConverterExp = "0=未盘点,1=已盘点")
|
||||
private String spare7;
|
||||
|
||||
/** 毛重 */
|
||||
@Excel(name = "毛重")
|
||||
/** 项目号546 */
|
||||
@Excel(name = "项目号")
|
||||
private String spare4;
|
||||
|
||||
/** 批号546 */
|
||||
@Excel(name = "批号")
|
||||
private String lotNo;
|
||||
|
||||
/** 层级关系546 */
|
||||
@Excel(name = "层级关系")
|
||||
private String spare1;
|
||||
|
||||
/** 上层物料546 */
|
||||
@Excel(name = "上层物料")
|
||||
private String spare2;
|
||||
|
||||
/** 顶层物料546 */
|
||||
@Excel(name = "顶层物料")
|
||||
private String spare3;
|
||||
|
||||
/** 合同号546 */
|
||||
@Excel(name = "合同号")
|
||||
private String spare5;
|
||||
|
||||
/** 销售订单号546 */
|
||||
@Excel(name = "销售订单号")
|
||||
private String spare6;
|
||||
|
||||
/** 供应商编码546 */
|
||||
@Excel(name = "供应商编码")
|
||||
private String voltage;
|
||||
|
||||
/** 供应商名称546 */
|
||||
@Excel(name = "供应商名称")
|
||||
private String stackingId;
|
||||
|
||||
/** 规格型号546 */
|
||||
@Excel(name = "规格型号")
|
||||
private String power;
|
||||
|
||||
/** 计量单位546 */
|
||||
@Excel(name = "计量单位")
|
||||
private String phase;
|
||||
|
||||
/** 货位名称 */
|
||||
@Excel(name = "货位名称")
|
||||
private String cargoSpaceName;
|
||||
|
||||
/** 货位状态 */
|
||||
@Excel(name = "货位状态",dictType = "cargo_space_status")
|
||||
private String cargoSpaceStatus;
|
||||
|
||||
/** 货位锁 */
|
||||
@Excel(name = "货位锁",dictType = "cargo_space_lock_status")
|
||||
private String locked;
|
||||
|
||||
/** 库存状态 */
|
||||
@Excel(name = "库存状态",dictType = "stock_status")
|
||||
private String stockStatus;
|
||||
|
||||
/** 物料状态 */
|
||||
@Excel(name = "物料状态",dictType = "product_status")
|
||||
private String productStatus;
|
||||
|
||||
/** 货位id */
|
||||
// @Excel(name = "货位id")
|
||||
private String cargoSpaceId;
|
||||
|
||||
/** 入库时间 */
|
||||
// @Excel(name = "入库时间")
|
||||
private String inDate;
|
||||
|
||||
/** 回流时间 */
|
||||
// @Excel(name = "回流时间")
|
||||
private String backDate;
|
||||
|
||||
/** 物料GUID */
|
||||
// @Excel(name = "物料GUID")
|
||||
private String productGuid;
|
||||
|
||||
/** 作业ID */
|
||||
// @Excel(name = "作业ID")
|
||||
private String jobId;
|
||||
|
||||
/** 出库数量 */
|
||||
// @Excel(name = "出库数量")
|
||||
private String outQuantity;
|
||||
|
||||
/** 入库子单id */
|
||||
// @Excel(name = "入库子单id")
|
||||
private String stockinDetailId;
|
||||
|
||||
/** 入库主单 */
|
||||
// @Excel(name = "入库主单")
|
||||
private String stockinId;
|
||||
|
||||
/** 入库类型 */
|
||||
// @Excel(name = "入库类型")
|
||||
private String inType;
|
||||
|
||||
/** 入库班组ID */
|
||||
// @Excel(name = "入库班组ID")
|
||||
private String inClassId;
|
||||
|
||||
/** 仓库 */
|
||||
// @Excel(name = "仓库")
|
||||
private String warehouseId;
|
||||
|
||||
/** $column.columnComment */
|
||||
// @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String netWeight;
|
||||
|
||||
/** $column.columnComment */
|
||||
// @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String grossWeight;
|
||||
|
||||
/** $column.columnComment */
|
||||
// @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String distribution;
|
||||
|
||||
/** $column.columnComment */
|
||||
// @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String orderId;
|
||||
|
||||
/** $column.columnComment */
|
||||
// @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String spare8;
|
||||
|
||||
/** NC号 */
|
||||
@Excel(name = "NC号")
|
||||
private String spare9;
|
||||
|
||||
/** 电源线 */
|
||||
@Excel(name = "电源线")
|
||||
private String spare10;
|
||||
|
||||
/** 插头 */
|
||||
@Excel(name = "插头")
|
||||
private String spare11;
|
||||
|
||||
/** 接嘴 */
|
||||
@Excel(name = "接嘴")
|
||||
private String spare12;
|
||||
|
||||
/** 快捷码 */
|
||||
@Excel(name = "快捷码")
|
||||
private String spare13;
|
||||
|
||||
/** 库存单位编号 */
|
||||
@Excel(name = "库存单位编号")
|
||||
private String spare14;
|
||||
|
||||
/** 库存单位名称 */
|
||||
@Excel(name = "库存单位名称")
|
||||
private String spare15;
|
||||
|
||||
/** 品号群组 */
|
||||
@Excel(name = "品号群组")
|
||||
private String spare16;
|
||||
|
||||
/** 归类品 */
|
||||
@Excel(name = "归类品")
|
||||
private String spare17;
|
||||
|
||||
/** 计量体系 */
|
||||
@Excel(name = "计量体系")
|
||||
private String spare18;
|
||||
|
||||
/** 群组名称 */
|
||||
@Excel(name = "群组名称")
|
||||
private String spare19;
|
||||
|
||||
/** 批号管理 */
|
||||
@Excel(name = "批号管理")
|
||||
private String spare20;
|
||||
|
||||
/** 状态 */
|
||||
@Excel(name = "状态")
|
||||
private String spare21;
|
||||
|
||||
/** 产品大类 */
|
||||
@Excel(name = "产品大类")
|
||||
private String spare22;
|
||||
|
||||
/** 产品二类 */
|
||||
@Excel(name = "产品二类")
|
||||
private String spare23;
|
||||
|
||||
/** 产品线/产品系列(组码) */
|
||||
@Excel(name = "产品线/产品系列")
|
||||
private String spare24;
|
||||
|
||||
/** BOM状态(组码) */
|
||||
@Excel(name = "BOM状态")
|
||||
private String spare25;
|
||||
|
||||
/** 产品定位(组码) */
|
||||
@Excel(name = "产品定位")
|
||||
private String spare26;
|
||||
|
||||
/** 电脑板型号(组码) */
|
||||
@Excel(name = "电脑板型号")
|
||||
private String spare27;
|
||||
|
||||
/** 非标要求 */
|
||||
@Excel(name = "非标要求")
|
||||
private String spare28;
|
||||
|
||||
/** 品牌(组码) */
|
||||
@Excel(name = "品牌")
|
||||
private String spare29;
|
||||
|
||||
/** 非标颜色 */
|
||||
@Excel(name = "非标颜色")
|
||||
private String spare30;
|
||||
|
||||
/** 主颜色 */
|
||||
@Excel(name = "主颜色")
|
||||
private String spare31;
|
||||
|
||||
/** 辅助颜色 */
|
||||
@Excel(name = "辅助颜色")
|
||||
private String spare32;
|
||||
|
||||
/** 是否标准款(组码) */
|
||||
@Excel(name = "是否标准款")
|
||||
private String spare33;
|
||||
|
||||
/** 包装方式 */
|
||||
@Excel(name = "包装方式")
|
||||
private String spare34;
|
||||
|
||||
/** 主要包装方式 */
|
||||
@Excel(name = "主要包装方式")
|
||||
private String spare35;
|
||||
|
||||
/** 长 */
|
||||
@Excel(name = "长")
|
||||
private String spare36;
|
||||
|
||||
/** 宽 */
|
||||
@Excel(name = "宽")
|
||||
private String spare37;
|
||||
|
||||
/** 高 */
|
||||
@Excel(name = "高")
|
||||
private String spare38;
|
||||
|
||||
/** 包装材积 */
|
||||
@Excel(name = "包装材积")
|
||||
private String spare39;
|
||||
|
||||
/** 备注 */
|
||||
@Excel(name = "备注")
|
||||
private String remark;
|
||||
private String cargoSpaceId;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/** 分组字段控制 */
|
||||
private Boolean groupByStockId;
|
||||
private Boolean groupByCargoSpaceId;
|
||||
private Boolean groupByStockStatus;
|
||||
private Boolean groupByProductStatus;
|
||||
private Boolean groupByLotNo;
|
||||
private Boolean groupByInDate;
|
||||
private Boolean groupByBackDate;
|
||||
private Boolean groupByProductGuid;
|
||||
private Boolean groupByJobId;
|
||||
private Boolean groupByTrayCode;
|
||||
private Boolean groupByOutQuantity;
|
||||
private Boolean groupByStockinDetailId;
|
||||
private Boolean groupByStockinId;
|
||||
private Boolean groupByInType;
|
||||
private Boolean groupByInClassId;
|
||||
private Boolean groupByWarehouseId;
|
||||
private Boolean groupByStackingId;
|
||||
private Boolean groupByProductId;
|
||||
private Boolean groupByProductName;
|
||||
private Boolean groupByVoltage;
|
||||
private Boolean groupByPower;
|
||||
private Boolean groupByPhase;
|
||||
private Boolean groupByOrderId;
|
||||
private Boolean groupBySpec;
|
||||
private Boolean groupByUnit;
|
||||
private Boolean groupByLotNo;
|
||||
private Boolean groupByWarehouseId;
|
||||
private Boolean groupByRoadwayId;
|
||||
private Boolean groupByPrice;
|
||||
private Boolean groupByParentId;
|
||||
private Boolean groupByCargoNo;
|
||||
private Boolean groupByCargoSpaceName;
|
||||
private Boolean groupByCargoSpaceStatus;
|
||||
private Boolean groupByLocked;
|
||||
private Boolean groupBySpare1;
|
||||
private Boolean groupBySpare2;
|
||||
private Boolean groupBySpare3;
|
||||
@@ -261,38 +222,9 @@ public class StockSummary extends BaseEntity
|
||||
private Boolean groupBySpare6;
|
||||
private Boolean groupBySpare7;
|
||||
private Boolean groupBySpare8;
|
||||
private Boolean groupBySpare9;
|
||||
private Boolean groupBySpare10;
|
||||
private Boolean groupBySpare11;
|
||||
private Boolean groupBySpare12;
|
||||
private Boolean groupBySpare13;
|
||||
private Boolean groupBySpare14;
|
||||
private Boolean groupBySpare15;
|
||||
private Boolean groupBySpare16;
|
||||
private Boolean groupBySpare17;
|
||||
private Boolean groupBySpare18;
|
||||
private Boolean groupBySpare19;
|
||||
private Boolean groupBySpare20;
|
||||
private Boolean groupBySpare21;
|
||||
private Boolean groupBySpare22;
|
||||
private Boolean groupBySpare23;
|
||||
private Boolean groupBySpare24;
|
||||
private Boolean groupBySpare25;
|
||||
private Boolean groupBySpare26;
|
||||
private Boolean groupBySpare27;
|
||||
private Boolean groupBySpare28;
|
||||
private Boolean groupBySpare29;
|
||||
private Boolean groupBySpare30;
|
||||
private Boolean groupBySpare31;
|
||||
private Boolean groupBySpare32;
|
||||
private Boolean groupBySpare33;
|
||||
private Boolean groupBySpare34;
|
||||
private Boolean groupBySpare35;
|
||||
private Boolean groupBySpare36;
|
||||
private Boolean groupBySpare37;
|
||||
private Boolean groupBySpare38;
|
||||
private Boolean groupBySpare39;
|
||||
private Boolean groupByCargoSpaceId;
|
||||
|
||||
private Boolean groupByNetWeight;
|
||||
private Boolean groupByGrossWeight;
|
||||
private Boolean groupByDistribution;
|
||||
private Boolean groupByModel;
|
||||
|
||||
}
|
||||
|
||||
@@ -40,7 +40,6 @@ public class StockSummaryServiceImpl implements IStockSummaryService
|
||||
* @return 库存汇总
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "bw")
|
||||
public List<StockSummary> selectStockSummaryList(StockSummary stockSummary)
|
||||
{
|
||||
return stockSummaryMapper.selectStockSummaryList(stockSummary);
|
||||
|
||||
@@ -24,8 +24,8 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
||||
/**
|
||||
* 入库作业流水Controller
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-22
|
||||
* @author ruoyi
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/search/ViewInJobFlow")
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,8 +6,8 @@ import com.ruoyi.search.ViewInJobFlow.domain.ViewInJobFlow;
|
||||
/**
|
||||
* 入库作业流水Mapper接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-22
|
||||
* @author ruoyi
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
public interface ViewInJobFlowMapper
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@ import com.ruoyi.search.ViewInJobFlow.domain.ViewInJobFlow;
|
||||
/**
|
||||
* 入库作业流水Service接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-22
|
||||
* @author ruoyi
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
public interface IViewInJobFlowService
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ import com.ruoyi.search.ViewInJobFlow.service.IViewInJobFlowService;
|
||||
/**
|
||||
* 入库作业流水Service业务层处理
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-22
|
||||
* @author ruoyi
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
@Service
|
||||
public class ViewInJobFlowServiceImpl implements IViewInJobFlowService
|
||||
|
||||
@@ -24,8 +24,8 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
||||
/**
|
||||
* 出库作业流水Controller
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-22
|
||||
* @author ruoyi
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/search/ViewOutJobFlow")
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,8 +6,8 @@ import com.ruoyi.search.ViewOutJobFlow.domain.ViewOutJobFlow;
|
||||
/**
|
||||
* 出库作业流水Mapper接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-22
|
||||
* @author ruoyi
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
public interface ViewOutJobFlowMapper
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@ import com.ruoyi.search.ViewOutJobFlow.domain.ViewOutJobFlow;
|
||||
/**
|
||||
* 出库作业流水Service接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-22
|
||||
* @author ruoyi
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
public interface IViewOutJobFlowService
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@ import com.ruoyi.search.ViewOutJobFlow.service.IViewOutJobFlowService;
|
||||
/**
|
||||
* 出库作业流水Service业务层处理
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-22
|
||||
* @author ruoyi
|
||||
* @date 2026-01-04
|
||||
*/
|
||||
@Service
|
||||
public class ViewOutJobFlowServiceImpl implements IViewOutJobFlowService
|
||||
|
||||
@@ -1,25 +1,31 @@
|
||||
package com.ruoyi.search.ViewStockDetail.controller;
|
||||
|
||||
import java.util.List;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.search.ViewStockDetail.domain.ViewStockDetail;
|
||||
import com.ruoyi.search.ViewStockDetail.service.IViewStockDetailService;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 库存明细查询Controller
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-26
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-30
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/search/ViewStockDetail")
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,20 +1,19 @@
|
||||
package com.ruoyi.search.ViewStockDetail.mapper;
|
||||
|
||||
import com.ruoyi.search.ViewStockDetail.domain.ViewStockDetail;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.search.ViewStockDetail.domain.ViewStockDetail;
|
||||
|
||||
/**
|
||||
* 库存明细查询Mapper接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-26
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-30
|
||||
*/
|
||||
public interface ViewStockDetailMapper
|
||||
public interface ViewStockDetailMapper
|
||||
{
|
||||
/**
|
||||
* 查询库存明细查询
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存明细查询主键
|
||||
* @return 库存明细查询
|
||||
*/
|
||||
@@ -22,7 +21,7 @@ public interface ViewStockDetailMapper
|
||||
|
||||
/**
|
||||
* 查询库存明细查询列表
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 库存明细查询集合
|
||||
*/
|
||||
@@ -30,7 +29,7 @@ public interface ViewStockDetailMapper
|
||||
|
||||
/**
|
||||
* 新增库存明细查询
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -38,7 +37,7 @@ public interface ViewStockDetailMapper
|
||||
|
||||
/**
|
||||
* 修改库存明细查询
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -46,7 +45,7 @@ public interface ViewStockDetailMapper
|
||||
|
||||
/**
|
||||
* 删除库存明细查询
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存明细查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -54,7 +53,7 @@ public interface ViewStockDetailMapper
|
||||
|
||||
/**
|
||||
* 批量删除库存明细查询
|
||||
*
|
||||
*
|
||||
* @param onlyIdentitys 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
package com.ruoyi.search.ViewStockDetail.service;
|
||||
|
||||
import com.ruoyi.search.ViewStockDetail.domain.ViewStockDetail;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.search.ViewStockDetail.domain.ViewStockDetail;
|
||||
|
||||
/**
|
||||
* 库存明细查询Service接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-26
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-30
|
||||
*/
|
||||
public interface IViewStockDetailService
|
||||
public interface IViewStockDetailService
|
||||
{
|
||||
/**
|
||||
* 查询库存明细查询
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存明细查询主键
|
||||
* @return 库存明细查询
|
||||
*/
|
||||
@@ -22,7 +21,7 @@ public interface IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 查询库存明细查询列表
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 库存明细查询集合
|
||||
*/
|
||||
@@ -30,7 +29,7 @@ public interface IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 新增库存明细查询
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -38,7 +37,7 @@ public interface IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 修改库存明细查询
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -46,7 +45,7 @@ public interface IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 批量删除库存明细查询
|
||||
*
|
||||
*
|
||||
* @param onlyIdentitys 需要删除的库存明细查询主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -54,7 +53,7 @@ public interface IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 删除库存明细查询信息
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存明细查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,29 +1,27 @@
|
||||
package com.ruoyi.search.ViewStockDetail.service.impl;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import com.ruoyi.search.ViewStockDetail.domain.ViewStockDetail;
|
||||
import com.ruoyi.search.ViewStockDetail.mapper.ViewStockDetailMapper;
|
||||
import com.ruoyi.search.ViewStockDetail.service.IViewStockDetailService;
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.search.ViewStockDetail.mapper.ViewStockDetailMapper;
|
||||
import com.ruoyi.search.ViewStockDetail.domain.ViewStockDetail;
|
||||
import com.ruoyi.search.ViewStockDetail.service.IViewStockDetailService;
|
||||
|
||||
/**
|
||||
* 库存明细查询Service业务层处理
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-26
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-12-30
|
||||
*/
|
||||
@Service
|
||||
public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
{
|
||||
@Autowired
|
||||
private ViewStockDetailMapper viewStockDetailMapper;
|
||||
|
||||
/**
|
||||
* 查询库存明细查询
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存明细查询主键
|
||||
* @return 库存明细查询
|
||||
*/
|
||||
@@ -35,12 +33,11 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 查询库存明细查询列表
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 库存明细查询
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vsd")
|
||||
public List<ViewStockDetail> selectViewStockDetailList(ViewStockDetail viewStockDetail)
|
||||
{
|
||||
return viewStockDetailMapper.selectViewStockDetailList(viewStockDetail);
|
||||
@@ -48,7 +45,7 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 新增库存明细查询
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -60,7 +57,7 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 修改库存明细查询
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -72,7 +69,7 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 批量删除库存明细查询
|
||||
*
|
||||
*
|
||||
* @param onlyIdentitys 需要删除的库存明细查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -84,7 +81,7 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 删除库存明细查询信息
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存明细查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -24,8 +24,8 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
||||
/**
|
||||
* 入库单据历史Controller
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-19
|
||||
* @author ruoyi
|
||||
* @date 2025-12-31
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/search/ViewStockinHistory")
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,8 +6,8 @@ import com.ruoyi.search.ViewStockinHistory.domain.ViewStockinHistory;
|
||||
/**
|
||||
* 入库单据历史Mapper接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-19
|
||||
* @author ruoyi
|
||||
* @date 2025-12-31
|
||||
*/
|
||||
public interface ViewStockinHistoryMapper
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@ import com.ruoyi.search.ViewStockinHistory.domain.ViewStockinHistory;
|
||||
/**
|
||||
* 入库单据历史Service接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-19
|
||||
* @author ruoyi
|
||||
* @date 2025-12-31
|
||||
*/
|
||||
public interface IViewStockinHistoryService
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@ import com.ruoyi.search.ViewStockinHistory.service.IViewStockinHistoryService;
|
||||
/**
|
||||
* 入库单据历史Service业务层处理
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-19
|
||||
* @author ruoyi
|
||||
* @date 2025-12-31
|
||||
*/
|
||||
@Service
|
||||
public class ViewStockinHistoryServiceImpl implements IViewStockinHistoryService
|
||||
|
||||
@@ -24,8 +24,8 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
||||
/**
|
||||
* 出库单据历史Controller
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-19
|
||||
* @author ruoyi
|
||||
* @date 2026-01-06
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/search/ViewStockoutHistory")
|
||||
@@ -63,10 +63,10 @@ public class ViewStockoutHistoryController extends BaseController
|
||||
* 获取出库单据历史详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('search:ViewStockoutHistory:query')")
|
||||
@GetMapping(value = "/{stockoutId}")
|
||||
public AjaxResult getInfo(@PathVariable("stockoutId") String stockoutId)
|
||||
@GetMapping(value = "/{stockoutGuid}")
|
||||
public AjaxResult getInfo(@PathVariable("stockoutGuid") String stockoutGuid)
|
||||
{
|
||||
return success(viewStockoutHistoryService.selectViewStockoutHistoryByStockoutId(stockoutId));
|
||||
return success(viewStockoutHistoryService.selectViewStockoutHistoryByStockoutGuid(stockoutGuid));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -96,9 +96,9 @@ public class ViewStockoutHistoryController extends BaseController
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('search:ViewStockoutHistory:remove')")
|
||||
@Log(title = "出库单据历史", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{stockoutIds}")
|
||||
public AjaxResult remove(@PathVariable String[] stockoutIds)
|
||||
@DeleteMapping("/{stockoutGuids}")
|
||||
public AjaxResult remove(@PathVariable String[] stockoutGuids)
|
||||
{
|
||||
return toAjax(viewStockoutHistoryService.deleteViewStockoutHistoryByStockoutIds(stockoutIds));
|
||||
return toAjax(viewStockoutHistoryService.deleteViewStockoutHistoryByStockoutGuids(stockoutGuids));
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,18 +6,18 @@ import com.ruoyi.search.ViewStockoutHistory.domain.ViewStockoutHistory;
|
||||
/**
|
||||
* 出库单据历史Mapper接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-19
|
||||
* @author ruoyi
|
||||
* @date 2026-01-06
|
||||
*/
|
||||
public interface ViewStockoutHistoryMapper
|
||||
{
|
||||
/**
|
||||
* 查询出库单据历史
|
||||
*
|
||||
* @param stockoutId 出库单据历史主键
|
||||
* @param stockoutGuid 出库单据历史主键
|
||||
* @return 出库单据历史
|
||||
*/
|
||||
public ViewStockoutHistory selectViewStockoutHistoryByStockoutId(String stockoutId);
|
||||
public ViewStockoutHistory selectViewStockoutHistoryByStockoutGuid(String stockoutGuid);
|
||||
|
||||
/**
|
||||
* 查询出库单据历史列表
|
||||
@@ -46,16 +46,16 @@ public interface ViewStockoutHistoryMapper
|
||||
/**
|
||||
* 删除出库单据历史
|
||||
*
|
||||
* @param stockoutId 出库单据历史主键
|
||||
* @param stockoutGuid 出库单据历史主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteViewStockoutHistoryByStockoutId(String stockoutId);
|
||||
public int deleteViewStockoutHistoryByStockoutGuid(String stockoutGuid);
|
||||
|
||||
/**
|
||||
* 批量删除出库单据历史
|
||||
*
|
||||
* @param stockoutIds 需要删除的数据主键集合
|
||||
* @param stockoutGuids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteViewStockoutHistoryByStockoutIds(String[] stockoutIds);
|
||||
public int deleteViewStockoutHistoryByStockoutGuids(String[] stockoutGuids);
|
||||
}
|
||||
|
||||
@@ -6,18 +6,18 @@ import com.ruoyi.search.ViewStockoutHistory.domain.ViewStockoutHistory;
|
||||
/**
|
||||
* 出库单据历史Service接口
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-19
|
||||
* @author ruoyi
|
||||
* @date 2026-01-06
|
||||
*/
|
||||
public interface IViewStockoutHistoryService
|
||||
{
|
||||
/**
|
||||
* 查询出库单据历史
|
||||
*
|
||||
* @param stockoutId 出库单据历史主键
|
||||
* @param stockoutGuid 出库单据历史主键
|
||||
* @return 出库单据历史
|
||||
*/
|
||||
public ViewStockoutHistory selectViewStockoutHistoryByStockoutId(String stockoutId);
|
||||
public ViewStockoutHistory selectViewStockoutHistoryByStockoutGuid(String stockoutGuid);
|
||||
|
||||
/**
|
||||
* 查询出库单据历史列表
|
||||
@@ -46,16 +46,16 @@ public interface IViewStockoutHistoryService
|
||||
/**
|
||||
* 批量删除出库单据历史
|
||||
*
|
||||
* @param stockoutIds 需要删除的出库单据历史主键集合
|
||||
* @param stockoutGuids 需要删除的出库单据历史主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteViewStockoutHistoryByStockoutIds(String[] stockoutIds);
|
||||
public int deleteViewStockoutHistoryByStockoutGuids(String[] stockoutGuids);
|
||||
|
||||
/**
|
||||
* 删除出库单据历史信息
|
||||
*
|
||||
* @param stockoutId 出库单据历史主键
|
||||
* @param stockoutGuid 出库单据历史主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteViewStockoutHistoryByStockoutId(String stockoutId);
|
||||
public int deleteViewStockoutHistoryByStockoutGuid(String stockoutGuid);
|
||||
}
|
||||
|
||||
@@ -10,8 +10,8 @@ import com.ruoyi.search.ViewStockoutHistory.service.IViewStockoutHistoryService;
|
||||
/**
|
||||
* 出库单据历史Service业务层处理
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-09-19
|
||||
* @author ruoyi
|
||||
* @date 2026-01-06
|
||||
*/
|
||||
@Service
|
||||
public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryService
|
||||
@@ -22,13 +22,13 @@ public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryServi
|
||||
/**
|
||||
* 查询出库单据历史
|
||||
*
|
||||
* @param stockoutId 出库单据历史主键
|
||||
* @param stockoutGuid 出库单据历史主键
|
||||
* @return 出库单据历史
|
||||
*/
|
||||
@Override
|
||||
public ViewStockoutHistory selectViewStockoutHistoryByStockoutId(String stockoutId)
|
||||
public ViewStockoutHistory selectViewStockoutHistoryByStockoutGuid(String stockoutGuid)
|
||||
{
|
||||
return viewStockoutHistoryMapper.selectViewStockoutHistoryByStockoutId(stockoutId);
|
||||
return viewStockoutHistoryMapper.selectViewStockoutHistoryByStockoutGuid(stockoutGuid);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -70,24 +70,24 @@ public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryServi
|
||||
/**
|
||||
* 批量删除出库单据历史
|
||||
*
|
||||
* @param stockoutIds 需要删除的出库单据历史主键
|
||||
* @param stockoutGuids 需要删除的出库单据历史主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteViewStockoutHistoryByStockoutIds(String[] stockoutIds)
|
||||
public int deleteViewStockoutHistoryByStockoutGuids(String[] stockoutGuids)
|
||||
{
|
||||
return viewStockoutHistoryMapper.deleteViewStockoutHistoryByStockoutIds(stockoutIds);
|
||||
return viewStockoutHistoryMapper.deleteViewStockoutHistoryByStockoutGuids(stockoutGuids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除出库单据历史信息
|
||||
*
|
||||
* @param stockoutId 出库单据历史主键
|
||||
* @param stockoutGuid 出库单据历史主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteViewStockoutHistoryByStockoutId(String stockoutId)
|
||||
public int deleteViewStockoutHistoryByStockoutGuid(String stockoutGuid)
|
||||
{
|
||||
return viewStockoutHistoryMapper.deleteViewStockoutHistoryByStockoutId(stockoutId);
|
||||
return viewStockoutHistoryMapper.deleteViewStockoutHistoryByStockoutGuid(stockoutGuid);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user