对比新文件 |
| | |
| | | package com.gk.firework.Mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.gk.firework.Domain.BO.DirectionProductBO; |
| | | import com.gk.firework.Domain.StockInfo; |
| | | import com.gk.firework.Domain.Vo.NoEntryVo; |
| | | import com.gk.firework.Domain.Vo.StockVo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Repository |
| | | public interface StockInfoMapper extends BaseMapper<StockInfo> { |
| | | |
| | | StockInfo selectStockByDirection(@Param("directionCode") String directionCode, @Param("slice") String slice); |
| | | |
| | | StockInfo selectStockByDireAndUser(@Param("directionCode") String directionCode, @Param("companyId") Long userId, @Param("slice") String slice); |
| | | |
| | | int insertStockInfo(@Param("stockInfo") StockInfo stockInfo, @Param("slice") String slice); |
| | | |
| | | int updateStockInfo(@Param("stockInfo") StockInfo stockInfo, @Param("slice") String slice); |
| | | |
| | | List<StockVo> selectStockDataGrid(Map<String, Object> condition, Page<StockVo> page); |
| | | |
| | | List<StockInfo> selectEarlyWarn(@Param("min") Integer min,@Param("max") Integer max, |
| | | @Param("enterprisetype")String enterprisetype,@Param("slices") List<Integer> slices); |
| | | |
| | | List<StockInfo> selectAlarm(@Param("max") Integer max,@Param("enterprisetype") String enterprisetype, |
| | | @Param("slices") List<Integer> slices); |
| | | List<StockVo> selectStockDataGrid(Map<String, Object> condition, Page<StockVo> page, List<Integer> list); |
| | | |
| | | List<StockVo> selectEnterpriseStockDataGrid(Map<String, Object> condition, Page<StockVo> page, List<Integer> list); |
| | | |
| | | |
| | | List<NoEntryVo> selectNoEntryCount(@Param("time") Date time, @Param("list") List<Integer> list, @Param("period")Integer warnPeriod); |
| | | |
| | | List<StockVo> selectNoEntryDetail(Page<StockVo> page, Map<String, Object> condition); |
| | | |
| | | List<StockInfo> selectStockByProductId(@Param("id") Long id, @Param("slice") String slice); |
| | | |
| | | List<StockVo> selectEnterpriseSaleDataGrid(Map<String, Object> condition, Page<StockVo> page, List<Integer> list); |
| | | |
| | | List<StockVo> selectStockVoByItemCode(Map<String, Object> condition, Page<StockVo> page); |
| | | |
| | | List<StockVo> selectSaleDetailDataGrid(Map<String, Object> condition, Page<StockVo> page); |
| | | |
| | | List<StockInfo> selectCurrentFireStatus(@Param("codes") List<String> codes,@Param("params") Map params,@Param("slice")String slice); |
| | | |
| | | List<StockVo> selectEnterpriseStocks(Map<String, Object> condition, List<Integer> list); |
| | | |
| | | StockVo selectEnterpriseStock(@Param("id") Long id, @Param("list")List<Integer> list); |
| | | |
| | | Map selectEnterpriseSaleDataCount(Map<String, Object> condition, List<Integer> list); |
| | | |
| | | List<StockInfo> selectEnterpriseAllStock(@Param("owner") Long id, @Param("list") List<Integer> list); |
| | | |
| | | int clearStock(@Param("owner") Long id, @Param("remark") String remark, @Param("date") Date date, @Param("slice") String slice); |
| | | |
| | | int clearStockByItem(@Param("owner") Long id, @Param("list") List<String>list ,@Param("remark") String remark, @Param("date") Date date, @Param("slice") String slice); |
| | | |
| | | List<StockInfo> selectStockByDirectionsAndSlices(@Param("list") List<DirectionProductBO> directionProductBOS); |
| | | } |