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