库存安全查询,预警查询字段修改,国际化。查询统计所有导出的国际化

This commit is contained in:
猫猫guowen
2025-08-06 17:41:26 +08:00
parent 8aecea0a78
commit 37e026adb7
30 changed files with 2879 additions and 1725 deletions

View File

@@ -71,3 +71,367 @@ error.message4=没有该拣选工位绑定的电子标签
error.message5=容器码不能为空
error.message6=起始点位不能为空
error.message7=目标点位不能为空
#ViewStockWarning
search.ViewStockWarning.stockId=Stock ID
search.ViewStockWarning.cargoSpaceId=Cargo Space ID
search.ViewStockWarning.stockStatus=Stock Status
search.ViewStockWarning.productStatus=Product Status
search.ViewStockWarning.lotNo=Lot Number
search.ViewStockWarning.inDate=In Date
search.ViewStockWarning.backDate=Back Date
search.ViewStockWarning.productGuid=Product GUID
search.ViewStockWarning.quantity=Quantity
search.ViewStockWarning.jobId=Job ID
search.ViewStockWarning.trayCode=Tray Code
search.ViewStockWarning.outQuantity=Out Quantity
search.ViewStockWarning.stockinDetailId=Stock In Detail ID
search.ViewStockWarning.stockinId=Stock In ID
search.ViewStockWarning.inType=In Type
search.ViewStockWarning.inClassId=In Class ID
search.ViewStockWarning.warehouseId=Warehouse ID
search.ViewStockWarning.stackingId=Stacking ID
search.ViewStockWarning.spare1=Stock Warning Flag
search.ViewStockWarning.productId=Product ID
search.ViewStockWarning.warehouseName=Warehouse Name
search.ViewStockWarning.address=Address
search.ViewStockWarning.cDesc=Description
search.ViewStockWarning.warehouseKind=Warehouse Kind
search.ViewStockWarning.warehouseType=Warehouse Type
search.ViewStockWarning.isCurrent=Is Current
search.ViewStockWarning.price=Price
search.ViewStockWarning.unit=Unit
search.ViewStockWarning.spec=Specification
search.ViewStockWarning.enName=English Name
search.ViewStockWarning.weight=Weight
search.ViewStockWarning.longMM=Length MM
search.ViewStockWarning.wide=Width MM
search.ViewStockWarning.hight=Height MM
search.ViewStockWarning.volume=Volume m³
search.ViewStockWarning.productName=Product Name
search.ViewStockWarning.cargoSpaceName=Cargo Space Name
search.ViewStockWarning.roadwayId=Roadway ID
search.ViewStockWarning.cargoAreaId=Cargo Area ID
search.ViewStockWarning.theType=Cargo Type
search.ViewStockWarning.theTypeName=Cargo Type Name
search.ViewStockWarning.thePlatoon=Row
search.ViewStockWarning.theColumn=Column
search.ViewStockWarning.theFloor=Floor
search.ViewStockWarning.cargoStatus=Cargo Status
search.ViewStockWarning.locked=Locked
search.ViewStockWarning.cargoHight=Cargo Height
search.ViewStockWarning.issDouble=Is Double
search.ViewStockWarning.groupCodingNo=Group Coding No
search.ViewStockWarning.groupCoding=Group Coding
search.ViewStockWarning.cargoSpaceLogo=Cargo Space Logo
search.ViewStockWarning.thisCargoArea=This Cargo Area
#ViewStockSecure
search.ViewStockSecure.stockId=Stock ID
search.ViewStockSecure.cargoSpaceId=Cargo Space ID
search.ViewStockSecure.stockStatus=Stock Status
search.ViewStockSecure.productStatus=Product Status
search.ViewStockSecure.lotNo=Lot Number
search.ViewStockSecure.inDate=In Date
search.ViewStockSecure.backDate=Back Date
search.ViewStockSecure.productGuid=Product GUID
search.ViewStockSecure.quantity=Quantity
search.ViewStockSecure.jobId=Job ID
search.ViewStockSecure.trayCode=Tray Code
search.ViewStockSecure.outQuantity=Out Quantity
search.ViewStockSecure.stockinDetailId=Stock In Detail ID
search.ViewStockSecure.stockinId=Stock In ID
search.ViewStockSecure.inType=In Type
search.ViewStockSecure.inClassId=In Class ID
search.ViewStockSecure.warehouseId=Warehouse ID
search.ViewStockSecure.stackingId=Stack Type ID
search.ViewStockSecure.spare1=Stock Warning Flag
search.ViewStockSecure.productId=Product ID
search.ViewStockSecure.warehouseName=Warehouse Name
search.ViewStockSecure.address=Address
search.ViewStockSecure.cDesc=Description
search.ViewStockSecure.warehouseKind=Warehouse Kind
search.ViewStockSecure.warehouseType=Warehouse Type
search.ViewStockSecure.isCurrent=Is Current
search.ViewStockSecure.price=Price
search.ViewStockSecure.unit=Unit
search.ViewStockSecure.spec=Specification
search.ViewStockSecure.enName=English Name
search.ViewStockSecure.weight=Weight
search.ViewStockSecure.longMM=Length MM
search.ViewStockSecure.wide=Width MM
search.ViewStockSecure.hight=Height MM
search.ViewStockSecure.volume=Volume m³
search.ViewStockSecure.productName=Product Name
search.ViewStockSecure.cargoSpaceName=Cargo Space Name
search.ViewStockSecure.roadwayId=Roadway ID
search.ViewStockSecure.cargoAreaId=Cargo Area ID
search.ViewStockSecure.theType=Type
search.ViewStockSecure.theTypeName=Type Name
search.ViewStockSecure.thePlatoon=Platoon
search.ViewStockSecure.theColumn=Column
search.ViewStockSecure.theFloor=Floor
search.ViewStockSecure.cargoStatus=Cargo Status
search.ViewStockSecure.locked=Locked
search.ViewStockSecure.cargoHight=Cargo Height
search.ViewStockSecure.issDouble=Is Double
search.ViewStockSecure.groupCodingNo=Group Coding No
search.ViewStockSecure.groupCoding=Group Coding
search.ViewStockSecure.cargoSpaceLogo=Cargo Space Logo
search.ViewStockSecure.thisCargoArea=This Cargo Area
#ViewFlatWarehouseOutFlow
search.ViewFlatWarehouseOutFlow.inOrOut=In/Out Type
search.ViewFlatWarehouseOutFlow.inOrOutSotckId=In/Out Main Document ID
search.ViewFlatWarehouseOutFlow.inOrOutSotckDetailId=In/Out Sub Document ID
search.ViewFlatWarehouseOutFlow.productGuid=Product GUID
search.ViewFlatWarehouseOutFlow.productId=Product ID
search.ViewFlatWarehouseOutFlow.quantity=In/Out Quantity
search.ViewFlatWarehouseOutFlow.createMan=Creator
search.ViewFlatWarehouseOutFlow.warehouseId=Warehouse ID
search.ViewFlatWarehouseOutFlow.warehouseName=Warehouse Name
search.ViewFlatWarehouseOutFlow.address=Address
search.ViewFlatWarehouseOutFlow.cDesc=Description
search.ViewFlatWarehouseOutFlow.warehouseKind=Warehouse Kind
search.ViewFlatWarehouseOutFlow.warehouseType=Warehouse Type
search.ViewFlatWarehouseOutFlow.isCurrent=Is Current
search.ViewFlatWarehouseOutFlow.productName=Product Name
search.ViewFlatWarehouseOutFlow.spec=Specification
search.ViewFlatWarehouseOutFlow.unit=Unit
search.ViewFlatWarehouseOutFlow.price=Price
search.ViewFlatWarehouseOutFlow.spare1=English Name
search.ViewFlatWarehouseOutFlow.spare2=Net Weight
search.ViewFlatWarehouseOutFlow.spare5=Length MM
search.ViewFlatWarehouseOutFlow.spare6=Width MM
search.ViewFlatWarehouseOutFlow.spare7=Height MM
search.ViewFlatWarehouseOutFlow.spare8=Volume m³
search.ViewFlatWarehouseOutFlow.remark=Remark
# ViewFlatWarehouseInFlow
search.ViewFlatWarehouseInFlow.inOrOut=In/Out Type
search.ViewFlatWarehouseInFlow.inOrOutSotckId=In/Out Main Document ID
search.ViewFlatWarehouseInFlow.inOrOutSotckDetailId=In/Out Sub Document ID
search.ViewFlatWarehouseInFlow.productGuid=Product GUID
search.ViewFlatWarehouseInFlow.productId=Product ID
search.ViewFlatWarehouseInFlow.quantity=Quantity
search.ViewFlatWarehouseInFlow.createMan=Creator
search.ViewFlatWarehouseInFlow.warehouseId=Warehouse ID
search.ViewFlatWarehouseInFlow.warehouseName=Warehouse Name
search.ViewFlatWarehouseInFlow.address=Warehouse Address
search.ViewFlatWarehouseInFlow.cDesc=Warehouse Description
search.ViewFlatWarehouseInFlow.warehouseKind=Warehouse Level
search.ViewFlatWarehouseInFlow.warehouseType=Warehouse Type
search.ViewFlatWarehouseInFlow.isCurrent=Is Available
search.ViewFlatWarehouseInFlow.productName=Product Name
search.ViewFlatWarehouseInFlow.spec=Specification
search.ViewFlatWarehouseInFlow.unit=Unit
search.ViewFlatWarehouseInFlow.price=Price
search.ViewFlatWarehouseInFlow.spare1=English Name
search.ViewFlatWarehouseInFlow.spare2=Net Weight per Unit
search.ViewFlatWarehouseInFlow.spare5=Length MM
search.ViewFlatWarehouseInFlow.spare6=Width MM
search.ViewFlatWarehouseInFlow.spare7=Height MM
search.ViewFlatWarehouseInFlow.spare8=Volume m³
search.ViewFlatWarehouseInFlow.remark=Remark
# ViewInJobFlow
search.ViewInJobFlow.jobId=Job ID
search.ViewInJobFlow.jobDetailId=Job Detail ID
search.ViewInJobFlow.status=Status
search.ViewInJobFlow.taskNo=Task Number
search.ViewInJobFlow.trayCode=Tray Code
search.ViewInJobFlow.roadwayId=Roadway ID
search.ViewInJobFlow.cargoSpaceId=Cargo Space ID
search.ViewInJobFlow.cargoSpaceName=Cargo Space Name
search.ViewInJobFlow.thePlatoon=Row
search.ViewInJobFlow.theColumn=Column
search.ViewInJobFlow.theFloor=Floor
search.ViewInJobFlow.priority=Priority
search.ViewInJobFlow.executionPhase=Execution Phase
search.ViewInJobFlow.inOrOut=Job Type
search.ViewInJobFlow.entranceId=Entrance ID
search.ViewInJobFlow.productId=Product ID
search.ViewInJobFlow.lotNo=Lot Number
search.ViewInJobFlow.stackingId=Stacking ID
search.ViewInJobFlow.stockStatus=Stock Status
search.ViewInJobFlow.inQuantity=In Quantity
search.ViewInJobFlow.inOrOutId=Document ID
search.ViewInJobFlow.inOrOutDId=Sub Document ID
search.ViewInJobFlow.startTime=Start Time
search.ViewInJobFlow.finishTime=Finish Time
search.ViewInJobFlow.warehouseId=Warehouse ID
search.ViewInJobFlow.productName=Product Name
search.ViewInJobFlow.spec=Specification
search.ViewInJobFlow.unit=Unit
search.ViewInJobFlow.price=Price
search.ViewInJobFlow.spare1=English Name
search.ViewInJobFlow.spare2=Net Weight per Unit
search.ViewInJobFlow.spare5=Length MM
search.ViewInJobFlow.spare6=Width MM
search.ViewInJobFlow.spare7=Height MM
search.ViewInJobFlow.spare8=Volume m³
search.ViewInJobFlow.remark=Remark
#ViewOutJobFlow
search.ViewOutJobFlow.jobId=Job ID
search.ViewOutJobFlow.jobDetailId=Job Detail ID
search.ViewOutJobFlow.status=Status
search.ViewOutJobFlow.taskNo=Task Number
search.ViewOutJobFlow.trayCode=Tray Code
search.ViewOutJobFlow.roadwayId=Roadway ID
search.ViewOutJobFlow.cargoSpaceId=Cargo Space ID
search.ViewOutJobFlow.cargoSpaceName=Cargo Space Name
search.ViewOutJobFlow.thePlatoon=Row
search.ViewOutJobFlow.theColumn=Column
search.ViewOutJobFlow.theFloor=Floor
search.ViewOutJobFlow.priority=Priority
search.ViewOutJobFlow.executionPhase=Execution Phase
search.ViewOutJobFlow.inOrOut=Job Type
search.ViewOutJobFlow.exitId=Exit ID
search.ViewOutJobFlow.productId=Product ID
search.ViewOutJobFlow.lotNo=Lot Number
search.ViewOutJobFlow.stackingId=Stacking ID
search.ViewOutJobFlow.stockStatus=Stock Status
search.ViewOutJobFlow.outQuantity=Out Quantity
search.ViewOutJobFlow.giveNum=Return Quantity
search.ViewOutJobFlow.inOrOutId=Document ID
search.ViewOutJobFlow.inOrOutDId=Sub Document ID
search.ViewOutJobFlow.startTime=Start Time
search.ViewOutJobFlow.finishTime=Finish Time
search.ViewOutJobFlow.warehouseId=Warehouse ID
search.ViewOutJobFlow.productName=Product Name
search.ViewOutJobFlow.spec=Specification
search.ViewOutJobFlow.unit=Unit
search.ViewOutJobFlow.customerName=Customer Name
search.ViewOutJobFlow.price=Price
search.ViewOutJobFlow.spare1=English Name
search.ViewOutJobFlow.spare2=Net Weight per Unit
search.ViewOutJobFlow.spare5=Length MM
search.ViewOutJobFlow.spare6=Width MM
search.ViewOutJobFlow.spare7=Height MM
search.ViewOutJobFlow.spare8=Volume m³
search.ViewOutJobFlow.remark=Remark
# ViewStockoutHistory
search.ViewStockoutHistory.stockoutId=Stockout ID
search.ViewStockoutHistory.warehouseId=Warehouse ID
search.ViewStockoutHistory.outType=Out Type
search.ViewStockoutHistory.createDate=Create Date
search.ViewStockoutHistory.createManId=Creator ID
search.ViewStockoutHistory.status=Status
search.ViewStockoutHistory.stockoutSource=Stockout Source
search.ViewStockoutHistory.exitId=Exit Type
search.ViewStockoutHistory.stockoutDetailId=Stockout Detail ID
search.ViewStockoutHistory.productId=Product ID
search.ViewStockoutHistory.productName=Product Name
search.ViewStockoutHistory.lotNo=Lot Number
search.ViewStockoutHistory.quantity=Out Quantity
search.ViewStockoutHistory.allotQuantity=Allot Quantity
search.ViewStockoutHistory.assignNum=Assign Number
search.ViewStockoutHistory.erpStockoutId=ERP Stockout ID
search.ViewStockoutHistory.entryid=Customer Code
search.ViewStockoutHistory.customerName=Customer Name
search.ViewStockoutHistory.spec=Specification
search.ViewStockoutHistory.unit=Unit
search.ViewStockoutHistory.price=Price
search.ViewStockoutHistory.spare1=English Name
search.ViewStockoutHistory.spare2=Net Weight per Unit
search.ViewStockoutHistory.spare5=Length MM
search.ViewStockoutHistory.spare6=Width MM
search.ViewStockoutHistory.spare7=Height MM
search.ViewStockoutHistory.spare8=Volume m³
search.ViewStockoutHistory.remark=Remark
# ViewStockinHistory
search.ViewStockinHistory.stockinGuid=Stockin GUID
search.ViewStockinHistory.stockinId=Stockin ID
search.ViewStockinHistory.inType=In Type
search.ViewStockinHistory.createDate=Create Date
search.ViewStockinHistory.createManId=Creator
search.ViewStockinHistory.status=Status
search.ViewStockinHistory.warehouseId=Warehouse ID
search.ViewStockinHistory.finishDate=Finish Date
search.ViewStockinHistory.erpBill=ERP Bill
search.ViewStockinHistory.stockSource=Stock Source
search.ViewStockinHistory.departmentNo=Department No
search.ViewStockinHistory.classNo=Class No
search.ViewStockinHistory.supplierNo=Supplier No
search.ViewStockinHistory.supplierName=Supplier Name
search.ViewStockinHistory.simpleName=Simple Name
search.ViewStockinHistory.contactName=Contact Name
search.ViewStockinHistory.contactNumber=Contact Number
search.ViewStockinHistory.address=Supplier Address
search.ViewStockinHistory.stockinDetailId=Stockin Detail ID
search.ViewStockinHistory.lotNo=Lot Number
search.ViewStockinHistory.quantity=Planned Quantity
search.ViewStockinHistory.quantityX=Planned Boxes
search.ViewStockinHistory.quantityJ=Planned Pieces
search.ViewStockinHistory.assignNum=Actual Quantity
search.ViewStockinHistory.assignNumX=Actual Boxes
search.ViewStockinHistory.assignNumJ=Actual Pieces
search.ViewStockinHistory.scanNum=Scan Quantity
search.ViewStockinHistory.scanNumX=Scan Boxes
search.ViewStockinHistory.scanNumJ=Scan Pieces
search.ViewStockinHistory.printDate=In Date
search.ViewStockinHistory.stockStatus=Stock Status
search.ViewStockinHistory.price=Price
search.ViewStockinHistory.productId=Product ID
search.ViewStockinHistory.productName=Product Name
search.ViewStockinHistory.unit=Unit
search.ViewStockinHistory.spec=Specification
search.ViewStockinHistory.spare1=English Name
search.ViewStockinHistory.spare2=Net Weight per Unit
search.ViewStockinHistory.spare5=Length MM
search.ViewStockinHistory.spare6=Width MM
search.ViewStockinHistory.spare7=Height MM
search.ViewStockinHistory.spare8=Volume m³
search.ViewStockinHistory.remark=Remark
# StockSummary
search.StockSummary.productId=Product ID
search.StockSummary.productName=Product Name
search.StockSummary.spec=Specification
search.StockSummary.unit=Unit
search.StockSummary.lotNo=Lot Number
search.StockSummary.warehouseName=Warehouse
search.StockSummary.quantity=Stock Quantity
search.StockSummary.price=Price
search.StockSummary.spare1=English Name
search.StockSummary.spare2=Net Weight per Unit
search.StockSummary.spare5=Length MM
search.StockSummary.spare6=Width MM
search.StockSummary.spare7=Height MM
search.StockSummary.spare8=Volume m³
search.StockSummary.remark=Remark
search.StockSummary.cargoSpaceName=Cargo Space Name
# ViewStockDetail
search.ViewStockDetail.onlyIdentity=ID
search.ViewStockDetail.stockId=Stock ID
search.ViewStockDetail.cargoSpaceId=Cargo Space ID
search.ViewStockDetail.trayCode=Tray Code
search.ViewStockDetail.quantity=Quantity
search.ViewStockDetail.jobId=Job ID
search.ViewStockDetail.lotNo=Lot Number
search.ViewStockDetail.stockinDetailId=Stock In Detail ID
search.ViewStockDetail.inDate=In Date
search.ViewStockDetail.warehouseId=Warehouse
search.ViewStockDetail.stackingId=Stacking ID
search.ViewStockDetail.cargoSpaceName=Cargo Space Name
search.ViewStockDetail.roadwayId=Roadway ID
search.ViewStockDetail.cargoSpaceStatus=Cargo Space Status
search.ViewStockDetail.locked=Locked
search.ViewStockDetail.productId=Product ID
search.ViewStockDetail.productName=Product Name
search.ViewStockDetail.spec=Specification
search.ViewStockDetail.unit=Unit
search.ViewStockDetail.price=Price
search.ViewStockDetail.spare1=English Name
search.ViewStockDetail.spare2=Net Weight per Unit
search.ViewStockDetail.spare5=Length MM
search.ViewStockDetail.spare6=Width MM
search.ViewStockDetail.spare7=Height MM
search.ViewStockDetail.spare8=Volume m³
search.ViewStockDetail.remark=Remark
search.ViewStockDetail.stockStatus=Stock Status
search.ViewStockDetail.productStatus=Product Status

