| | |
| | | @Repository |
| | | public interface AgvLocDetlMapper extends BaseMapper<AgvLocDetl> { |
| | | |
| | | @Update("update agv_loc_detl set loc_no = '${targetLoc}' ,appe_user = '${userId}' where loc_no = '${sourceLoc}' ") |
| | | void updateStock2(@Param("sourceLoc")String sourceLoc, @Param("targetLoc")String targetLoc, @Param("userId")Long userId); |
| | | |
| | | @Update("update agv_loc_detl set loc_no = '${targetLoc}' where loc_no = '${sourceLoc}' ") |
| | | void updateStock(@Param("sourceLoc")String sourceLoc, @Param("targetLoc")String targetLoc); |
| | | |
| | |
| | | @Select("select * from agv_loc_detl where 1=1 and loc_no = #{locNo} and matnr = #{matnr} and three_code = #{csocode}") |
| | | AgvLocDetl selectItemByOrderNo(@Param("locNo")String locNo, @Param("matnr")String matnr, @Param("batch")String batch, @Param("csocode")String csocode, @Param("isocode")String isocode); |
| | | |
| | | @Select("select * from agv_loc_detl where 1=1 and loc_no = #{locNo} and matnr = #{matnr} and three_code = #{csocode}") |
| | | List<AgvLocDetl> selectItemByOrderNo2(@Param("locNo")String locNo, @Param("matnr")String matnr, @Param("batch")String batch, @Param("csocode")String csocode, @Param("isocode")String isocode); |
| | | |
| | | |
| | | @Select("select sum(a.anfme) as sum from agv_loc_detl a left join agv_loc_mast b on a.loc_no = b.loc_no where b.loc_sts = 'F' and a.matnr = #{matnr} AND a.three_code = #{threeCode} AND a.process_sts = 1") |
| | | Double selectSumAnfmeByMatnrProcess(@Param("matnr") String matnr,@Param("threeCode") String threeCode); |
| | | |