|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.mapper.BaseMapper; | 
|---|
|  |  |  | import com.zy.asrs.entity.WrkMast; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Insert; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Select; | 
|---|
|  |  |  | import org.springframework.stereotype.Repository; | 
|---|
|  |  |  | 
|---|
|  |  |  | @Select("select count(1) from asr_wrk_mast where 1=1 and io_type = #{ioType} and sta_no = #{staNo}") | 
|---|
|  |  |  | int selectWrkMastBareBoardStaNo(Integer ioType,Integer staNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // work log ------------------------------------------------------- | 
|---|
|  |  |  | @Insert("insert into asr_wrk_mast_log select * from asr_wrk_mast where wrk_no=#{workNo}") | 
|---|
|  |  |  | int saveWrkMastLog(Integer workNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|