查询统计修改
This commit is contained in:
@@ -22,12 +22,18 @@ public interface IMydoJobService
|
||||
public MydoJob selectMydoJobByJobId(String jobId);
|
||||
|
||||
/**
|
||||
* 查询任务表列表
|
||||
* 查询任务表列表 带数据权限
|
||||
*
|
||||
* @param mydoJob 任务表
|
||||
* @return 任务表集合
|
||||
*/
|
||||
public List<MydoJob> selectMydoJobList(MydoJob mydoJob);
|
||||
|
||||
/**
|
||||
* 查询任务表列表
|
||||
* @param mydoJob
|
||||
* @return
|
||||
*/
|
||||
public List<MydoJob> selectMydoJobListApi(MydoJob mydoJob);
|
||||
|
||||
/**
|
||||
@@ -85,7 +91,18 @@ public interface IMydoJobService
|
||||
*/
|
||||
AjaxResult OuthandInvalidation(String [] jobIds);
|
||||
|
||||
/**
|
||||
* 指定出库
|
||||
* @param stockIds
|
||||
* @param exitId
|
||||
* @return
|
||||
*/
|
||||
AjaxResult pointOut(String [] stockIds,String exitId);
|
||||
|
||||
/**
|
||||
* 通过托盘码查询
|
||||
* @param trayCode
|
||||
* @return
|
||||
*/
|
||||
MydoJob selectMydoJobByTrayCode(String trayCode);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.StockSummary.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.search.StockSummary.mapper.StockSummaryMapper;
|
||||
@@ -9,19 +11,19 @@ import com.ruoyi.search.StockSummary.service.IStockSummaryService;
|
||||
|
||||
/**
|
||||
* 库存汇总Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-05-26
|
||||
*/
|
||||
@Service
|
||||
public class StockSummaryServiceImpl implements IStockSummaryService
|
||||
public class StockSummaryServiceImpl implements IStockSummaryService
|
||||
{
|
||||
@Autowired
|
||||
private StockSummaryMapper stockSummaryMapper;
|
||||
|
||||
/**
|
||||
* 查询库存汇总
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存汇总主键
|
||||
* @return 库存汇总
|
||||
*/
|
||||
@@ -33,11 +35,12 @@ public class StockSummaryServiceImpl implements IStockSummaryService
|
||||
|
||||
/**
|
||||
* 查询库存汇总列表
|
||||
*
|
||||
*
|
||||
* @param stockSummary 库存汇总
|
||||
* @return 库存汇总
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "bw")
|
||||
public List<StockSummary> selectStockSummaryList(StockSummary stockSummary)
|
||||
{
|
||||
return stockSummaryMapper.selectStockSummaryList(stockSummary);
|
||||
@@ -45,7 +48,7 @@ public class StockSummaryServiceImpl implements IStockSummaryService
|
||||
|
||||
/**
|
||||
* 新增库存汇总
|
||||
*
|
||||
*
|
||||
* @param stockSummary 库存汇总
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -57,7 +60,7 @@ public class StockSummaryServiceImpl implements IStockSummaryService
|
||||
|
||||
/**
|
||||
* 修改库存汇总
|
||||
*
|
||||
*
|
||||
* @param stockSummary 库存汇总
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -69,7 +72,7 @@ public class StockSummaryServiceImpl implements IStockSummaryService
|
||||
|
||||
/**
|
||||
* 批量删除库存汇总
|
||||
*
|
||||
*
|
||||
* @param onlyIdentitys 需要删除的库存汇总主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -81,7 +84,7 @@ public class StockSummaryServiceImpl implements IStockSummaryService
|
||||
|
||||
/**
|
||||
* 删除库存汇总信息
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存汇总主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -90,4 +93,4 @@ public class StockSummaryServiceImpl implements IStockSummaryService
|
||||
{
|
||||
return stockSummaryMapper.deleteStockSummaryByOnlyIdentity(onlyIdentity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.ViewFlatWarehouseInFlow.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -10,19 +12,19 @@ import com.ruoyi.search.ViewFlatWarehouseInFlow.service.IViewFlatWarehouseInFlow
|
||||
|
||||
/**
|
||||
* 平库入库流水Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-29
|
||||
*/
|
||||
@Service
|
||||
public class ViewFlatWarehouseInFlowServiceImpl implements IViewFlatWarehouseInFlowService
|
||||
public class ViewFlatWarehouseInFlowServiceImpl implements IViewFlatWarehouseInFlowService
|
||||
{
|
||||
@Autowired
|
||||
private ViewFlatWarehouseInFlowMapper viewFlatWarehouseInFlowMapper;
|
||||
|
||||
/**
|
||||
* 查询平库入库流水
|
||||
*
|
||||
*
|
||||
* @param id 平库入库流水主键
|
||||
* @return 平库入库流水
|
||||
*/
|
||||
@@ -34,11 +36,12 @@ public class ViewFlatWarehouseInFlowServiceImpl implements IViewFlatWarehouseInF
|
||||
|
||||
/**
|
||||
* 查询平库入库流水列表
|
||||
*
|
||||
*
|
||||
* @param viewFlatWarehouseInFlow 平库入库流水
|
||||
* @return 平库入库流水
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vfwif")
|
||||
public List<ViewFlatWarehouseInFlow> selectViewFlatWarehouseInFlowList(ViewFlatWarehouseInFlow viewFlatWarehouseInFlow)
|
||||
{
|
||||
return viewFlatWarehouseInFlowMapper.selectViewFlatWarehouseInFlowList(viewFlatWarehouseInFlow);
|
||||
@@ -46,7 +49,7 @@ public class ViewFlatWarehouseInFlowServiceImpl implements IViewFlatWarehouseInF
|
||||
|
||||
/**
|
||||
* 新增平库入库流水
|
||||
*
|
||||
*
|
||||
* @param viewFlatWarehouseInFlow 平库入库流水
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -59,7 +62,7 @@ public class ViewFlatWarehouseInFlowServiceImpl implements IViewFlatWarehouseInF
|
||||
|
||||
/**
|
||||
* 修改平库入库流水
|
||||
*
|
||||
*
|
||||
* @param viewFlatWarehouseInFlow 平库入库流水
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -71,7 +74,7 @@ public class ViewFlatWarehouseInFlowServiceImpl implements IViewFlatWarehouseInF
|
||||
|
||||
/**
|
||||
* 批量删除平库入库流水
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的平库入库流水主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -83,7 +86,7 @@ public class ViewFlatWarehouseInFlowServiceImpl implements IViewFlatWarehouseInF
|
||||
|
||||
/**
|
||||
* 删除平库入库流水信息
|
||||
*
|
||||
*
|
||||
* @param id 平库入库流水主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.ViewFlatWarehouseOutFlow.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -10,19 +12,19 @@ import com.ruoyi.search.ViewFlatWarehouseOutFlow.service.IViewFlatWarehouseOutFl
|
||||
|
||||
/**
|
||||
* 平库出库流水Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-29
|
||||
*/
|
||||
@Service
|
||||
public class ViewFlatWarehouseOutFlowServiceImpl implements IViewFlatWarehouseOutFlowService
|
||||
public class ViewFlatWarehouseOutFlowServiceImpl implements IViewFlatWarehouseOutFlowService
|
||||
{
|
||||
@Autowired
|
||||
private ViewFlatWarehouseOutFlowMapper viewFlatWarehouseOutFlowMapper;
|
||||
|
||||
/**
|
||||
* 查询平库出库流水
|
||||
*
|
||||
*
|
||||
* @param id 平库出库流水主键
|
||||
* @return 平库出库流水
|
||||
*/
|
||||
@@ -34,11 +36,12 @@ public class ViewFlatWarehouseOutFlowServiceImpl implements IViewFlatWarehouseOu
|
||||
|
||||
/**
|
||||
* 查询平库出库流水列表
|
||||
*
|
||||
*
|
||||
* @param viewFlatWarehouseOutFlow 平库出库流水
|
||||
* @return 平库出库流水
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vfwof")
|
||||
public List<ViewFlatWarehouseOutFlow> selectViewFlatWarehouseOutFlowList(ViewFlatWarehouseOutFlow viewFlatWarehouseOutFlow)
|
||||
{
|
||||
return viewFlatWarehouseOutFlowMapper.selectViewFlatWarehouseOutFlowList(viewFlatWarehouseOutFlow);
|
||||
@@ -46,7 +49,7 @@ public class ViewFlatWarehouseOutFlowServiceImpl implements IViewFlatWarehouseOu
|
||||
|
||||
/**
|
||||
* 新增平库出库流水
|
||||
*
|
||||
*
|
||||
* @param viewFlatWarehouseOutFlow 平库出库流水
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -59,7 +62,7 @@ public class ViewFlatWarehouseOutFlowServiceImpl implements IViewFlatWarehouseOu
|
||||
|
||||
/**
|
||||
* 修改平库出库流水
|
||||
*
|
||||
*
|
||||
* @param viewFlatWarehouseOutFlow 平库出库流水
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -71,7 +74,7 @@ public class ViewFlatWarehouseOutFlowServiceImpl implements IViewFlatWarehouseOu
|
||||
|
||||
/**
|
||||
* 批量删除平库出库流水
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的平库出库流水主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -83,7 +86,7 @@ public class ViewFlatWarehouseOutFlowServiceImpl implements IViewFlatWarehouseOu
|
||||
|
||||
/**
|
||||
* 删除平库出库流水信息
|
||||
*
|
||||
*
|
||||
* @param id 平库出库流水主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.ViewInJobFlow.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -10,19 +12,19 @@ import com.ruoyi.search.ViewInJobFlow.service.IViewInJobFlowService;
|
||||
|
||||
/**
|
||||
* 入库作业流水Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-28
|
||||
*/
|
||||
@Service
|
||||
public class ViewInJobFlowServiceImpl implements IViewInJobFlowService
|
||||
public class ViewInJobFlowServiceImpl implements IViewInJobFlowService
|
||||
{
|
||||
@Autowired
|
||||
private ViewInJobFlowMapper viewInJobFlowMapper;
|
||||
|
||||
/**
|
||||
* 查询入库作业流水
|
||||
*
|
||||
*
|
||||
* @param jobId 入库作业流水主键
|
||||
* @return 入库作业流水
|
||||
*/
|
||||
@@ -34,11 +36,12 @@ public class ViewInJobFlowServiceImpl implements IViewInJobFlowService
|
||||
|
||||
/**
|
||||
* 查询入库作业流水列表
|
||||
*
|
||||
*
|
||||
* @param viewInJobFlow 入库作业流水
|
||||
* @return 入库作业流水
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vijf")
|
||||
public List<ViewInJobFlow> selectViewInJobFlowList(ViewInJobFlow viewInJobFlow)
|
||||
{
|
||||
return viewInJobFlowMapper.selectViewInJobFlowList(viewInJobFlow);
|
||||
@@ -46,7 +49,7 @@ public class ViewInJobFlowServiceImpl implements IViewInJobFlowService
|
||||
|
||||
/**
|
||||
* 新增入库作业流水
|
||||
*
|
||||
*
|
||||
* @param viewInJobFlow 入库作业流水
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -59,7 +62,7 @@ public class ViewInJobFlowServiceImpl implements IViewInJobFlowService
|
||||
|
||||
/**
|
||||
* 修改入库作业流水
|
||||
*
|
||||
*
|
||||
* @param viewInJobFlow 入库作业流水
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -71,7 +74,7 @@ public class ViewInJobFlowServiceImpl implements IViewInJobFlowService
|
||||
|
||||
/**
|
||||
* 批量删除入库作业流水
|
||||
*
|
||||
*
|
||||
* @param jobIds 需要删除的入库作业流水主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -83,7 +86,7 @@ public class ViewInJobFlowServiceImpl implements IViewInJobFlowService
|
||||
|
||||
/**
|
||||
* 删除入库作业流水信息
|
||||
*
|
||||
*
|
||||
* @param jobId 入库作业流水主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.ViewOutJobFlow.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -10,19 +12,19 @@ import com.ruoyi.search.ViewOutJobFlow.service.IViewOutJobFlowService;
|
||||
|
||||
/**
|
||||
* 出库做业务流水Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-29
|
||||
*/
|
||||
@Service
|
||||
public class ViewOutJobFlowServiceImpl implements IViewOutJobFlowService
|
||||
public class ViewOutJobFlowServiceImpl implements IViewOutJobFlowService
|
||||
{
|
||||
@Autowired
|
||||
private ViewOutJobFlowMapper viewOutJobFlowMapper;
|
||||
|
||||
/**
|
||||
* 查询出库做业务流水
|
||||
*
|
||||
*
|
||||
* @param jobId 出库做业务流水主键
|
||||
* @return 出库做业务流水
|
||||
*/
|
||||
@@ -34,11 +36,12 @@ public class ViewOutJobFlowServiceImpl implements IViewOutJobFlowService
|
||||
|
||||
/**
|
||||
* 查询出库做业务流水列表
|
||||
*
|
||||
*
|
||||
* @param viewOutJobFlow 出库做业务流水
|
||||
* @return 出库做业务流水
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vojf")
|
||||
public List<ViewOutJobFlow> selectViewOutJobFlowList(ViewOutJobFlow viewOutJobFlow)
|
||||
{
|
||||
return viewOutJobFlowMapper.selectViewOutJobFlowList(viewOutJobFlow);
|
||||
@@ -46,7 +49,7 @@ public class ViewOutJobFlowServiceImpl implements IViewOutJobFlowService
|
||||
|
||||
/**
|
||||
* 新增出库做业务流水
|
||||
*
|
||||
*
|
||||
* @param viewOutJobFlow 出库做业务流水
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -59,7 +62,7 @@ public class ViewOutJobFlowServiceImpl implements IViewOutJobFlowService
|
||||
|
||||
/**
|
||||
* 修改出库做业务流水
|
||||
*
|
||||
*
|
||||
* @param viewOutJobFlow 出库做业务流水
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -71,7 +74,7 @@ public class ViewOutJobFlowServiceImpl implements IViewOutJobFlowService
|
||||
|
||||
/**
|
||||
* 批量删除出库做业务流水
|
||||
*
|
||||
*
|
||||
* @param jobIds 需要删除的出库做业务流水主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -83,7 +86,7 @@ public class ViewOutJobFlowServiceImpl implements IViewOutJobFlowService
|
||||
|
||||
/**
|
||||
* 删除出库做业务流水信息
|
||||
*
|
||||
*
|
||||
* @param jobId 出库做业务流水主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.ViewStockDetail.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.search.ViewStockDetail.mapper.ViewStockDetailMapper;
|
||||
@@ -9,19 +11,19 @@ import com.ruoyi.search.ViewStockDetail.service.IViewStockDetailService;
|
||||
|
||||
/**
|
||||
* 库存明细查询Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-26
|
||||
*/
|
||||
@Service
|
||||
public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
{
|
||||
@Autowired
|
||||
private ViewStockDetailMapper viewStockDetailMapper;
|
||||
|
||||
/**
|
||||
* 查询库存明细查询
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存明细查询主键
|
||||
* @return 库存明细查询
|
||||
*/
|
||||
@@ -33,11 +35,12 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 查询库存明细查询列表
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 库存明细查询
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vsd")
|
||||
public List<ViewStockDetail> selectViewStockDetailList(ViewStockDetail viewStockDetail)
|
||||
{
|
||||
return viewStockDetailMapper.selectViewStockDetailList(viewStockDetail);
|
||||
@@ -45,7 +48,7 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 新增库存明细查询
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -57,7 +60,7 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 修改库存明细查询
|
||||
*
|
||||
*
|
||||
* @param viewStockDetail 库存明细查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -69,7 +72,7 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 批量删除库存明细查询
|
||||
*
|
||||
*
|
||||
* @param onlyIdentitys 需要删除的库存明细查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -81,7 +84,7 @@ public class ViewStockDetailServiceImpl implements IViewStockDetailService
|
||||
|
||||
/**
|
||||
* 删除库存明细查询信息
|
||||
*
|
||||
*
|
||||
* @param onlyIdentity 库存明细查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.ViewStockSecure.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.search.ViewStockSecure.mapper.ViewStockSecureMapper;
|
||||
@@ -9,19 +11,19 @@ import com.ruoyi.search.ViewStockSecure.service.IViewStockSecureService;
|
||||
|
||||
/**
|
||||
* 安全库存查询Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-30
|
||||
*/
|
||||
@Service
|
||||
public class ViewStockSecureServiceImpl implements IViewStockSecureService
|
||||
public class ViewStockSecureServiceImpl implements IViewStockSecureService
|
||||
{
|
||||
@Autowired
|
||||
private ViewStockSecureMapper viewStockSecureMapper;
|
||||
|
||||
/**
|
||||
* 查询安全库存查询
|
||||
*
|
||||
*
|
||||
* @param stockId 安全库存查询主键
|
||||
* @return 安全库存查询
|
||||
*/
|
||||
@@ -33,11 +35,12 @@ public class ViewStockSecureServiceImpl implements IViewStockSecureService
|
||||
|
||||
/**
|
||||
* 查询安全库存查询列表
|
||||
*
|
||||
*
|
||||
* @param viewStockSecure 安全库存查询
|
||||
* @return 安全库存查询
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vss")
|
||||
public List<ViewStockSecure> selectViewStockSecureList(ViewStockSecure viewStockSecure)
|
||||
{
|
||||
return viewStockSecureMapper.selectViewStockSecureList(viewStockSecure);
|
||||
@@ -45,7 +48,7 @@ public class ViewStockSecureServiceImpl implements IViewStockSecureService
|
||||
|
||||
/**
|
||||
* 新增安全库存查询
|
||||
*
|
||||
*
|
||||
* @param viewStockSecure 安全库存查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -57,7 +60,7 @@ public class ViewStockSecureServiceImpl implements IViewStockSecureService
|
||||
|
||||
/**
|
||||
* 修改安全库存查询
|
||||
*
|
||||
*
|
||||
* @param viewStockSecure 安全库存查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -69,7 +72,7 @@ public class ViewStockSecureServiceImpl implements IViewStockSecureService
|
||||
|
||||
/**
|
||||
* 批量删除安全库存查询
|
||||
*
|
||||
*
|
||||
* @param stockIds 需要删除的安全库存查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -81,7 +84,7 @@ public class ViewStockSecureServiceImpl implements IViewStockSecureService
|
||||
|
||||
/**
|
||||
* 删除安全库存查询信息
|
||||
*
|
||||
*
|
||||
* @param stockId 安全库存查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.ViewStockWarning.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.search.ViewStockWarning.mapper.ViewStockWarningMapper;
|
||||
@@ -9,19 +11,19 @@ import com.ruoyi.search.ViewStockWarning.service.IViewStockWarningService;
|
||||
|
||||
/**
|
||||
* 预警库存查询Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-05-30
|
||||
*/
|
||||
@Service
|
||||
public class ViewStockWarningServiceImpl implements IViewStockWarningService
|
||||
public class ViewStockWarningServiceImpl implements IViewStockWarningService
|
||||
{
|
||||
@Autowired
|
||||
private ViewStockWarningMapper viewStockWarningMapper;
|
||||
|
||||
/**
|
||||
* 查询预警库存查询
|
||||
*
|
||||
*
|
||||
* @param stockId 预警库存查询主键
|
||||
* @return 预警库存查询
|
||||
*/
|
||||
@@ -33,11 +35,12 @@ public class ViewStockWarningServiceImpl implements IViewStockWarningService
|
||||
|
||||
/**
|
||||
* 查询预警库存查询列表
|
||||
*
|
||||
*
|
||||
* @param viewStockWarning 预警库存查询
|
||||
* @return 预警库存查询
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vsw")
|
||||
public List<ViewStockWarning> selectViewStockWarningList(ViewStockWarning viewStockWarning)
|
||||
{
|
||||
return viewStockWarningMapper.selectViewStockWarningList(viewStockWarning);
|
||||
@@ -45,7 +48,7 @@ public class ViewStockWarningServiceImpl implements IViewStockWarningService
|
||||
|
||||
/**
|
||||
* 新增预警库存查询
|
||||
*
|
||||
*
|
||||
* @param viewStockWarning 预警库存查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -57,7 +60,7 @@ public class ViewStockWarningServiceImpl implements IViewStockWarningService
|
||||
|
||||
/**
|
||||
* 修改预警库存查询
|
||||
*
|
||||
*
|
||||
* @param viewStockWarning 预警库存查询
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -69,7 +72,7 @@ public class ViewStockWarningServiceImpl implements IViewStockWarningService
|
||||
|
||||
/**
|
||||
* 批量删除预警库存查询
|
||||
*
|
||||
*
|
||||
* @param stockIds 需要删除的预警库存查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -81,7 +84,7 @@ public class ViewStockWarningServiceImpl implements IViewStockWarningService
|
||||
|
||||
/**
|
||||
* 删除预警库存查询信息
|
||||
*
|
||||
*
|
||||
* @param stockId 预警库存查询主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.ViewStockinHistory.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.search.ViewStockinHistory.mapper.ViewStockinHistoryMapper;
|
||||
@@ -9,19 +11,19 @@ import com.ruoyi.search.ViewStockinHistory.service.IViewStockinHistoryService;
|
||||
|
||||
/**
|
||||
* 入库单据历史Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-28
|
||||
*/
|
||||
@Service
|
||||
public class ViewStockinHistoryServiceImpl implements IViewStockinHistoryService
|
||||
public class ViewStockinHistoryServiceImpl implements IViewStockinHistoryService
|
||||
{
|
||||
@Autowired
|
||||
private ViewStockinHistoryMapper viewStockinHistoryMapper;
|
||||
|
||||
/**
|
||||
* 查询入库单据历史
|
||||
*
|
||||
*
|
||||
* @param stockinGuid 入库单据历史主键
|
||||
* @return 入库单据历史
|
||||
*/
|
||||
@@ -33,11 +35,12 @@ public class ViewStockinHistoryServiceImpl implements IViewStockinHistoryService
|
||||
|
||||
/**
|
||||
* 查询入库单据历史列表
|
||||
*
|
||||
*
|
||||
* @param viewStockinHistory 入库单据历史
|
||||
* @return 入库单据历史
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vsh")
|
||||
public List<ViewStockinHistory> selectViewStockinHistoryList(ViewStockinHistory viewStockinHistory)
|
||||
{
|
||||
return viewStockinHistoryMapper.selectViewStockinHistoryList(viewStockinHistory);
|
||||
@@ -45,7 +48,7 @@ public class ViewStockinHistoryServiceImpl implements IViewStockinHistoryService
|
||||
|
||||
/**
|
||||
* 新增入库单据历史
|
||||
*
|
||||
*
|
||||
* @param viewStockinHistory 入库单据历史
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -57,7 +60,7 @@ public class ViewStockinHistoryServiceImpl implements IViewStockinHistoryService
|
||||
|
||||
/**
|
||||
* 修改入库单据历史
|
||||
*
|
||||
*
|
||||
* @param viewStockinHistory 入库单据历史
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -69,7 +72,7 @@ public class ViewStockinHistoryServiceImpl implements IViewStockinHistoryService
|
||||
|
||||
/**
|
||||
* 批量删除入库单据历史
|
||||
*
|
||||
*
|
||||
* @param stockinGuids 需要删除的入库单据历史主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -81,7 +84,7 @@ public class ViewStockinHistoryServiceImpl implements IViewStockinHistoryService
|
||||
|
||||
/**
|
||||
* 删除入库单据历史信息
|
||||
*
|
||||
*
|
||||
* @param stockinGuid 入库单据历史主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.ruoyi.search.ViewStockoutHistory.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.search.ViewStockoutHistory.mapper.ViewStockoutHistoryMapper;
|
||||
@@ -9,19 +11,19 @@ import com.ruoyi.search.ViewStockoutHistory.service.IViewStockoutHistoryService;
|
||||
|
||||
/**
|
||||
* 出库单据历史Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author gw
|
||||
* @date 2025-05-28
|
||||
*/
|
||||
@Service
|
||||
public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryService
|
||||
public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryService
|
||||
{
|
||||
@Autowired
|
||||
private ViewStockoutHistoryMapper viewStockoutHistoryMapper;
|
||||
|
||||
/**
|
||||
* 查询出库单据历史
|
||||
*
|
||||
*
|
||||
* @param stockoutId 出库单据历史主键
|
||||
* @return 出库单据历史
|
||||
*/
|
||||
@@ -33,11 +35,12 @@ public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryServi
|
||||
|
||||
/**
|
||||
* 查询出库单据历史列表
|
||||
*
|
||||
*
|
||||
* @param viewStockoutHistory 出库单据历史
|
||||
* @return 出库单据历史
|
||||
*/
|
||||
@Override
|
||||
@DataScope(warehouseAlias = "vsh")
|
||||
public List<ViewStockoutHistory> selectViewStockoutHistoryList(ViewStockoutHistory viewStockoutHistory)
|
||||
{
|
||||
return viewStockoutHistoryMapper.selectViewStockoutHistoryList(viewStockoutHistory);
|
||||
@@ -45,7 +48,7 @@ public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryServi
|
||||
|
||||
/**
|
||||
* 新增出库单据历史
|
||||
*
|
||||
*
|
||||
* @param viewStockoutHistory 出库单据历史
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -57,7 +60,7 @@ public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryServi
|
||||
|
||||
/**
|
||||
* 修改出库单据历史
|
||||
*
|
||||
*
|
||||
* @param viewStockoutHistory 出库单据历史
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -69,7 +72,7 @@ public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryServi
|
||||
|
||||
/**
|
||||
* 批量删除出库单据历史
|
||||
*
|
||||
*
|
||||
* @param stockoutIds 需要删除的出库单据历史主键
|
||||
* @return 结果
|
||||
*/
|
||||
@@ -81,7 +84,7 @@ public class ViewStockoutHistoryServiceImpl implements IViewStockoutHistoryServi
|
||||
|
||||
/**
|
||||
* 删除出库单据历史信息
|
||||
*
|
||||
*
|
||||
* @param stockoutId 出库单据历史主键
|
||||
* @return 结果
|
||||
*/
|
||||
|
||||
@@ -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.ViewFlatWarehouseInFlow.mapper.ViewFlatWarehouseInFlowMapper">
|
||||
|
||||
|
||||
<resultMap type="ViewFlatWarehouseInFlow" id="ViewFlatWarehouseInFlowResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="inOrOut" column="in_or_out" />
|
||||
@@ -35,12 +35,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectViewFlatWarehouseInFlowVo">
|
||||
select id, in_or_out, in_or_out_sotck_id, in_or_out_sotck_detail_id, product_guid, product_id, quantity, create_time, create_man, warehouse_id, warehouse_name, address, c_desc, warehouse_kind, warehouse_type, is_current, product_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_flat_warehouse_in_flow
|
||||
select id, in_or_out, in_or_out_sotck_id, in_or_out_sotck_detail_id, product_guid, product_id, quantity, create_time, create_man, warehouse_id, warehouse_name, address, c_desc, warehouse_kind, warehouse_type, is_current, product_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_flat_warehouse_in_flow vfwif
|
||||
</sql>
|
||||
|
||||
<select id="selectViewFlatWarehouseInFlowList" parameterType="ViewFlatWarehouseInFlow" resultMap="ViewFlatWarehouseInFlowResult">
|
||||
<include refid="selectViewFlatWarehouseInFlowVo"/>
|
||||
<where>
|
||||
<where>
|
||||
<if test="inOrOut != null and inOrOut != ''"> and in_or_out like concat('%', #{inOrOut}, '%')</if>
|
||||
<if test="inOrOutSotckId != null and inOrOutSotckId != ''"> and in_or_out_sotck_id like concat('%', #{inOrOutSotckId}, '%')</if>
|
||||
<if test="inOrOutSotckDetailId != null and inOrOutSotckDetailId != ''"> and in_or_out_sotck_detail_id like concat('%', #{inOrOutSotckDetailId}, '%')</if>
|
||||
@@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectViewFlatWarehouseInFlowById" parameterType="Long" resultMap="ViewFlatWarehouseInFlowResult">
|
||||
<include refid="selectViewFlatWarehouseInFlowVo"/>
|
||||
where id = #{id}
|
||||
@@ -176,9 +176,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</delete>
|
||||
|
||||
<delete id="deleteViewFlatWarehouseInFlowByIds" parameterType="String">
|
||||
delete from view_flat_warehouse_in_flow where id in
|
||||
delete from view_flat_warehouse_in_flow where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -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.ViewFlatWarehouseOutFlow.mapper.ViewFlatWarehouseOutFlowMapper">
|
||||
|
||||
|
||||
<resultMap type="ViewFlatWarehouseOutFlow" id="ViewFlatWarehouseOutFlowResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="inOrOut" column="in_or_out" />
|
||||
@@ -35,12 +35,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectViewFlatWarehouseOutFlowVo">
|
||||
select id, in_or_out, in_or_out_sotck_id, in_or_out_sotck_detail_id, product_guid, product_id, quantity, create_time, create_man, warehouse_id, warehouse_name, address, c_desc, warehouse_kind, warehouse_type, is_current, product_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_flat_warehouse_out_flow
|
||||
select id, in_or_out, in_or_out_sotck_id, in_or_out_sotck_detail_id, product_guid, product_id, quantity, create_time, create_man, warehouse_id, warehouse_name, address, c_desc, warehouse_kind, warehouse_type, is_current, product_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_flat_warehouse_out_flow vfwof
|
||||
</sql>
|
||||
|
||||
<select id="selectViewFlatWarehouseOutFlowList" parameterType="ViewFlatWarehouseOutFlow" resultMap="ViewFlatWarehouseOutFlowResult">
|
||||
<include refid="selectViewFlatWarehouseOutFlowVo"/>
|
||||
<where>
|
||||
<where>
|
||||
<if test="inOrOut != null and inOrOut != ''"> and in_or_out like concat('%', #{inOrOut}, '%')</if>
|
||||
<if test="inOrOutSotckId != null and inOrOutSotckId != ''"> and in_or_out_sotck_id like concat('%', #{inOrOutSotckId}, '%')</if>
|
||||
<if test="inOrOutSotckDetailId != null and inOrOutSotckDetailId != ''"> and in_or_out_sotck_detail_id like concat('%', #{inOrOutSotckDetailId}, '%')</if>
|
||||
@@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectViewFlatWarehouseOutFlowById" parameterType="Long" resultMap="ViewFlatWarehouseOutFlowResult">
|
||||
<include refid="selectViewFlatWarehouseOutFlowVo"/>
|
||||
where id = #{id}
|
||||
@@ -176,9 +176,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</delete>
|
||||
|
||||
<delete id="deleteViewFlatWarehouseOutFlowByIds" parameterType="String">
|
||||
delete from view_flat_warehouse_out_flow where id in
|
||||
delete from view_flat_warehouse_out_flow where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -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.ViewInJobFlow.mapper.ViewInJobFlowMapper">
|
||||
|
||||
|
||||
<resultMap type="ViewInJobFlow" id="ViewInJobFlowResult">
|
||||
<result property="jobId" column="job_id" />
|
||||
<result property="jobDetailId" column="job_detail_id" />
|
||||
@@ -45,12 +45,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectViewInJobFlowVo">
|
||||
select job_id, job_detail_id, status, task_no, tray_code, roadway_id, cargo_space_id, cargo_space_name, the_platoon, the_column, the_floor, priority, execution_phase, in_or_out, entrance_id, product_id, lot_no, stacking_id, stock_status, in_quantity, in_or_out_id, in_or_out_d_id, create_time, start_time, finish_time, warehouse_id, product_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_in_job_flow
|
||||
select job_id, job_detail_id, status, task_no, tray_code, roadway_id, cargo_space_id, cargo_space_name, the_platoon, the_column, the_floor, priority, execution_phase, in_or_out, entrance_id, product_id, lot_no, stacking_id, stock_status, in_quantity, in_or_out_id, in_or_out_d_id, create_time, start_time, finish_time, warehouse_id, product_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_in_job_flow vijf
|
||||
</sql>
|
||||
|
||||
<select id="selectViewInJobFlowList" parameterType="ViewInJobFlow" resultMap="ViewInJobFlowResult">
|
||||
<include refid="selectViewInJobFlowVo"/>
|
||||
<where>
|
||||
<where>
|
||||
<if test="jobId != null and jobId != ''"> and job_id like concat('%', #{jobId}, '%')</if>
|
||||
<if test="jobDetailId != null and jobDetailId != ''"> and job_detail_id like concat('%', #{jobDetailId}, '%')</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
@@ -92,7 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectViewInJobFlowByJobId" parameterType="String" resultMap="ViewInJobFlowResult">
|
||||
<include refid="selectViewInJobFlowVo"/>
|
||||
where job_id = #{jobId}
|
||||
@@ -228,9 +228,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</delete>
|
||||
|
||||
<delete id="deleteViewInJobFlowByJobIds" parameterType="String">
|
||||
delete from view_in_job_flow where job_id in
|
||||
delete from view_in_job_flow where job_id in
|
||||
<foreach item="jobId" collection="array" open="(" separator="," close=")">
|
||||
#{jobId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -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.ViewOutJobFlow.mapper.ViewOutJobFlowMapper">
|
||||
|
||||
|
||||
<resultMap type="ViewOutJobFlow" id="ViewOutJobFlowResult">
|
||||
<result property="jobId" column="job_id" />
|
||||
<result property="jobDetailId" column="job_detail_id" />
|
||||
@@ -47,12 +47,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectViewOutJobFlowVo">
|
||||
select job_id, job_detail_id, status, task_no, tray_code, roadway_id, cargo_space_id, cargo_space_name, the_platoon, the_column, the_floor, priority, execution_phase, in_or_out, exit_id, product_id, lot_no, stacking_id, stock_status, out_quantity, give_num, in_or_out_id, in_or_out_d_id, create_time, start_time, finish_time, warehouse_id, product_name, spec, unit, customer_name, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_out_job_flow
|
||||
select job_id, job_detail_id, status, task_no, tray_code, roadway_id, cargo_space_id, cargo_space_name, the_platoon, the_column, the_floor, priority, execution_phase, in_or_out, exit_id, product_id, lot_no, stacking_id, stock_status, out_quantity, give_num, in_or_out_id, in_or_out_d_id, create_time, start_time, finish_time, warehouse_id, product_name, spec, unit, customer_name, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_out_job_flow vojf
|
||||
</sql>
|
||||
|
||||
<select id="selectViewOutJobFlowList" parameterType="ViewOutJobFlow" resultMap="ViewOutJobFlowResult">
|
||||
<include refid="selectViewOutJobFlowVo"/>
|
||||
<where>
|
||||
<where>
|
||||
<if test="jobId != null and jobId != ''"> and job_id like concat('%', #{jobId}, '%')</if>
|
||||
<if test="jobDetailId != null and jobDetailId != ''"> and job_detail_id like concat('%', #{jobDetailId}, '%')</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
@@ -96,7 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectViewOutJobFlowByJobId" parameterType="String" resultMap="ViewOutJobFlowResult">
|
||||
<include refid="selectViewOutJobFlowVo"/>
|
||||
where job_id = #{jobId}
|
||||
@@ -238,9 +238,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</delete>
|
||||
|
||||
<delete id="deleteViewOutJobFlowByJobIds" parameterType="String">
|
||||
delete from view_out_job_flow where job_id in
|
||||
delete from view_out_job_flow where job_id in
|
||||
<foreach item="jobId" collection="array" open="(" separator="," close=")">
|
||||
#{jobId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -38,7 +38,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectViewStockDetailVo">
|
||||
select only_identity,stock_status,product_status, stock_id, cargo_space_id, tray_code, quantity, job_id, lot_no, stockin_detail_id, in_date, warehouse_id, stacking_id, cargo_space_name, roadway_id, cargo_space_status, locked, product_id, product_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8,warehouse_name from view_stock_detail
|
||||
select only_identity,stock_status,product_status, stock_id, cargo_space_id, tray_code, quantity, job_id, lot_no, stockin_detail_id, in_date, warehouse_id, stacking_id, cargo_space_name, roadway_id, cargo_space_status, locked, product_id, product_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8,warehouse_name
|
||||
from view_stock_detail vsd
|
||||
</sql>
|
||||
|
||||
<select id="selectViewStockDetailList" parameterType="ViewStockDetail" resultMap="ViewStockDetailResult">
|
||||
|
||||
@@ -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" />
|
||||
@@ -38,7 +38,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="spec" column="spec" />
|
||||
<result property="unit" column="unit" />
|
||||
<result property="price" column="price" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="cargoSpaceName" column="cargo_space_name" />
|
||||
<result property="roadwayId" column="roadway_id" />
|
||||
<result property="cargoAreaId" column="cargo_area_id" />
|
||||
@@ -57,16 +56,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="thisCargoArea" column="this_cargo_area" />
|
||||
<result property="spare7" column="spare7" />
|
||||
<result property="spare8" column="spare8" />
|
||||
<result property="remark" column="remark" />
|
||||
</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, remark, 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, remark from view_stock_secure
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectViewStockSecureList" parameterType="ViewStockSecure" resultMap="ViewStockSecureResult">
|
||||
<include refid="selectViewStockSecureVo"/>
|
||||
<where>
|
||||
<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>
|
||||
@@ -123,7 +121,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectViewStockSecureByStockId" parameterType="String" resultMap="ViewStockSecureResult">
|
||||
<include refid="selectViewStockSecureVo"/>
|
||||
where stock_id = #{stockId}
|
||||
@@ -165,7 +163,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="spec != null">spec,</if>
|
||||
<if test="unit != null">unit,</if>
|
||||
<if test="price != null">price,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="cargoSpaceName != null">cargo_space_name,</if>
|
||||
<if test="roadwayId != null">roadway_id,</if>
|
||||
<if test="cargoAreaId != null">cargo_area_id,</if>
|
||||
@@ -184,7 +181,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="thisCargoArea != null">this_cargo_area,</if>
|
||||
<if test="spare7 != null">spare7,</if>
|
||||
<if test="spare8 != null">spare8,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="stockId != null and stockId != ''">#{stockId},</if>
|
||||
@@ -220,7 +216,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="spec != null">#{spec},</if>
|
||||
<if test="unit != null">#{unit},</if>
|
||||
<if test="price != null">#{price},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="cargoSpaceName != null">#{cargoSpaceName},</if>
|
||||
<if test="roadwayId != null">#{roadwayId},</if>
|
||||
<if test="cargoAreaId != null">#{cargoAreaId},</if>
|
||||
@@ -237,7 +232,6 @@ 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="remark != null">#{remark},</if>
|
||||
<if test="spare7 != null">#{spare7},</if>
|
||||
<if test="spare8 != null">#{spare8},</if>
|
||||
</trim>
|
||||
@@ -278,7 +272,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="spec != null">spec = #{spec},</if>
|
||||
<if test="unit != null">unit = #{unit},</if>
|
||||
<if test="price != null">price = #{price},</if>
|
||||
<if test="remark != null">remark = #{remark},</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>
|
||||
@@ -297,7 +290,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="thisCargoArea != null">this_cargo_area = #{thisCargoArea},</if>
|
||||
<if test="spare7 != null">spare7 = #{spare7},</if>
|
||||
<if test="spare8 != null">spare8 = #{spare8},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where stock_id = #{stockId}
|
||||
</update>
|
||||
@@ -307,9 +299,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>
|
||||
|
||||
@@ -38,7 +38,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="spec" column="spec" />
|
||||
<result property="unit" column="unit" />
|
||||
<result property="price" column="price" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="cargoSpaceName" column="cargo_space_name" />
|
||||
<result property="roadwayId" column="roadway_id" />
|
||||
<result property="cargoAreaId" column="cargo_area_id" />
|
||||
@@ -57,11 +56,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="thisCargoArea" column="this_cargo_area" />
|
||||
<result property="spare7" column="spare7" />
|
||||
<result property="spare8" column="spare8" />
|
||||
<result property="remark" column="remark" />
|
||||
</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, remark, 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
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectViewStockWarningList" parameterType="ViewStockWarning" resultMap="ViewStockWarningResult">
|
||||
@@ -165,7 +163,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="spec != null">spec,</if>
|
||||
<if test="unit != null">unit,</if>
|
||||
<if test="price != null">price,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="cargoSpaceName != null">cargo_space_name,</if>
|
||||
<if test="roadwayId != null">roadway_id,</if>
|
||||
<if test="cargoAreaId != null">cargo_area_id,</if>
|
||||
@@ -182,7 +179,6 @@ 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="remark != null">remark,</if>
|
||||
<if test="spare7 != null">spare7,</if>
|
||||
<if test="spare8 != null">spare8,</if>
|
||||
</trim>
|
||||
@@ -220,7 +216,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="spec != null">#{spec},</if>
|
||||
<if test="unit != null">#{unit},</if>
|
||||
<if test="price != null">#{price},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="cargoSpaceName != null">#{cargoSpaceName},</if>
|
||||
<if test="roadwayId != null">#{roadwayId},</if>
|
||||
<if test="cargoAreaId != null">#{cargoAreaId},</if>
|
||||
@@ -239,7 +234,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="thisCargoArea != null">#{thisCargoArea},</if>
|
||||
<if test="spare7 != null">#{spare7},</if>
|
||||
<if test="spare8 != null">#{spare8},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@@ -278,7 +272,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="spec != null">spec = #{spec},</if>
|
||||
<if test="unit != null">unit = #{unit},</if>
|
||||
<if test="price != null">price = #{price},</if>
|
||||
<if test="remark != null">remark = #{remark},</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>
|
||||
@@ -297,7 +290,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="thisCargoArea != null">this_cargo_area = #{thisCargoArea},</if>
|
||||
<if test="spare7 != null">spare7 = #{spare7},</if>
|
||||
<if test="spare8 != null">spare8 = #{spare8},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where stock_id = #{stockId}
|
||||
</update>
|
||||
|
||||
@@ -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.ViewStockinHistory.mapper.ViewStockinHistoryMapper">
|
||||
|
||||
|
||||
<resultMap type="ViewStockinHistory" id="ViewStockinHistoryResult">
|
||||
<result property="stockinGuid" column="stockin_guid" />
|
||||
<result property="stockinId" column="stockin_id" />
|
||||
@@ -51,12 +51,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectViewStockinHistoryVo">
|
||||
select stockin_guid, stockin_id, in_type, create_date, create_man_id, status, warehouse_id, finish_date, erp_bill, stock_source, department_no, class_no, supplier_no, supplier_name, simple_name, contact_name, contact_number, address, stockin_detail_id, lot_no, quantity, quantity_x, quantity_j, assign_num, assign_num_x, assign_num_j, scan_num, scan_num_x, scan_num_j, print_date, stock_status, price, remark, product_id, product_name, unit, spec, spare1,spare2,spare5,spare6,spare7,spare8 from view_stockin_history
|
||||
select stockin_guid, stockin_id, in_type, create_date, create_man_id, status, warehouse_id, finish_date, erp_bill, stock_source, department_no, class_no, supplier_no, supplier_name, simple_name, contact_name, contact_number, address, stockin_detail_id, lot_no, quantity, quantity_x, quantity_j, assign_num, assign_num_x, assign_num_j, scan_num, scan_num_x, scan_num_j, print_date, stock_status, price, remark, product_id, product_name, unit, spec, spare1,spare2,spare5,spare6,spare7,spare8 from view_stockin_history vsh
|
||||
</sql>
|
||||
|
||||
<select id="selectViewStockinHistoryList" parameterType="ViewStockinHistory" resultMap="ViewStockinHistoryResult">
|
||||
<include refid="selectViewStockinHistoryVo"/>
|
||||
<where>
|
||||
<where>
|
||||
<if test="stockinGuid != null and stockinGuid != ''"> and stockin_guid like concat('%', #{stockinGuid}, '%')</if>
|
||||
<if test="stockinId != null and stockinId != ''"> and stockin_id like concat('%', #{stockinId}, '%')</if>
|
||||
<if test="inType != null and inType != ''"> and in_type = #{inType}</if>
|
||||
@@ -105,7 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectViewStockinHistoryByStockinGuid" parameterType="String" resultMap="ViewStockinHistoryResult">
|
||||
<include refid="selectViewStockinHistoryVo"/>
|
||||
where stockin_guid = #{stockinGuid}
|
||||
@@ -259,9 +259,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</delete>
|
||||
|
||||
<delete id="deleteViewStockinHistoryByStockinGuids" parameterType="String">
|
||||
delete from view_stockin_history where stockin_guid in
|
||||
delete from view_stockin_history where stockin_guid in
|
||||
<foreach item="stockinGuid" collection="array" open="(" separator="," close=")">
|
||||
#{stockinGuid}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -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.ViewStockoutHistory.mapper.ViewStockoutHistoryMapper">
|
||||
|
||||
|
||||
<resultMap type="ViewStockoutHistory" id="ViewStockoutHistoryResult">
|
||||
<result property="stockoutId" column="stockout_id" />
|
||||
<result property="warehouseId" column="warehouse_id" />
|
||||
@@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectViewStockoutHistoryVo">
|
||||
select stockout_id,warehouse_id, out_type, create_date, create_man_id, status, stockout_source, exit_id, stockout_detail_id, product_id, product_name, lot_no, quantity, allot_quantity, assign_num, erp_stockout_id, entryid, customer_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_stockout_history
|
||||
select stockout_id,warehouse_id, out_type, create_date, create_man_id, status, stockout_source, exit_id, stockout_detail_id, product_id, product_name, lot_no, quantity, allot_quantity, assign_num, erp_stockout_id, entryid, customer_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_stockout_history vsh
|
||||
</sql>
|
||||
|
||||
<select id="selectViewStockoutHistoryList" parameterType="ViewStockoutHistory" resultMap="ViewStockoutHistoryResult">
|
||||
@@ -74,7 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectViewStockoutHistoryByStockoutId" parameterType="String" resultMap="ViewStockoutHistoryResult">
|
||||
<include refid="selectViewStockoutHistoryVo"/>
|
||||
where stockout_id = #{stockoutId}
|
||||
@@ -180,9 +180,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</delete>
|
||||
|
||||
<delete id="deleteViewStockoutHistoryByStockoutIds" parameterType="String">
|
||||
delete from view_stockout_history where stockout_id in
|
||||
delete from view_stockout_history where stockout_id in
|
||||
<foreach item="stockoutId" collection="array" open="(" separator="," close=")">
|
||||
#{stockoutId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user