View File

@@ -69,3 +69,367 @@ error.message4=没有该拣选工位绑定的电子标签
error.message5=容器码不能为空
error.message6=起始点位不能为空
error.message7=目标点位不能为空
#ViewStockWarning
search.ViewStockWarning.stockId=库存ID
search.ViewStockWarning.cargoSpaceId=货位ID
search.ViewStockWarning.stockStatus=库存状态
search.ViewStockWarning.productStatus=物料状态
search.ViewStockWarning.lotNo=批次号
search.ViewStockWarning.inDate=入库时间
search.ViewStockWarning.backDate=回流时间
search.ViewStockWarning.productGuid=物料GUID
search.ViewStockWarning.quantity=库存数量
search.ViewStockWarning.jobId=作业ID
search.ViewStockWarning.trayCode=托盘条码
search.ViewStockWarning.outQuantity=出库数量
search.ViewStockWarning.stockinDetailId=入库子单ID
search.ViewStockWarning.stockinId=入库主单
search.ViewStockWarning.inType=入库类型
search.ViewStockWarning.inClassId=入库班组ID
search.ViewStockWarning.warehouseId=仓库ID
search.ViewStockWarning.stackingId=垛型ID
search.ViewStockWarning.spare1=库存预警标识
search.ViewStockWarning.productId=物料ID
search.ViewStockWarning.warehouseName=仓库名称
search.ViewStockWarning.address=仓库地址
search.ViewStockWarning.cDesc=仓库描述
search.ViewStockWarning.warehouseKind=仓库级别
search.ViewStockWarning.warehouseType=仓库类型
search.ViewStockWarning.isCurrent=是否可用
search.ViewStockWarning.price=价格
search.ViewStockWarning.unit=单位
search.ViewStockWarning.spec=规格
search.ViewStockWarning.enName=英文名称
search.ViewStockWarning.weight=单件净重
search.ViewStockWarning.longMM=长MM
search.ViewStockWarning.wide=宽MM
search.ViewStockWarning.hight=高MM
search.ViewStockWarning.volume=体积m³
search.ViewStockWarning.productName=物料名称
search.ViewStockWarning.cargoSpaceName=货位名称
search.ViewStockWarning.roadwayId=巷道ID
search.ViewStockWarning.cargoAreaId=货区ID
search.ViewStockWarning.theType=货位类型
search.ViewStockWarning.theTypeName=货位类型名称
search.ViewStockWarning.thePlatoon=排
search.ViewStockWarning.theColumn=列
search.ViewStockWarning.theFloor=层
search.ViewStockWarning.cargoStatus=货位状态
search.ViewStockWarning.locked=是否锁定
search.ViewStockWarning.cargoHight=货位高度
search.ViewStockWarning.issDouble=是否双伸
search.ViewStockWarning.groupCodingNo=双货位分组编码
search.ViewStockWarning.groupCoding=双货位分组编码
search.ViewStockWarning.cargoSpaceLogo=双货位标识
search.ViewStockWarning.thisCargoArea=本仓库区域
#ViewStockSecure
search.ViewStockSecure.stockId=库存ID
search.ViewStockSecure.cargoSpaceId=货位ID
search.ViewStockSecure.stockStatus=库存状态
search.ViewStockSecure.productStatus=物料状态
search.ViewStockSecure.lotNo=批次号
search.ViewStockSecure.inDate=入库时间
search.ViewStockSecure.backDate=回流时间
search.ViewStockSecure.productGuid=物料GUID
search.ViewStockSecure.quantity=库存数量
search.ViewStockSecure.jobId=作业ID
search.ViewStockSecure.trayCode=托盘条码
search.ViewStockSecure.outQuantity=出库数量
search.ViewStockSecure.stockinDetailId=入库子单ID
search.ViewStockSecure.stockinId=入库主单
search.ViewStockSecure.inType=入库类型
search.ViewStockSecure.inClassId=入库班组ID
search.ViewStockSecure.warehouseId=仓库ID
search.ViewStockSecure.stackingId=垛型ID
search.ViewStockSecure.spare1=库存预警标识
search.ViewStockSecure.productId=物料ID
search.ViewStockSecure.warehouseName=仓库名称
search.ViewStockSecure.address=仓库地址
search.ViewStockSecure.cDesc=仓库描述
search.ViewStockSecure.warehouseKind=仓库级别
search.ViewStockSecure.warehouseType=仓库类型
search.ViewStockSecure.isCurrent=是否可用
search.ViewStockSecure.price=价格
search.ViewStockSecure.unit=单位
search.ViewStockSecure.spec=规格
search.ViewStockSecure.enName=英文名称
search.ViewStockSecure.weight=单件净重
search.ViewStockSecure.longMM=长MM
search.ViewStockSecure.wide=宽MM
search.ViewStockSecure.hight=高MM
search.ViewStockSecure.volume=体积m³
search.ViewStockSecure.productName=物料名称
search.ViewStockSecure.cargoSpaceName=货位名称
search.ViewStockSecure.roadwayId=巷道ID
search.ViewStockSecure.cargoAreaId=货区ID
search.ViewStockSecure.theType=货位类型
search.ViewStockSecure.theTypeName=货位类型名称
search.ViewStockSecure.thePlatoon=排
search.ViewStockSecure.theColumn=列
search.ViewStockSecure.theFloor=层
search.ViewStockSecure.cargoStatus=货位状态
search.ViewStockSecure.locked=是否锁定
search.ViewStockSecure.cargoHight=货位高度
search.ViewStockSecure.issDouble=是否双伸
search.ViewStockSecure.groupCodingNo=双货位分组编码
search.ViewStockSecure.groupCoding=双货位分组编码
search.ViewStockSecure.cargoSpaceLogo=双货位标识
search.ViewStockSecure.thisCargoArea=本仓库区域
#ViewFlatWarehouseOutFlow
search.ViewFlatWarehouseOutFlow.inOrOut=入出库类型
search.ViewFlatWarehouseOutFlow.inOrOutSotckId=入出库主单据ID
search.ViewFlatWarehouseOutFlow.inOrOutSotckDetailId=入出库主子单据ID
search.ViewFlatWarehouseOutFlow.productGuid=物料GUID
search.ViewFlatWarehouseOutFlow.productId=物料ID
search.ViewFlatWarehouseOutFlow.quantity=入出库数量
search.ViewFlatWarehouseOutFlow.createMan=创建人
search.ViewFlatWarehouseOutFlow.warehouseId=仓库ID
search.ViewFlatWarehouseOutFlow.warehouseName=仓库名称
search.ViewFlatWarehouseOutFlow.address=仓库地址
search.ViewFlatWarehouseOutFlow.cDesc=仓库描述
search.ViewFlatWarehouseOutFlow.warehouseKind=仓库级别
search.ViewFlatWarehouseOutFlow.warehouseType=仓库类型
search.ViewFlatWarehouseOutFlow.isCurrent=是否可用
search.ViewFlatWarehouseOutFlow.productName=物料名称
search.ViewFlatWarehouseOutFlow.spec=规格
search.ViewFlatWarehouseOutFlow.unit=单位
search.ViewFlatWarehouseOutFlow.price=价格
search.ViewFlatWarehouseOutFlow.spare1=英文名称
search.ViewFlatWarehouseOutFlow.spare2=单件净重
search.ViewFlatWarehouseOutFlow.spare5=长MM
search.ViewFlatWarehouseOutFlow.spare6=宽MM
search.ViewFlatWarehouseOutFlow.spare7=高MM
search.ViewFlatWarehouseOutFlow.spare8=体积m³
search.ViewFlatWarehouseOutFlow.remark=备注
# ViewFlatWarehouseInFlow
search.ViewFlatWarehouseInFlow.inOrOut=入出库类型
search.ViewFlatWarehouseInFlow.inOrOutSotckId=入出库主单据ID
search.ViewFlatWarehouseInFlow.inOrOutSotckDetailId=入出库主子单据ID
search.ViewFlatWarehouseInFlow.productGuid=物料GUID
search.ViewFlatWarehouseInFlow.productId=物料ID
search.ViewFlatWarehouseInFlow.quantity=数量
search.ViewFlatWarehouseInFlow.createMan=创建人
search.ViewFlatWarehouseInFlow.warehouseId=仓库id
search.ViewFlatWarehouseInFlow.warehouseName=仓库名称
search.ViewFlatWarehouseInFlow.address=仓库地址
search.ViewFlatWarehouseInFlow.cDesc=仓库描述
search.ViewFlatWarehouseInFlow.warehouseKind=仓库级别
search.ViewFlatWarehouseInFlow.warehouseType=仓库类型
search.ViewFlatWarehouseInFlow.isCurrent=是否可用
search.ViewFlatWarehouseInFlow.productName=物料名称
search.ViewFlatWarehouseInFlow.spec=规格
search.ViewFlatWarehouseInFlow.unit=单位
search.ViewFlatWarehouseInFlow.price=价格
search.ViewFlatWarehouseInFlow.spare1=英文名称
search.ViewFlatWarehouseInFlow.spare2=单件净重
search.ViewFlatWarehouseInFlow.spare5=长MM
search.ViewFlatWarehouseInFlow.spare6=宽MM
search.ViewFlatWarehouseInFlow.spare7=高MM
search.ViewFlatWarehouseInFlow.spare8=体积m³
search.ViewFlatWarehouseInFlow.remark=备注
# ViewInJobFlow
search.ViewInJobFlow.jobId=作业ID
search.ViewInJobFlow.jobDetailId=子作业ID
search.ViewInJobFlow.status=状态
search.ViewInJobFlow.taskNo=任务号
search.ViewInJobFlow.trayCode=托盘号
search.ViewInJobFlow.roadwayId=巷道ID
search.ViewInJobFlow.cargoSpaceId=货位ID
search.ViewInJobFlow.cargoSpaceName=货位名称
search.ViewInJobFlow.thePlatoon=排
search.ViewInJobFlow.theColumn=列
search.ViewInJobFlow.theFloor=层
search.ViewInJobFlow.priority=优先级
search.ViewInJobFlow.executionPhase=执行阶段
search.ViewInJobFlow.inOrOut=作业类型
search.ViewInJobFlow.entranceId=入口ID
search.ViewInJobFlow.productId=物料ID
search.ViewInJobFlow.lotNo=批号
search.ViewInJobFlow.stackingId=垛型ID
search.ViewInJobFlow.stockStatus=库存状态
search.ViewInJobFlow.inQuantity=入库数量
search.ViewInJobFlow.inOrOutId=单据ID
search.ViewInJobFlow.inOrOutDId=子单据ID
search.ViewInJobFlow.startTime=开始时间
search.ViewInJobFlow.finishTime=结束时间
search.ViewInJobFlow.warehouseId=仓库ID
search.ViewInJobFlow.productName=物料名称
search.ViewInJobFlow.spec=规格
search.ViewInJobFlow.unit=单位
search.ViewInJobFlow.price=价格
search.ViewInJobFlow.spare1=英文名称
search.ViewInJobFlow.spare2=单件净重
search.ViewInJobFlow.spare5=长MM
search.ViewInJobFlow.spare6=宽MM
search.ViewInJobFlow.spare7=高MM
search.ViewInJobFlow.spare8=体积m³
search.ViewInJobFlow.remark=备注
# ViewOutJobFlow
search.ViewOutJobFlow.jobId=作业ID
search.ViewOutJobFlow.jobDetailId=子作业ID
search.ViewOutJobFlow.status=状态
search.ViewOutJobFlow.taskNo=任务号
search.ViewOutJobFlow.trayCode=托盘码
search.ViewOutJobFlow.roadwayId=巷道ID
search.ViewOutJobFlow.cargoSpaceId=货位ID
search.ViewOutJobFlow.cargoSpaceName=货位名称
search.ViewOutJobFlow.thePlatoon=排
search.ViewOutJobFlow.theColumn=列
search.ViewOutJobFlow.theFloor=层
search.ViewOutJobFlow.priority=优先级
search.ViewOutJobFlow.executionPhase=执行阶段
search.ViewOutJobFlow.inOrOut=作业类型
search.ViewOutJobFlow.exitId=出口ID
search.ViewOutJobFlow.productId=物料ID
search.ViewOutJobFlow.lotNo=批号
search.ViewOutJobFlow.stackingId=剁型ID
search.ViewOutJobFlow.stockStatus=库存状态
search.ViewOutJobFlow.outQuantity=出库数量
search.ViewOutJobFlow.giveNum=回流数量
search.ViewOutJobFlow.inOrOutId=单据ID
search.ViewOutJobFlow.inOrOutDId=子单据ID
search.ViewOutJobFlow.startTime=开始时间
search.ViewOutJobFlow.finishTime=结束时间
search.ViewOutJobFlow.warehouseId=仓库ID
search.ViewOutJobFlow.productName=物料名称
search.ViewOutJobFlow.spec=规格
search.ViewOutJobFlow.unit=单位
search.ViewOutJobFlow.customerName=客户名称
search.ViewOutJobFlow.price=价格
search.ViewOutJobFlow.spare1=英文名称
search.ViewOutJobFlow.spare2=单件净重
search.ViewOutJobFlow.spare5=长MM
search.ViewOutJobFlow.spare6=宽MM
search.ViewOutJobFlow.spare7=高MM
search.ViewOutJobFlow.spare8=体积m³
search.ViewOutJobFlow.remark=备注
# ViewStockoutHistory
search.ViewStockoutHistory.stockoutId=出库单号
search.ViewStockoutHistory.warehouseId=仓库ID
search.ViewStockoutHistory.outType=出库类型
search.ViewStockoutHistory.createDate=创建日期
search.ViewStockoutHistory.createManId=创建人ID
search.ViewStockoutHistory.status=出库状态
search.ViewStockoutHistory.stockoutSource=出库来源
search.ViewStockoutHistory.exitId=出口类型
search.ViewStockoutHistory.stockoutDetailId=出库明细ID
search.ViewStockoutHistory.productId=产品ID
search.ViewStockoutHistory.productName=产品名称
search.ViewStockoutHistory.lotNo=批次号
search.ViewStockoutHistory.quantity=出库数量
search.ViewStockoutHistory.allotQuantity=分配数量
search.ViewStockoutHistory.assignNum=分配编号
search.ViewStockoutHistory.erpStockoutId=ERP出库单ID
search.ViewStockoutHistory.entryid=客户编号
search.ViewStockoutHistory.customerName=客户名称
search.ViewStockoutHistory.spec=规格
search.ViewStockoutHistory.unit=单位
search.ViewStockoutHistory.price=价格
search.ViewStockoutHistory.spare1=英文名称
search.ViewStockoutHistory.spare2=单件净重
search.ViewStockoutHistory.spare5=长MM
search.ViewStockoutHistory.spare6=宽MM
search.ViewStockoutHistory.spare7=高MM
search.ViewStockoutHistory.spare8=体积m³
search.ViewStockoutHistory.remark=备注
# ViewStockinHistory
search.ViewStockinHistory.stockinGuid=入库单guid
search.ViewStockinHistory.stockinId=入库单号
search.ViewStockinHistory.inType=入库类型
search.ViewStockinHistory.createDate=创建时间
search.ViewStockinHistory.createManId=创建人
search.ViewStockinHistory.status=单据状态
search.ViewStockinHistory.warehouseId=仓库ID
search.ViewStockinHistory.finishDate=完成时间
search.ViewStockinHistory.erpBill=ERP单号
search.ViewStockinHistory.stockSource=单据来源
search.ViewStockinHistory.departmentNo=部门编码
search.ViewStockinHistory.classNo=班组编码
search.ViewStockinHistory.supplierNo=供应商编号
search.ViewStockinHistory.supplierName=供应商名称
search.ViewStockinHistory.simpleName=供应商简称
search.ViewStockinHistory.contactName=联系人
search.ViewStockinHistory.contactNumber=联系电话
search.ViewStockinHistory.address=供应商地址
search.ViewStockinHistory.stockinDetailId=入库明细ID
search.ViewStockinHistory.lotNo=批次号
search.ViewStockinHistory.quantity=计划数量
search.ViewStockinHistory.quantityX=计划箱数
search.ViewStockinHistory.quantityJ=计划件数
search.ViewStockinHistory.assignNum=实际数量
search.ViewStockinHistory.assignNumX=实际箱数
search.ViewStockinHistory.assignNumJ=实际件数
search.ViewStockinHistory.scanNum=扫码数量
search.ViewStockinHistory.scanNumX=扫码箱数
search.ViewStockinHistory.scanNumJ=扫码件数
search.ViewStockinHistory.printDate=入库日期
search.ViewStockinHistory.stockStatus=库存状态
search.ViewStockinHistory.price=单价
search.ViewStockinHistory.productId=物料编码
search.ViewStockinHistory.productName=物料名称
search.ViewStockinHistory.unit=单位
search.ViewStockinHistory.spec=规格
search.ViewStockinHistory.spare1=英文名称
search.ViewStockinHistory.spare2=单件净重
search.ViewStockinHistory.spare5=长MM
search.ViewStockinHistory.spare6=宽MM
search.ViewStockinHistory.spare7=高MM
search.ViewStockinHistory.spare8=体积m³
search.ViewStockinHistory.remark=备注
# StockSummary
search.StockSummary.productId=物料编码
search.StockSummary.productName=物料名称
search.StockSummary.spec=规格
search.StockSummary.unit=单位
search.StockSummary.lotNo=批号
search.StockSummary.warehouseName=仓库
search.StockSummary.quantity=库存数量
search.StockSummary.price=价格
search.StockSummary.spare1=英文名称
search.StockSummary.spare2=单件净重
search.StockSummary.spare5=长MM
search.StockSummary.spare6=宽MM
search.StockSummary.spare7=高MM
search.StockSummary.spare8=体积m³
search.StockSummary.remark=备注
search.StockSummary.cargoSpaceName=货位名称
# ViewStockDetail
search.ViewStockDetail.onlyIdentity=id
search.ViewStockDetail.stockId=库存ID
search.ViewStockDetail.cargoSpaceId=货位ID
search.ViewStockDetail.trayCode=托盘条码
search.ViewStockDetail.quantity=数量
search.ViewStockDetail.jobId=作业ID
search.ViewStockDetail.lotNo=批号
search.ViewStockDetail.stockinDetailId=入库子单ID
search.ViewStockDetail.inDate=入库时间
search.ViewStockDetail.warehouseId=仓库
search.ViewStockDetail.stackingId=剁型ID
search.ViewStockDetail.cargoSpaceName=货位名称
search.ViewStockDetail.roadwayId=巷道ID
search.ViewStockDetail.cargoSpaceStatus=货位状态
search.ViewStockDetail.locked=是否锁定
search.ViewStockDetail.productId=物料ID
search.ViewStockDetail.productName=物料名称
search.ViewStockDetail.spec=规格
search.ViewStockDetail.unit=单位
search.ViewStockDetail.price=价格
search.ViewStockDetail.spare1=英文名称
search.ViewStockDetail.spare2=单件净重
search.ViewStockDetail.spare5=长MM
search.ViewStockDetail.spare6=宽MM
search.ViewStockDetail.spare7=高MM
search.ViewStockDetail.spare8=体积m³
search.ViewStockDetail.remark=备注
search.ViewStockDetail.stockStatus=库存状态
search.ViewStockDetail.productStatus=物料状态

