#
luxiaotao1123
2024-04-08 f90f717f0d2e258b6310458c9ca0026cc258d24a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.zy.asrs.common.wms.mapper;
 
import com.zy.asrs.common.wms.entity.WrkDetlLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
 
@Mapper
@Repository
public interface WrkDetlLogMapper extends BaseMapper<WrkDetlLog> {
 
    @Insert("insert into wms_wrk_detl_log select * from wms_wrk_detl where wrk_no=#{workNo} and host_id = #{hostId}")
    int saveToHistory(Integer workNo, Long hostId);
 
}