提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.fendan.mapper; |
A |
2 |
|
|
3 |
import java.util.List; |
|
4 |
import java.util.Map; |
|
5 |
|
|
6 |
import org.apache.ibatis.annotations.Delete; |
|
7 |
import org.apache.ibatis.annotations.Insert; |
|
8 |
import org.apache.ibatis.annotations.Select; |
|
9 |
import org.apache.ibatis.annotations.Update; |
|
10 |
|
|
11 |
import com.mandi.fendan.persist.Fd_Systemconfig; |
|
12 |
|
|
13 |
|
|
14 |
public interface Fd_SystemconfigMapper { |
|
15 |
@Select("select a.* from fd_systemconfig a where a.id=#{id}") |
|
16 |
public Fd_Systemconfig get(String id); |
|
17 |
@Delete("delete from fd_systemconfig where id=#{id}") |
|
18 |
public int del(String id); |
|
19 |
@Update("update fd_systemconfig set id=#{id},name=#{name},numorstr=#{numorstr},proptype=#{proptype},value=#{value} where id=#{id}") |
|
20 |
public int update(Fd_Systemconfig fd_company); |
|
21 |
@Insert("insert into fd_systemconfig(id,name,numorstr,proptype,value) values (#{id},#{name},#{numorstr},#{proptype},#{value})") |
|
22 |
public int insert(Fd_Systemconfig fd_company); |
|
23 |
public List<Fd_Systemconfig> getList1(Map<String, Object> map); |
|
24 |
@Select("select top 1 * from fd_systemconfig where name=#{name}") |
|
25 |
public Fd_Systemconfig getbyName(String name); |
|
26 |
|
|
27 |
public List<Fd_Systemconfig> getList(Map<String, Object> map); |
|
28 |
public int getPages(Map<String, Object> map); |
|
29 |
} |