View File

@@ -1,163 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.check.DifferenceRecordFinish.mapper.CheckDifferenceRecordFinishMapper">
<resultMap type="CheckDifferenceRecord" id="CheckDifferenceRecordResult">
<result property="checkGuid" column="check_guid"/>
<result property="checkStockDetailId" column="check_stock_detail_id"/>
<result property="stockId" column="stock_id"/>
<result property="trayCode" column="tray_code"/>
<result property="cargoSpaceId" column="cargo_space_id"/>
<result property="cargoSpaceName" column="cargo_space_name"/>
<result property="productId" column="product_id"/>
<result property="lotNo" column="lot_no"/>
<result property="supplier" column="supplier"/>
<result property="customer" column="customer"/>
<result property="oldQuantity" column="old_quantity"/>
<result property="newQuantity" column="new_quantity"/>
<result property="recordType" column="record_type"/>
<result property="createTime" column="create_time"/>
<result property="productGuid" column="product_guid"/>
<result property="status" column="status"/>
<result property="warehouseId" column="warehouse_id"/>
<result property="warehouseName" column="warehouse_name"/>
<association property="extraField" javaType="ExtraField">
<result property="productId" column="product_id"/>
<result property="materialDesc" column="product_name"/>
<result property="englishDesc" column="englishDesc"/>
<result property="length" column="length"/>
<result property="width" column="width"/>
<result property="height" column="height"/>
<result property="volume" column="volume"/>
<result property="netWeight" column="netWeight"/>
</association>
</resultMap>
<sql id="selectCheckDifferenceRecordFinishVo">
select r.check_guid,
r.check_stock_detail_id,
r.stock_id,
r.tray_code,
r.cargo_space_id,
r.product_id,
r.lot_no,
r.supplier,
r.customer,
r.old_quantity,
r.new_quantity,
r.record_type,
r.create_time,
r.product_guid,
r.status,
r.warehouse_id,
w.warehouse_name,
bp.product_name,
bp.spare1 as englishDesc,
bp.spare2 as netWeight,
bp.spare5 as length,
bp.spare6 as width,
bp.spare7 as height,
bp.spare8 as volume,
bcs.cargo_space_name
from check_difference_record_finish r
left join bas_warehouse w on r.warehouse_id = w.warehouse_id
left join bas_product bp on r.product_id = bp.product_id
left join bas_cargo_space bcs on r.cargo_space_id = bcs.cargo_space_id
</sql>
<select id="selectCheckDifferenceRecordFinishList" parameterType="CheckDifferenceRecordFinish" resultMap="CheckDifferenceRecordResult">
<include refid="selectCheckDifferenceRecordFinishVo"/>
<where>
<if test="stockId != null and stockId != ''"> and r.stock_id = #{stockId}</if>
<if test="trayCode != null and trayCode != ''"> and r.tray_code = #{trayCode}</if>
<if test="cargoSpaceId != null and cargoSpaceId != ''"> and r.cargo_space_id = #{cargoSpaceId}</if>
<if test="productId != null and productId != ''"> and r.product_id = #{productId}</if>
<if test="lotNo != null and lotNo != ''"> and r.lot_no = #{lotNo}</if>
<if test="supplier != null and supplier != ''"> and r.supplier = #{supplier}</if>
<if test="customer != null and customer != ''"> and r.customer = #{customer}</if>
<if test="oldQuantity != null and oldQuantity != ''"> and r.old_quantity = #{oldQuantity}</if>
<if test="newQuantity != null and newQuantity != ''"> and r.new_quantity = #{newQuantity}</if>
<if test="recordType != null "> and r.record_type = #{recordType}</if>
<if test="productGuid != null and productGuid != ''"> and r.product_guid = #{productGuid}</if>
<if test="checkStockDetailId != null and checkStockDetailId != ''"> and r.check_stock_detail_id = #{checkStockDetailId}</if>
<if test="status != null and status != ''"> and r.status = #{status}</if>
</where>
</select>
<select id="selectCheckDifferenceRecordFinishByCheckGuid" parameterType="String" resultMap="CheckDifferenceRecordResult">
<include refid="selectCheckDifferenceRecordFinishVo"/>
where check_guid = #{checkGuid}
</select>
<insert id="insertCheckDifferenceRecordFinish" parameterType="CheckDifferenceRecordFinish">
insert into check_difference_record_finish
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="checkGuid != null">check_guid,</if>
<if test="stockId != null">stock_id,</if>
<if test="trayCode != null">tray_code,</if>
<if test="cargoSpaceId != null">cargo_space_id,</if>
<if test="productId != null">product_id,</if>
<if test="lotNo != null">lot_no,</if>
<if test="supplier != null">supplier,</if>
<if test="customer != null">customer,</if>
<if test="oldQuantity != null">old_quantity,</if>
<if test="newQuantity != null">new_quantity,</if>
<if test="recordType != null">record_type,</if>
<if test="createTime != null">create_time,</if>
<if test="productGuid != null">product_guid,</if>
<if test="checkStockDetailId != null">check_stock_detail_id,</if>
<if test="status != null">status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="checkGuid != null">#{checkGuid},</if>
<if test="stockId != null">#{stockId},</if>
<if test="trayCode != null">#{trayCode},</if>
<if test="cargoSpaceId != null">#{cargoSpaceId},</if>
<if test="productId != null">#{productId},</if>
<if test="lotNo != null">#{lotNo},</if>
<if test="supplier != null">#{supplier},</if>
<if test="customer != null">#{customer},</if>
<if test="oldQuantity != null">#{oldQuantity},</if>
<if test="newQuantity != null">#{newQuantity},</if>
<if test="recordType != null">#{recordType},</if>
<if test="createTime != null">#{createTime},</if>
<if test="productGuid != null">#{productGuid},</if>
<if test="checkStockDetailId != null">#{checkStockDetailId},</if>
<if test="status != null">#{status},</if>
</trim>
</insert>
<update id="updateCheckDifferenceRecordFinish" parameterType="CheckDifferenceRecordFinish">
update check_difference_record_finish
<trim prefix="SET" suffixOverrides=",">
<if test="stockId != null">stock_id = #{stockId},</if>
<if test="trayCode != null">tray_code = #{trayCode},</if>
<if test="cargoSpaceId != null">cargo_space_id = #{cargoSpaceId},</if>
<if test="productId != null">product_id = #{productId},</if>
<if test="lotNo != null">lot_no = #{lotNo},</if>
<if test="supplier != null">supplier = #{supplier},</if>
<if test="customer != null">customer = #{customer},</if>
<if test="oldQuantity != null">old_quantity = #{oldQuantity},</if>
<if test="newQuantity != null">new_quantity = #{newQuantity},</if>
<if test="recordType != null">record_type = #{recordType},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="productGuid != null">product_guid = #{productGuid},</if>
<if test="checkStockDetailId != null">check_stock_detail_id = #{checkStockDetailId},</if>
<if test="status != null">status = #{status},</if>
</trim>
where check_guid = #{checkGuid}
</update>
<delete id="deleteCheckDifferenceRecordFinishByCheckGuid" parameterType="String">
delete from check_difference_record_finish where check_guid = #{checkGuid}
</delete>
<delete id="deleteCheckDifferenceRecordFinishByCheckGuids" parameterType="String">
delete from check_difference_record_finish where check_guid in
<foreach item="checkGuid" collection="array" open="(" separator="," close=")">
#{checkGuid}
</foreach>
</delete>
</mapper>

