提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.fendan.mapper; |
A |
2 |
|
|
3 |
import org.apache.ibatis.annotations.Delete; |
|
4 |
import org.apache.ibatis.annotations.Insert; |
|
5 |
import org.apache.ibatis.annotations.Select; |
|
6 |
|
|
7 |
import com.mandi.fendan.persist.BsheetEcgb; |
|
8 |
|
|
9 |
public interface BsheetEcgbMapper { |
|
10 |
|
|
11 |
@Select("select * from bsheet_ecgb where bsNo=#{bsNo} ") |
|
12 |
public BsheetEcgb getbyNo(String bsNo); |
|
13 |
|
|
14 |
@Insert("insert into bsheet_ecgb (bsNo,ctime,cname,sate) values (#{bsNo},#{ctime},#{cname},#{sate})") |
|
15 |
public int insert(BsheetEcgb be); |
|
16 |
|
|
17 |
@Delete("delete from bsheet_ecgb where bsNo=#{bsNo} ") |
|
18 |
public int delbyNo(String bsNo); |
|
19 |
|
|
20 |
} |