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 getList1(Map map); @Select("select top 1 * from fd_systemconfig where name=#{name}") public Fd_Systemconfig getbyName(String name); public List getList(Map map); public int getPages(Map map); }