Administrator
2023-03-10 1c4e40639d73faae3ba87156e0e4478c50b8ee33
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);
}