提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.fendan.mapper; |
A |
2 |
|
|
3 |
import java.util.List; |
|
4 |
|
|
5 |
import org.apache.ibatis.annotations.Delete; |
|
6 |
import org.apache.ibatis.annotations.Insert; |
|
7 |
import org.apache.ibatis.annotations.Select; |
|
8 |
import org.apache.ibatis.annotations.Update; |
|
9 |
|
|
10 |
import com.mandi.fendan.persist.Fd_Gbxstdmx; |
|
11 |
|
|
12 |
|
|
13 |
public interface Fd_GbxstdmxMapper { |
|
14 |
|
|
15 |
@Insert("insert into fd_gbxstdmx (id,tdNo,pch,tdfl) values (#{id},#{tdNo},#{pch},#{tdfl}) ") |
|
16 |
public int insert(Fd_Gbxstdmx xstdmx); |
|
17 |
@Update("update fd_gbxstdmx set tdNo=#{tdNo},pch=#{pch},tdfl=#{tdfl} where id=#{id}") |
|
18 |
public int update(Fd_Gbxstdmx xstdmx); |
|
19 |
@Delete("delete from fd_gbxstdmx where tdNo=#{tdNo}") |
|
20 |
public int del(String tdNo); |
|
21 |
@Delete("delete from fd_gbxstdmx where id=#{id}") |
|
22 |
public int delbyId(String id); |
|
23 |
@Select("select * from fd_gbxstdmx where id=#{id}") |
|
24 |
public Fd_Gbxstdmx get(String id); |
|
25 |
|
|
26 |
@Select("select * from fd_gbxstdmx where tdNo=#{tdNo}") |
|
27 |
public List<Fd_Gbxstdmx> getList(String tdNo); |
|
28 |
|
|
29 |
} |