#
Junjie
2024-12-24 0df6e7bb33c9f6a18f026a500776b00cbf2ae62c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.zy.asrs.mapper;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zy.asrs.entity.WrkMastLog;
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 asr_wrk_mast_log select * from asr_wrk_mast where wrk_no=#{workNo}")
    int save(Integer workNo);
 
    WrkMastLog selectLatestByWorkNo(Integer workNo);
 
}