SysUserDAO.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /*
  2. * Copyright 2010 The YAPULAN Software Foundation
  3. *
  4. * Licensed under the YAPULAN License, Version 2.0 (the "License");
  5. */
  6. package com.miniframe.system.model.dao;
  7. import com.miniframe.system.MiniserviceBaseDao;
  8. import com.miniframe.system.model.SysUser;
  9. import com.miniframe.system.model.SysUserSQLBuilder;
  10. import java.sql.SQLException;
  11. import java.util.List;
  12. public interface SysUserDAO extends MiniserviceBaseDao {
  13. /**
  14. * 获取记录行数
  15. * @generated
  16. */
  17. public int countByExample(SysUserSQLBuilder example) throws SQLException;
  18. /**
  19. * 条件删除
  20. * @generated
  21. */
  22. public int deleteByExample(SysUserSQLBuilder example) throws SQLException;
  23. /**
  24. * 根据主键删除
  25. * @generated
  26. */
  27. public int deleteByPrimaryKey(String userid) throws SQLException;
  28. /**
  29. * 插入,所有字段
  30. * @generated
  31. */
  32. public void insert(SysUser record) throws SQLException;
  33. /**
  34. * 动态插入,忽略空字段
  35. * @generated
  36. */
  37. public void insertSelective(SysUser record) throws SQLException;
  38. /**
  39. * 条件查询
  40. * @generated
  41. */
  42. public List<SysUser> selectByExample(SysUserSQLBuilder example) throws SQLException;
  43. /**
  44. * 根据主键查询
  45. * @generated
  46. */
  47. public SysUser selectByPrimaryKey(String userid) throws SQLException;
  48. /**
  49. * 动态修改,不包含空字段
  50. * @generated
  51. */
  52. public int updateByExampleSelective(SysUser record, SysUserSQLBuilder example) throws SQLException;
  53. /**
  54. * 条件修改
  55. * @generated
  56. */
  57. public int updateByExample(SysUser record, SysUserSQLBuilder example) throws SQLException;
  58. /**
  59. * 动态根据主键修改,为空字段不修改
  60. * @generated
  61. */
  62. public int updateByPrimaryKeySelective(SysUser record) throws SQLException;
  63. /**
  64. * 根据主键修改
  65. * @generated
  66. */
  67. public int updateByPrimaryKey(SysUser record) throws SQLException;
  68. }