View File

@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.search.ViewStockSecure.mapper.ViewStockSecureMapper">
<resultMap type="ViewStockSecure" id="ViewStockSecureResult">
<result property="stockId" column="stock_id" />
<result property="cargoSpaceId" column="cargo_space_id" />
@@ -25,6 +25,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="stackingId" column="stacking_id" />
<result property="spare1" column="spare1" />
<result property="spare2" column="spare2" />
<result property="spare3" column="spare3" />
<result property="spare4" column="spare4" />
<result property="spare5" column="spare5" />
<result property="spare6" column="spare6" />
<result property="productId" column="product_id" />
@@ -34,10 +36,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="warehouseKind" column="warehouse_kind" />
<result property="warehouseType" column="warehouse_type" />
<result property="isCurrent" column="is_current" />
<result property="productName" column="product_name" />
<result property="spec" column="spec" />
<result property="unit" column="unit" />
<result property="price" column="price" />
<result property="unit" column="unit" />
<result property="spec" column="spec" />
<result property="enName" column="enName" />
<result property="weight" column="weight" />
<result property="longMM" column="longMM" />
<result property="wide" column="wide" />
<result property="hight" column="hight" />
<result property="volume" column="volume" />
<result property="productName" column="product_name" />
<result property="cargoSpaceName" column="cargo_space_name" />
<result property="roadwayId" column="roadway_id" />
<result property="cargoAreaId" column="cargo_area_id" />
@@ -54,74 +62,75 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="groupCoding" column="group_coding" />
<result property="cargoSpaceLogo" column="cargo_space_logo" />
<result property="thisCargoArea" column="this_cargo_area" />
<result property="spare7" column="spare7" />
<result property="spare8" column="spare8" />
</resultMap>
<sql id="selectViewStockSecureVo">
select stock_id, cargo_space_id, stock_status, product_status, lot_no, in_date, back_date, product_guid, quantity, job_id, tray_code, out_quantity, stockin_detail_id, stockin_id, in_type, in_class_id, warehouse_id, stacking_id, spare1, spare2, spare5, spare6, product_id, warehouse_name, address, c_desc, warehouse_kind, warehouse_type, is_current, product_name, spec, unit, price, cargo_space_name, roadway_id, cargo_area_id, the_type, the_type_name, the_platoon, the_column, the_floor, cargo_status, locked, cargo_hight, iss_double, group_coding_no, group_coding, cargo_space_logo, this_cargo_area,spare7,spare8 from view_stock_secure vss
select stock_id, cargo_space_id, stock_status, product_status, lot_no, in_date, back_date, product_guid, quantity, job_id, tray_code, out_quantity, stockin_detail_id, stockin_id, in_type, in_class_id, warehouse_id, stacking_id, spare1, spare2, spare3, spare4, spare5, spare6, product_id, warehouse_name, address, c_desc, warehouse_kind, warehouse_type, is_current, price, unit, spec, enName, weight, longMM, wide, hight, volume, product_name, cargo_space_name, roadway_id, cargo_area_id, the_type, the_type_name, the_platoon, the_column, the_floor, cargo_status, locked, cargo_hight, iss_double, group_coding_no, group_coding, cargo_space_logo, this_cargo_area from view_stock_secure
</sql>
<select id="selectViewStockSecureList" parameterType="ViewStockSecure" resultMap="ViewStockSecureResult">
<include refid="selectViewStockSecureVo"/>
<where>
<if test="stockId != null and stockId != ''"> and stock_id like concat('%', #{stockId}, '%')</if>
<if test="cargoSpaceId != null and cargoSpaceId != ''"> and cargo_space_id like concat('%', #{cargoSpaceId}, '%')</if>
<if test="stockStatus != null and stockStatus != ''"> and stock_status like concat('%', #{stockStatus}, '%')</if>
<if test="productStatus != null and productStatus != ''"> and product_status like concat('%', #{productStatus}, '%')</if>
<if test="lotNo != null and lotNo != ''"> and lot_no like concat('%', #{lotNo}, '%')</if>
<if test="inDate != null and inDate != ''"> and in_date like concat('%', #{inDate}, '%')</if>
<if test="backDate != null and backDate != ''"> and back_date like concat('%', #{backDate}, '%')</if>
<if test="productGuid != null and productGuid != ''"> and product_guid like concat('%', #{productGuid}, '%')</if>
<if test="quantity != null and quantity != ''"> and quantity like concat('%', #{quantity}, '%')</if>
<if test="jobId != null and jobId != ''"> and job_id like concat('%', #{jobId}, '%')</if>
<if test="trayCode != null and trayCode != ''"> and tray_code like concat('%', #{trayCode}, '%')</if>
<if test="outQuantity != null and outQuantity != ''"> and out_quantity like concat('%', #{outQuantity}, '%')</if>
<if test="stockinDetailId != null and stockinDetailId != ''"> and stockin_detail_id like concat('%', #{stockinDetailId}, '%')</if>
<if test="stockinId != null and stockinId != ''"> and stockin_id like concat('%', #{stockinId}, '%')</if>
<if test="inType != null and inType != ''"> and in_type like concat('%', #{inType}, '%')</if>
<if test="inClassId != null and inClassId != ''"> and in_class_id like concat('%', #{inClassId}, '%')</if>
<if test="warehouseId != null and warehouseId != ''"> and warehouse_id like concat('%', #{warehouseId}, '%')</if>
<if test="stackingId != null and stackingId != ''"> and stacking_id like concat('%', #{stackingId}, '%')</if>
<if test="spare1 != null and spare1 != ''"> and spare1 like concat('%', #{spare1}, '%')</if>
<if test="spare2 != null and spare2 != ''"> and spare2 like concat('%', #{spare2}, '%')</if>
<if test="spare5 != null and spare5 != ''"> and spare5 like concat('%', #{spare5}, '%')</if>
<if test="spare6 != null and spare6 != ''"> and spare6 like concat('%', #{spare6}, '%')</if>
<if test="productId != null and productId != ''"> and product_id like concat('%', #{productId}, '%')</if>
<where>
<if test="stockId != null and stockId != ''"> and stock_id = #{stockId}</if>
<if test="cargoSpaceId != null and cargoSpaceId != ''"> and cargo_space_id = #{cargoSpaceId}</if>
<if test="stockStatus != null and stockStatus != ''"> and stock_status = #{stockStatus}</if>
<if test="productStatus != null and productStatus != ''"> and product_status = #{productStatus}</if>
<if test="lotNo != null and lotNo != ''"> and lot_no = #{lotNo}</if>
<if test="inDate != null and inDate != ''"> and in_date = #{inDate}</if>
<if test="backDate != null and backDate != ''"> and back_date = #{backDate}</if>
<if test="productGuid != null and productGuid != ''"> and product_guid = #{productGuid}</if>
<if test="quantity != null and quantity != ''"> and quantity = #{quantity}</if>
<if test="jobId != null and jobId != ''"> and job_id = #{jobId}</if>
<if test="trayCode != null and trayCode != ''"> and tray_code = #{trayCode}</if>
<if test="outQuantity != null and outQuantity != ''"> and out_quantity = #{outQuantity}</if>
<if test="stockinDetailId != null and stockinDetailId != ''"> and stockin_detail_id = #{stockinDetailId}</if>
<if test="stockinId != null and stockinId != ''"> and stockin_id = #{stockinId}</if>
<if test="inType != null and inType != ''"> and in_type = #{inType}</if>
<if test="inClassId != null and inClassId != ''"> and in_class_id = #{inClassId}</if>
<if test="warehouseId != null and warehouseId != ''"> and warehouse_id = #{warehouseId}</if>
<if test="stackingId != null and stackingId != ''"> and stacking_id = #{stackingId}</if>
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
<if test="spare3 != null and spare3 != ''"> and spare3 = #{spare3}</if>
<if test="spare4 != null and spare4 != ''"> and spare4 = #{spare4}</if>
<if test="spare5 != null and spare5 != ''"> and spare5 = #{spare5}</if>
<if test="spare6 != null and spare6 != ''"> and spare6 = #{spare6}</if>
<if test="productId != null and productId != ''"> and product_id like concat('%',#{productId}, '%')</if>
<if test="warehouseName != null and warehouseName != ''"> and warehouse_name like concat('%', #{warehouseName}, '%')</if>
<if test="address != null and address != ''"> and address like concat('%', #{address}, '%')</if>
<if test="cDesc != null and cDesc != ''"> and c_desc like concat('%', #{cDesc}, '%')</if>
<if test="warehouseKind != null and warehouseKind != ''"> and warehouse_kind like concat('%', #{warehouseKind}, '%')</if>
<if test="warehouseType != null and warehouseType != ''"> and warehouse_type like concat('%', #{warehouseType}, '%')</if>
<if test="isCurrent != null and isCurrent != ''"> and is_current like concat('%', #{isCurrent}, '%')</if>
<if test="address != null and address != ''"> and address = #{address}</if>
<if test="cDesc != null and cDesc != ''"> and c_desc = #{cDesc}</if>
<if test="warehouseKind != null and warehouseKind != ''"> and warehouse_kind = #{warehouseKind}</if>
<if test="warehouseType != null and warehouseType != ''"> and warehouse_type = #{warehouseType}</if>
<if test="isCurrent != null and isCurrent != ''"> and is_current = #{isCurrent}</if>
<if test="price != null and price != ''"> and price = #{price}</if>
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
<if test="spec != null and spec != ''"> and spec = #{spec}</if>
<if test="enName != null and enName != ''"> and enName like concat('%', #{enName}, '%')</if>
<if test="weight != null and weight != ''"> and weight = #{weight}</if>
<if test="longMM != null and longMM != ''"> and longMM = #{longMM}</if>
<if test="wide != null and wide != ''"> and wide = #{wide}</if>
<if test="hight != null and hight != ''"> and hight = #{hight}</if>
<if test="volume != null and volume != ''"> and volume = #{volume}</if>
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
<if test="spec != null and spec != ''"> and spec like concat('%', #{spec}, '%')</if>
<if test="unit != null and unit != ''"> and unit like concat('%', #{unit}, '%')</if>
<if test="price != null and price != ''"> and price like concat('%', #{price}, '%')</if>
<if test="cargoSpaceName != null and cargoSpaceName != ''"> and cargo_space_name like concat('%', #{cargoSpaceName}, '%')</if>
<if test="roadwayId != null and roadwayId != ''"> and roadway_id like concat('%', #{roadwayId}, '%')</if>
<if test="cargoAreaId != null and cargoAreaId != ''"> and cargo_area_id like concat('%', #{cargoAreaId}, '%')</if>
<if test="theType != null and theType != ''"> and the_type like concat('%', #{theType}, '%')</if>
<if test="roadwayId != null and roadwayId != ''"> and roadway_id = #{roadwayId}</if>
<if test="cargoAreaId != null and cargoAreaId != ''"> and cargo_area_id = #{cargoAreaId}</if>
<if test="theType != null and theType != ''"> and the_type = #{theType}</if>
<if test="theTypeName != null and theTypeName != ''"> and the_type_name like concat('%', #{theTypeName}, '%')</if>
<if test="thePlatoon != null "> and the_platoon like concat('%', #{thePlatoon}, '%')</if>
<if test="theColumn != null "> and the_column like concat('%', #{theColumn}, '%')</if>
<if test="theFloor != null "> and the_floor like concat('%', #{theFloor}, '%')</if>
<if test="cargoStatus != null and cargoStatus != ''"> and cargo_status like concat('%', #{cargoStatus}, '%')</if>
<if test="locked != null and locked != ''"> and locked like concat('%', #{locked}, '%')</if>
<if test="cargoHight != null and cargoHight != ''"> and cargo_hight like concat('%', #{cargoHight}, '%')</if>
<if test="issDouble != null and issDouble != ''"> and iss_double like concat('%', #{issDouble}, '%')</if>
<if test="groupCodingNo != null and groupCodingNo != ''"> and group_coding_no like concat('%', #{groupCodingNo}, '%')</if>
<if test="groupCoding != null and groupCoding != ''"> and group_coding like concat('%', #{groupCoding}, '%')</if>
<if test="cargoSpaceLogo != null and cargoSpaceLogo != ''"> and cargo_space_logo like concat('%', #{cargoSpaceLogo}, '%')</if>
<if test="thisCargoArea != null and thisCargoArea != ''"> and this_cargo_area like concat('%', #{thisCargoArea}, '%')</if>
<if test="spare7 != null and spare7 != ''"> and spare7 like concat('%', #{spare7}, '%')</if>
<if test="spare8 != null and spare8 != ''"> and spare8 like concat('%', #{spare8}, '%')</if>
<if test="params.warehouseDataScope != null and params.warehouseDataScope !=''">
${params.warehouseDataScope}
</if>
<if test="thePlatoon != null "> and the_platoon = #{thePlatoon}</if>
<if test="theColumn != null "> and the_column = #{theColumn}</if>
<if test="theFloor != null "> and the_floor = #{theFloor}</if>
<if test="cargoStatus != null and cargoStatus != ''"> and cargo_status = #{cargoStatus}</if>
<if test="locked != null and locked != ''"> and locked = #{locked}</if>
<if test="cargoHight != null and cargoHight != ''"> and cargo_hight = #{cargoHight}</if>
<if test="issDouble != null and issDouble != ''"> and iss_double = #{issDouble}</if>
<if test="groupCodingNo != null and groupCodingNo != ''"> and group_coding_no = #{groupCodingNo}</if>
<if test="groupCoding != null and groupCoding != ''"> and group_coding = #{groupCoding}</if>
<if test="cargoSpaceLogo != null and cargoSpaceLogo != ''"> and cargo_space_logo = #{cargoSpaceLogo}</if>
<if test="thisCargoArea != null and thisCargoArea != ''"> and this_cargo_area = #{thisCargoArea}</if>
</where>
</select>
<select id="selectViewStockSecureByStockId" parameterType="String" resultMap="ViewStockSecureResult">
<include refid="selectViewStockSecureVo"/>
where stock_id = #{stockId}
@@ -150,6 +159,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="stackingId != null">stacking_id,</if>
<if test="spare1 != null">spare1,</if>
<if test="spare2 != null">spare2,</if>
<if test="spare3 != null">spare3,</if>
<if test="spare4 != null">spare4,</if>
<if test="spare5 != null">spare5,</if>
<if test="spare6 != null">spare6,</if>
<if test="productId != null">product_id,</if>
@@ -159,10 +170,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="warehouseKind != null">warehouse_kind,</if>
<if test="warehouseType != null">warehouse_type,</if>
<if test="isCurrent != null">is_current,</if>
<if test="productName != null">product_name,</if>
<if test="spec != null">spec,</if>
<if test="unit != null">unit,</if>
<if test="price != null">price,</if>
<if test="unit != null">unit,</if>
<if test="spec != null">spec,</if>
<if test="enName != null">enName,</if>
<if test="weight != null">weight,</if>
<if test="longMM != null">longMM,</if>
<if test="wide != null">wide,</if>
<if test="hight != null">hight,</if>
<if test="volume != null">volume,</if>
<if test="productName != null">product_name,</if>
<if test="cargoSpaceName != null">cargo_space_name,</if>
<if test="roadwayId != null">roadway_id,</if>
<if test="cargoAreaId != null">cargo_area_id,</if>
@@ -179,9 +196,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="groupCoding != null">group_coding,</if>
<if test="cargoSpaceLogo != null">cargo_space_logo,</if>
<if test="thisCargoArea != null">this_cargo_area,</if>
<if test="spare7 != null">spare7,</if>
<if test="spare8 != null">spare8,</if>
</trim>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="stockId != null and stockId != ''">#{stockId},</if>
<if test="cargoSpaceId != null">#{cargoSpaceId},</if>
@@ -203,6 +218,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="stackingId != null">#{stackingId},</if>
<if test="spare1 != null">#{spare1},</if>
<if test="spare2 != null">#{spare2},</if>
<if test="spare3 != null">#{spare3},</if>
<if test="spare4 != null">#{spare4},</if>
<if test="spare5 != null">#{spare5},</if>
<if test="spare6 != null">#{spare6},</if>
<if test="productId != null">#{productId},</if>
@@ -212,10 +229,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="warehouseKind != null">#{warehouseKind},</if>
<if test="warehouseType != null">#{warehouseType},</if>
<if test="isCurrent != null">#{isCurrent},</if>
<if test="productName != null">#{productName},</if>
<if test="spec != null">#{spec},</if>
<if test="unit != null">#{unit},</if>
<if test="price != null">#{price},</if>
<if test="unit != null">#{unit},</if>
<if test="spec != null">#{spec},</if>
<if test="enName != null">#{enName},</if>
<if test="weight != null">#{weight},</if>
<if test="longMM != null">#{longMM},</if>
<if test="wide != null">#{wide},</if>
<if test="hight != null">#{hight},</if>
<if test="volume != null">#{volume},</if>
<if test="productName != null">#{productName},</if>
<if test="cargoSpaceName != null">#{cargoSpaceName},</if>
<if test="roadwayId != null">#{roadwayId},</if>
<if test="cargoAreaId != null">#{cargoAreaId},</if>
@@ -232,9 +255,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="groupCoding != null">#{groupCoding},</if>
<if test="cargoSpaceLogo != null">#{cargoSpaceLogo},</if>
<if test="thisCargoArea != null">#{thisCargoArea},</if>
<if test="spare7 != null">#{spare7},</if>
<if test="spare8 != null">#{spare8},</if>
</trim>
</trim>
</insert>
<update id="updateViewStockSecure" parameterType="ViewStockSecure">
@@ -259,6 +280,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="stackingId != null">stacking_id = #{stackingId},</if>
<if test="spare1 != null">spare1 = #{spare1},</if>
<if test="spare2 != null">spare2 = #{spare2},</if>
<if test="spare3 != null">spare3 = #{spare3},</if>
<if test="spare4 != null">spare4 = #{spare4},</if>
<if test="spare5 != null">spare5 = #{spare5},</if>
<if test="spare6 != null">spare6 = #{spare6},</if>
<if test="productId != null">product_id = #{productId},</if>
@@ -268,10 +291,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="warehouseKind != null">warehouse_kind = #{warehouseKind},</if>
<if test="warehouseType != null">warehouse_type = #{warehouseType},</if>
<if test="isCurrent != null">is_current = #{isCurrent},</if>
<if test="productName != null">product_name = #{productName},</if>
<if test="spec != null">spec = #{spec},</if>
<if test="unit != null">unit = #{unit},</if>
<if test="price != null">price = #{price},</if>
<if test="unit != null">unit = #{unit},</if>
<if test="spec != null">spec = #{spec},</if>
<if test="enName != null">enName = #{enName},</if>
<if test="weight != null">weight = #{weight},</if>
<if test="longMM != null">longMM = #{longMM},</if>
<if test="wide != null">wide = #{wide},</if>
<if test="hight != null">hight = #{hight},</if>
<if test="volume != null">volume = #{volume},</if>
<if test="productName != null">product_name = #{productName},</if>
<if test="cargoSpaceName != null">cargo_space_name = #{cargoSpaceName},</if>
<if test="roadwayId != null">roadway_id = #{roadwayId},</if>
<if test="cargoAreaId != null">cargo_area_id = #{cargoAreaId},</if>
@@ -288,8 +317,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="groupCoding != null">group_coding = #{groupCoding},</if>
<if test="cargoSpaceLogo != null">cargo_space_logo = #{cargoSpaceLogo},</if>
<if test="thisCargoArea != null">this_cargo_area = #{thisCargoArea},</if>
<if test="spare7 != null">spare7 = #{spare7},</if>
<if test="spare8 != null">spare8 = #{spare8},</if>
</trim>
where stock_id = #{stockId}
</update>
@@ -299,9 +326,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
<delete id="deleteViewStockSecureByStockIds" parameterType="String">
delete from view_stock_secure where stock_id in
delete from view_stock_secure where stock_id in
<foreach item="stockId" collection="array" open="(" separator="," close=")">
#{stockId}
</foreach>
</delete>
</mapper>
</mapper>

View File

@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.search.ViewStockWarning.mapper.ViewStockWarningMapper">
<resultMap type="ViewStockWarning" id="ViewStockWarningResult">
<result property="stockId" column="stock_id" />
<result property="cargoSpaceId" column="cargo_space_id" />
@@ -25,6 +25,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="stackingId" column="stacking_id" />
<result property="spare1" column="spare1" />
<result property="spare2" column="spare2" />
<result property="spare3" column="spare3" />
<result property="spare4" column="spare4" />
<result property="spare5" column="spare5" />
<result property="spare6" column="spare6" />
<result property="productId" column="product_id" />
@@ -34,10 +36,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="warehouseKind" column="warehouse_kind" />
<result property="warehouseType" column="warehouse_type" />
<result property="isCurrent" column="is_current" />
<result property="productName" column="product_name" />
<result property="spec" column="spec" />
<result property="unit" column="unit" />
<result property="price" column="price" />
<result property="unit" column="unit" />
<result property="spec" column="spec" />
<result property="enName" column="enName" />
<result property="weight" column="weight" />
<result property="longMM" column="longMM" />
<result property="wide" column="wide" />
<result property="hight" column="hight" />
<result property="volume" column="volume" />
<result property="productName" column="product_name" />
<result property="cargoSpaceName" column="cargo_space_name" />
<result property="roadwayId" column="roadway_id" />
<result property="cargoAreaId" column="cargo_area_id" />
@@ -54,74 +62,75 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="groupCoding" column="group_coding" />
<result property="cargoSpaceLogo" column="cargo_space_logo" />
<result property="thisCargoArea" column="this_cargo_area" />
<result property="spare7" column="spare7" />
<result property="spare8" column="spare8" />
</resultMap>
<sql id="selectViewStockWarningVo">
select stock_id, cargo_space_id, stock_status, product_status, lot_no, in_date, back_date, product_guid, quantity, job_id, tray_code, out_quantity, stockin_detail_id, stockin_id, in_type, in_class_id, warehouse_id, stacking_id, spare1, spare2, spare5, spare6, product_id, warehouse_name, address, c_desc, warehouse_kind, warehouse_type, is_current, product_name, spec, unit, price, cargo_space_name, roadway_id, cargo_area_id, the_type, the_type_name, the_platoon, the_column, the_floor, cargo_status, locked, cargo_hight, iss_double, group_coding_no, group_coding, cargo_space_logo, this_cargo_area,spare7,spare8 from view_stock_warning vsw
select stock_id, cargo_space_id, stock_status, product_status, lot_no, in_date, back_date, product_guid, quantity, job_id, tray_code, out_quantity, stockin_detail_id, stockin_id, in_type, in_class_id, warehouse_id, stacking_id, spare1, spare2, spare3, spare4, spare5, spare6, product_id, warehouse_name, address, c_desc, warehouse_kind, warehouse_type, is_current, price, unit, spec, enName, weight, longMM, wide, hight, volume, product_name, cargo_space_name, roadway_id, cargo_area_id, the_type, the_type_name, the_platoon, the_column, the_floor, cargo_status, locked, cargo_hight, iss_double, group_coding_no, group_coding, cargo_space_logo, this_cargo_area from view_stock_warning
</sql>
<select id="selectViewStockWarningList" parameterType="ViewStockWarning" resultMap="ViewStockWarningResult">
<include refid="selectViewStockWarningVo"/>
<where>
<where>
<if test="stockId != null and stockId != ''"> and stock_id = #{stockId}</if>
<if test="cargoSpaceId != null and cargoSpaceId != ''"> and cargo_space_id like concat('%', #{cargoSpaceId}, '%')</if>
<if test="stockStatus != null and stockStatus != ''"> and stock_status like concat('%', #{stockStatus}, '%')</if>
<if test="productStatus != null and productStatus != ''"> and product_status like concat('%', #{productStatus}, '%')</if>
<if test="lotNo != null and lotNo != ''"> and lot_no like concat('%', #{lotNo}, '%')</if>
<if test="inDate != null and inDate != ''"> and in_date like concat('%', #{inDate}, '%')</if>
<if test="backDate != null and backDate != ''"> and back_date like concat('%', #{backDate}, '%')</if>
<if test="productGuid != null and productGuid != ''"> and product_guid like concat('%', #{productGuid}, '%')</if>
<if test="quantity != null and quantity != ''"> and quantity like concat('%', #{quantity}, '%')</if>
<if test="jobId != null and jobId != ''"> and job_id like concat('%', #{jobId}, '%')</if>
<if test="trayCode != null and trayCode != ''"> and tray_code like concat('%', #{trayCode}, '%')</if>
<if test="outQuantity != null and outQuantity != ''"> and out_quantity like concat('%', #{outQuantity}, '%')</if>
<if test="stockinDetailId != null and stockinDetailId != ''"> and stockin_detail_id like concat('%', #{stockinDetailId}, '%')</if>
<if test="stockinId != null and stockinId != ''"> and stockin_id like concat('%', #{stockinId}, '%')</if>
<if test="inType != null and inType != ''"> and in_type like concat('%', #{inType}, '%')</if>
<if test="inClassId != null and inClassId != ''"> and in_class_id like concat('%', #{inClassId}, '%')</if>
<if test="warehouseId != null and warehouseId != ''"> and warehouse_id like concat('%', #{warehouseId}, '%')</if>
<if test="stackingId != null and stackingId != ''"> and stacking_id like concat('%', #{stackingId}, '%')</if>
<if test="spare1 != null and spare1 != ''"> and spare1 like concat('%', #{spare1}, '%')</if>
<if test="spare2 != null and spare2 != ''"> and spare2 like concat('%', #{spare2}, '%')</if>
<if test="spare5 != null and spare5 != ''"> and spare5 like concat('%', #{spare5}, '%')</if>
<if test="spare6 != null and spare6 != ''"> and spare6 like concat('%', #{spare6}, '%')</if>
<if test="cargoSpaceId != null and cargoSpaceId != ''"> and cargo_space_id = #{cargoSpaceId}</if>
<if test="stockStatus != null and stockStatus != ''"> and stock_status = #{stockStatus}</if>
<if test="productStatus != null and productStatus != ''"> and product_status = #{productStatus}</if>
<if test="lotNo != null and lotNo != ''"> and lot_no = #{lotNo}</if>
<if test="inDate != null and inDate != ''"> and in_date = #{inDate}</if>
<if test="backDate != null and backDate != ''"> and back_date = #{backDate}</if>
<if test="productGuid != null and productGuid != ''"> and product_guid = #{productGuid}</if>
<if test="quantity != null and quantity != ''"> and quantity = #{quantity}</if>
<if test="jobId != null and jobId != ''"> and job_id = #{jobId}</if>
<if test="trayCode != null and trayCode != ''"> and tray_code = #{trayCode}</if>
<if test="outQuantity != null and outQuantity != ''"> and out_quantity = #{outQuantity}</if>
<if test="stockinDetailId != null and stockinDetailId != ''"> and stockin_detail_id = #{stockinDetailId}</if>
<if test="stockinId != null and stockinId != ''"> and stockin_id = #{stockinId}</if>
<if test="inType != null and inType != ''"> and in_type = #{inType}</if>
<if test="inClassId != null and inClassId != ''"> and in_class_id = #{inClassId}</if>
<if test="warehouseId != null and warehouseId != ''"> and warehouse_id = #{warehouseId}</if>
<if test="stackingId != null and stackingId != ''"> and stacking_id = #{stackingId}</if>
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
<if test="spare3 != null and spare3 != ''"> and spare3 = #{spare3}</if>
<if test="spare4 != null and spare4 != ''"> and spare4 = #{spare4}</if>
<if test="spare5 != null and spare5 != ''"> and spare5 = #{spare5}</if>
<if test="spare6 != null and spare6 != ''"> and spare6 = #{spare6}</if>
<if test="productId != null and productId != ''"> and product_id like concat('%', #{productId}, '%')</if>
<if test="warehouseName != null and warehouseName != ''"> and warehouse_name like concat('%', #{warehouseName}, '%')</if>
<if test="address != null and address != ''"> and address like concat('%', #{address}, '%')</if>
<if test="cDesc != null and cDesc != ''"> and c_desc like concat('%', #{cDesc}, '%')</if>
<if test="warehouseKind != null and warehouseKind != ''"> and warehouse_kind like concat('%', #{warehouseKind}, '%')</if>
<if test="warehouseType != null and warehouseType != ''"> and warehouse_type like concat('%', #{warehouseType}, '%')</if>
<if test="isCurrent != null and isCurrent != ''"> and is_current like concat('%', #{isCurrent}, '%')</if>
<if test="address != null and address != ''"> and address = #{address}</if>
<if test="cDesc != null and cDesc != ''"> and c_desc = #{cDesc}</if>
<if test="warehouseKind != null and warehouseKind != ''"> and warehouse_kind = #{warehouseKind}</if>
<if test="warehouseType != null and warehouseType != ''"> and warehouse_type = #{warehouseType}</if>
<if test="isCurrent != null and isCurrent != ''"> and is_current = #{isCurrent}</if>
<if test="price != null and price != ''"> and price = #{price}</if>
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
<if test="spec != null and spec != ''"> and spec = #{spec}</if>
<if test="enName != null and enName != ''"> and enName like concat('%', #{enName}, '%')</if>
<if test="weight != null and weight != ''"> and weight = #{weight}</if>
<if test="longMM != null and longMM != ''"> and longMM = #{longMM}</if>
<if test="wide != null and wide != ''"> and wide = #{wide}</if>
<if test="hight != null and hight != ''"> and hight = #{hight}</if>
<if test="volume != null and volume != ''"> and volume = #{volume}</if>
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
<if test="spec != null and spec != ''"> and spec like concat('%', #{spec}, '%')</if>
<if test="unit != null and unit != ''"> and unit like concat('%', #{unit}, '%')</if>
<if test="price != null and price != ''"> and price like concat('%', #{price}, '%')</if>
<if test="cargoSpaceName != null and cargoSpaceName != ''"> and cargo_space_name like concat('%', #{cargoSpaceName}, '%')</if>
<if test="roadwayId != null and roadwayId != ''"> and roadway_id like concat('%', #{roadwayId}, '%')</if>
<if test="cargoAreaId != null and cargoAreaId != ''"> and cargo_area_id like concat('%', #{cargoAreaId}, '%')</if>
<if test="theType != null and theType != ''"> and the_type like concat('%', #{theType}, '%')</if>
<if test="roadwayId != null and roadwayId != ''"> and roadway_id = #{roadwayId}</if>
<if test="cargoAreaId != null and cargoAreaId != ''"> and cargo_area_id = #{cargoAreaId}</if>
<if test="theType != null and theType != ''"> and the_type = #{theType}</if>
<if test="theTypeName != null and theTypeName != ''"> and the_type_name like concat('%', #{theTypeName}, '%')</if>
<if test="thePlatoon != null "> and the_platoon like concat('%', #{thePlatoon}, '%')</if>
<if test="theColumn != null "> and the_column like concat('%', #{theColumn}, '%')</if>
<if test="theFloor != null "> and the_floor like concat('%', #{theFloor}, '%')</if>
<if test="cargoStatus != null and cargoStatus != ''"> and cargo_status like concat('%', #{cargoStatus}, '%')</if>
<if test="locked != null and locked != ''"> and locked like concat('%', #{locked}, '%')</if>
<if test="cargoHight != null and cargoHight != ''"> and cargo_hight like concat('%', #{cargoHight}, '%')</if>
<if test="issDouble != null and issDouble != ''"> and iss_double like concat('%', #{issDouble}, '%')</if>
<if test="groupCodingNo != null and groupCodingNo != ''"> and group_coding_no like concat('%', #{groupCodingNo}, '%')</if>
<if test="groupCoding != null and groupCoding != ''"> and group_coding like concat('%', #{groupCoding}, '%')</if>
<if test="cargoSpaceLogo != null and cargoSpaceLogo != ''"> and cargo_space_logo like concat('%', #{cargoSpaceLogo}, '%')</if>
<if test="thisCargoArea != null and thisCargoArea != ''"> and this_cargo_area like concat('%', #{thisCargoArea}, '%')</if>
<if test="spare7 != null and spare7 != ''"> and spare7 like concat('%', #{spare7}, '%')</if>
<if test="spare8 != null and spare8 != ''"> and spare8 like concat('%', #{spare8}, '%')</if>
<if test="params.warehouseDataScope != null and params.warehouseDataScope !=''">
${params.warehouseDataScope}
</if>
<if test="thePlatoon != null "> and the_platoon = #{thePlatoon}</if>
<if test="theColumn != null "> and the_column = #{theColumn}</if>
<if test="theFloor != null "> and the_floor = #{theFloor}</if>
<if test="cargoStatus != null and cargoStatus != ''"> and cargo_status = #{cargoStatus}</if>
<if test="locked != null and locked != ''"> and locked = #{locked}</if>
<if test="cargoHight != null and cargoHight != ''"> and cargo_hight = #{cargoHight}</if>
<if test="issDouble != null and issDouble != ''"> and iss_double = #{issDouble}</if>
<if test="groupCodingNo != null and groupCodingNo != ''"> and group_coding_no = #{groupCodingNo}</if>
<if test="groupCoding != null and groupCoding != ''"> and group_coding = #{groupCoding}</if>
<if test="cargoSpaceLogo != null and cargoSpaceLogo != ''"> and cargo_space_logo = #{cargoSpaceLogo}</if>
<if test="thisCargoArea != null and thisCargoArea != ''"> and this_cargo_area = #{thisCargoArea}</if>
</where>
</select>
<select id="selectViewStockWarningByStockId" parameterType="String" resultMap="ViewStockWarningResult">
<include refid="selectViewStockWarningVo"/>
where stock_id = #{stockId}
@@ -150,6 +159,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="stackingId != null">stacking_id,</if>
<if test="spare1 != null">spare1,</if>
<if test="spare2 != null">spare2,</if>
<if test="spare3 != null">spare3,</if>
<if test="spare4 != null">spare4,</if>
<if test="spare5 != null">spare5,</if>
<if test="spare6 != null">spare6,</if>
<if test="productId != null">product_id,</if>
@@ -159,10 +170,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="warehouseKind != null">warehouse_kind,</if>
<if test="warehouseType != null">warehouse_type,</if>
<if test="isCurrent != null">is_current,</if>
<if test="productName != null">product_name,</if>
<if test="spec != null">spec,</if>
<if test="unit != null">unit,</if>
<if test="price != null">price,</if>
<if test="unit != null">unit,</if>
<if test="spec != null">spec,</if>
<if test="enName != null">enName,</if>
<if test="weight != null">weight,</if>
<if test="longMM != null">longMM,</if>
<if test="wide != null">wide,</if>
<if test="hight != null">hight,</if>
<if test="volume != null">volume,</if>
<if test="productName != null">product_name,</if>
<if test="cargoSpaceName != null">cargo_space_name,</if>
<if test="roadwayId != null">roadway_id,</if>
<if test="cargoAreaId != null">cargo_area_id,</if>
@@ -179,9 +196,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="groupCoding != null">group_coding,</if>
<if test="cargoSpaceLogo != null">cargo_space_logo,</if>
<if test="thisCargoArea != null">this_cargo_area,</if>
<if test="spare7 != null">spare7,</if>
<if test="spare8 != null">spare8,</if>
</trim>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="stockId != null and stockId != ''">#{stockId},</if>
<if test="cargoSpaceId != null">#{cargoSpaceId},</if>
@@ -203,6 +218,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="stackingId != null">#{stackingId},</if>
<if test="spare1 != null">#{spare1},</if>
<if test="spare2 != null">#{spare2},</if>
<if test="spare3 != null">#{spare3},</if>
<if test="spare4 != null">#{spare4},</if>
<if test="spare5 != null">#{spare5},</if>
<if test="spare6 != null">#{spare6},</if>
<if test="productId != null">#{productId},</if>
@@ -212,10 +229,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="warehouseKind != null">#{warehouseKind},</if>
<if test="warehouseType != null">#{warehouseType},</if>
<if test="isCurrent != null">#{isCurrent},</if>
<if test="productName != null">#{productName},</if>
<if test="spec != null">#{spec},</if>
<if test="unit != null">#{unit},</if>
<if test="price != null">#{price},</if>
<if test="unit != null">#{unit},</if>
<if test="spec != null">#{spec},</if>
<if test="enName != null">#{enName},</if>
<if test="weight != null">#{weight},</if>
<if test="longMM != null">#{longMM},</if>
<if test="wide != null">#{wide},</if>
<if test="hight != null">#{hight},</if>
<if test="volume != null">#{volume},</if>
<if test="productName != null">#{productName},</if>
<if test="cargoSpaceName != null">#{cargoSpaceName},</if>
<if test="roadwayId != null">#{roadwayId},</if>
<if test="cargoAreaId != null">#{cargoAreaId},</if>
@@ -232,9 +255,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="groupCoding != null">#{groupCoding},</if>
<if test="cargoSpaceLogo != null">#{cargoSpaceLogo},</if>
<if test="thisCargoArea != null">#{thisCargoArea},</if>
<if test="spare7 != null">#{spare7},</if>
<if test="spare8 != null">#{spare8},</if>
</trim>
</trim>
</insert>
<update id="updateViewStockWarning" parameterType="ViewStockWarning">
@@ -259,6 +280,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="stackingId != null">stacking_id = #{stackingId},</if>
<if test="spare1 != null">spare1 = #{spare1},</if>
<if test="spare2 != null">spare2 = #{spare2},</if>
<if test="spare3 != null">spare3 = #{spare3},</if>
<if test="spare4 != null">spare4 = #{spare4},</if>
<if test="spare5 != null">spare5 = #{spare5},</if>
<if test="spare6 != null">spare6 = #{spare6},</if>
<if test="productId != null">product_id = #{productId},</if>
@@ -268,10 +291,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="warehouseKind != null">warehouse_kind = #{warehouseKind},</if>
<if test="warehouseType != null">warehouse_type = #{warehouseType},</if>
<if test="isCurrent != null">is_current = #{isCurrent},</if>
<if test="productName != null">product_name = #{productName},</if>
<if test="spec != null">spec = #{spec},</if>
<if test="unit != null">unit = #{unit},</if>
<if test="price != null">price = #{price},</if>
<if test="unit != null">unit = #{unit},</if>
<if test="spec != null">spec = #{spec},</if>
<if test="enName != null">enName = #{enName},</if>
<if test="weight != null">weight = #{weight},</if>
<if test="longMM != null">longMM = #{longMM},</if>
<if test="wide != null">wide = #{wide},</if>
<if test="hight != null">hight = #{hight},</if>
<if test="volume != null">volume = #{volume},</if>
<if test="productName != null">product_name = #{productName},</if>
<if test="cargoSpaceName != null">cargo_space_name = #{cargoSpaceName},</if>
<if test="roadwayId != null">roadway_id = #{roadwayId},</if>
<if test="cargoAreaId != null">cargo_area_id = #{cargoAreaId},</if>
@@ -288,8 +317,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="groupCoding != null">group_coding = #{groupCoding},</if>
<if test="cargoSpaceLogo != null">cargo_space_logo = #{cargoSpaceLogo},</if>
<if test="thisCargoArea != null">this_cargo_area = #{thisCargoArea},</if>
<if test="spare7 != null">spare7 = #{spare7},</if>
<if test="spare8 != null">spare8 = #{spare8},</if>
</trim>
where stock_id = #{stockId}
</update>
@@ -299,9 +326,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
<delete id="deleteViewStockWarningByStockIds" parameterType="String">
delete from view_stock_warning where stock_id in
delete from view_stock_warning where stock_id in
<foreach item="stockId" collection="array" open="(" separator="," close=")">
#{stockId}
</foreach>
</delete>
</mapper>
</mapper>