package cn.lj.yy.mapper; import cn.lj.yy.model.Person; import com.github.pagehelper.Page; import org.apache.ibatis.annotations.Mapper; import java.util.Map; @Mapper public interface PersonMapper { /** * 根据id查询人员 * @param id 人员编号 * @return */ Person getPersonById(int id); /** * 分页查询人员 *@param params 查询条件 * @return */ Page<Person> getAllPersonByPage(Map params); /** * 添加人员信息 * @param person 人员实例 * @return 成功操作的记录数目 */ int addPerson(Person person); /** * 修改人员信息 * @param person 人员实例 * @return 成功操作的记录数目 */ int updatePerson(Person person); /** * 删除人员信息 * @param id 人员编号 * @return 成功操作的记录数目 */ int deletePerson(int id); }
最近下载更多
lingtiejing LV15
4月12日
sun丶孙 LV8
4月7日
cxt hahaha LV1
3月29日
微信网友_6815604991741952 LV1
1月10日
夜起星河 LV8
2023年12月27日
panwill LV5
2023年12月18日
skook7 LV2
2023年12月13日
oulingqiao LV13
2023年12月10日
fff2003 LV6
2023年11月13日
黄小熙 LV7
2023年11月8日
最近浏览更多
whb5566 LV10
2小时前
孙龙52 LV6
昨天
HANCW LV8
4月16日
lingtiejing LV15
4月12日
zolscy LV12
4月9日
sun丶孙 LV8
4月7日
cxt hahaha LV1
3月29日
流水本无情 LV9
3月24日
小海脑洞大开 LV11
3月20日
2497180190
2月20日
暂无贡献等级