| package com.zy.asrs.mapper; | 
|   | 
| import com.baomidou.mybatisplus.mapper.BaseMapper; | 
| import com.zy.asrs.entity.InventoryFlowDto; | 
| import com.zy.asrs.entity.WrkMastLog; | 
| import org.apache.ibatis.annotations.Insert; | 
| import org.apache.ibatis.annotations.Mapper; | 
| import org.apache.ibatis.annotations.Param; | 
| import org.springframework.stereotype.Repository; | 
|   | 
| import java.util.List; | 
| import java.util.Map; | 
|   | 
| @Mapper | 
| @Repository | 
| public interface WrkMastLogMapper extends BaseMapper<WrkMastLog> { | 
|   | 
|     @Insert("insert into asr_wrk_mast_log select * from asr_wrk_mast where wrk_no=#{workNo}") | 
|     int save(Integer workNo); | 
|   | 
|     /** | 
|      * 查询库存移动流水记录 | 
|      */ | 
|     List<InventoryFlowDto> inventoryFlowList(@Param("curr") Integer curr,@Param("limit") Integer limit, @Param("param") Map<String, Object> param); | 
|   | 
|     /** | 
|      * 统计库存移动流水记录数 | 
|      */ | 
|     int inventoryFlowListCount(@Param("param") Map<String, Object> param); | 
| } |