#
Junjie
2024-01-10 3e284aaefaea68f8a51a97b7e1d94d7b784de26c
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.WrkMastLog;
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 WrkMastLogMapper extends BaseMapper<WrkMastLog> {
 
    @Insert("insert into wms_wrk_mast_log select * from wms_wrk_mast where id=#{id}")
    int saveToHistory(Long id);
 
}