|  |  |  | 
|---|
|  |  |  | package com.zy.asrs.mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.mapper.BaseMapper; | 
|---|
|  |  |  | import com.zy.asrs.entity.LocDetl; | 
|---|
|  |  |  | import com.zy.asrs.entity.ManLocDetl; | 
|---|
|  |  |  | import com.zy.asrs.entity.result.StockVo; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ManLocDetl> getStockStatisExcel(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Select("select sum(a.anfme) as sum from asr_loc_detl a left join asr_loc_mast b on a.loc_no = b.loc_no where b.loc_sts = 'F' and a.matnr = #{matnr}") | 
|---|
|  |  |  | @Select("select sum(a.anfme) as sum from man_loc_detl where matnr = #{matnr}") | 
|---|
|  |  |  | Double selectSumAnfmeByMatnr(@Param("matnr") String matnr); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ManLocDetl> selectPakoutByRule(String matnr); | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // ------------------------------------------------- | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ManLocDetl> queryStock(@Param("matnr")String matnr, @Param("batch")String batch, @Param("orderNo")String orderNo, @Param("locNos") Set<String> locNos); | 
|---|
|  |  |  | List<LocDetl> queryStock(@Param("matnr")String matnr, @Param("batch")String batch, @Param("orderNo")String orderNo, @Param("locNos") Set<String> locNos, @Param("supp")String supp, @Param("temp1")String temp1, @Param("temp2")String temp2); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Double queryStockAnfme(String matnr, String batch); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<StockVo> queryStockTotal(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Integer sum(); | 
|---|
|  |  |  | Double sum(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ManLocDetl> unreason(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Double selectLocDetlSumQty(String locNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateLocNo0(Long nodeId, String locNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ManLocDetl selectLocNo0(String locNo, String matnr); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ManLocDetl> selectItem0(String locNo, String matnr); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int deleteLocNo0(String locNo, String matnr); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateAnfme0(double anfme, Long nodeId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ManLocDetl> listByOutPage(Map<String, Object> condition); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | long listByOutPageCount(Map<String, Object> condition); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ManLocDetl> selectAllPage(Map<String, Object> condition); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | long selectAllPageSize(Map<String, Object> condition); | 
|---|
|  |  |  | } | 
|---|