hjg
2023-11-17 3780c5e65b05bf23020810798babc6d20311fa79
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.mandi.fendan.mapper;
 
import com.mandi.fendan.persist.FdVehicleRemark;
import org.apache.ibatis.annotations.*;
 
public interface FdVehicleRemarkMapper {
    @Update("update FdVehicleRemark set remark=#{remark},vehicle=#{vehicle}  where businessNo =#{businessNO} ")
    int update(FdVehicleRemark FdVehicleRemark);
    @Insert("insert into FdVehicleRemark(businessNO,vehicle,remark) values(#{businessNO},#{vehicle},#{remark})")
    FdVehicleRemark insert(FdVehicleRemark FdVehicleRemark);
    @Select("select top 1 *from FdVehicleRemark where businessNo=#{businessNO} ")
    FdVehicleRemark selectByBusinessNo(String businessNO);
 
    @Delete("delete from FdVehicleRemark where businessNo=#{businessNo}")
    int deleteByBusinessNo(@Param("businessNo") String businessNo);
}