site
articleTool
public Article get(long id)
public Article getByOrderNum(long orderNum)
1. 方法不带参数
public List < Article > findList()
2. 方法带一个参数
public List < Article > findList(int rows)
3. 方法带两个参数
public List < Article > findList(int page, int rows)
1. 方法带一个参数
public List < Article > findListByCategoryId(long categoryId)
2. 方法带两个参数
public List < Article > findListByCategoryId(long categoryId, int rows)
3. 方法带三个参数
public List < Article > findListByCategoryId(long categoryId, int page, int rows)
1. 方法带一个参数
public List < Article > findListByCategoryOrderNum(long orderNum)
2. 方法带两个参数
public List < Article > findListByCategoryOrderNum(long orderNum, int rows)
3. 方法带三个参数
public List < Article > findListByCategoryOrderNum(long orderNum, int page, int rows)
articleCategoryTool
public ArticleCategory get(long id )
public ArticleCategorygetByOrderNum(long orderNum)
方法三:查找列表
1. 方法不带参数
public List < ArticleCategory> find()
2. 方法带一个参数
public List < ArticleCategory> find(int rows)
3. 方法带两个参数
public List < ArticleCategory > find(int page, int rows)
productTool
public Product get(long id)
public ProductgetByOrderNum(long orderNum)
1. 方法不带参数
public List < Product> findList()
2. 方法带一个参数
public List < Product> findList(int rows)
3. 方法带两个参数
public List < Product> findList(int page, int rows)
1. 方法带一个参数
public List< Product> findListByCategoryId(long categoryId)
2. 方法带两个参数
public List< Product> findListByCategoryId(long categoryId, int rows)
3. 方法带三个参数
public List< Product> findListByCategoryId(long categoryId, int page, int rows)
1. 方法带一个参数
public List< Product> findListByCategoryOrderNum(long orderNum)
2. 方法带两个参数
public List< Product> findListByCategoryOrderNum(long orderNum, int rows)
3. 方法带三个参数
public List< Product> findListByCategoryOrderNum(long orderNum, int page, int rows)
productCategoryTool
public ProductCategory get(long id )
public ProductCategory getByOrderNum(long orderNum )
方法三:分页查询
1. 方法不带参数
public List < ProductCategory> find()
2. 方法带一个参数
public List < ProductCategory> find(int rows )
3. 方法带两个参数
public List < ProductCategory> find(int page, int rows )
singlePageTool
public SinglePage get(long id)
public SinglePage getByOrderNum(long orderNum)
1. 方法不带参数
public List< SinglePage> findList()
2. 方法带一个参数
public List< SinglePage> findList(int rows)
3. 方法带两个参数
public List< SinglePage> findList(int page, int rows)
1. 方法带一个参数
public List< SinglePage> findListByCategoryId(long categoryId)
2. 方法带两个参数
public List< SinglePage> findListByCategoryId(long categoryId, int rows)
3. 方法带三个参数
public List< SinglePage> findListByCategoryId(long categoryId, int page, int rows)
1. 方法带一个参数
public List< SinglePage> findListByCategoryOrderNum(long orderNum)
2. 方法带两个参数
public List< SinglePage> findListByCategoryOrderNum(long orderNum, int rows)
3. 方法带三个参数
public List< SinglePage> findListByCategoryOrderNum(long orderNum, int page, int rows)
singlePageCategoryTool
public SinglePageCategory get(long id)
public SinglePageCategorygetByOrderNum(long orderNum)
1. 方法不带参数
public List< SinglePageCategory> find()
2. 方法带一个参数
public List< SinglePageCategory> find(int rows)
3. 方法带两个参数
public List< SinglePageCategory> find(int page, int rows)
optionsTool
public Options get(long id)
public Options getByKey(String getByKey)
1. 方法不带参数
public List<Options> findBySiteId()
2. 方法带一个参数
public List<Options> findBySiteId(int rows)
3. 方法带两个参数
public List<Options> findBySiteId(int page, int rows)
slideTool
public Slide get(long id)
public Slide getByOrderNum(String getByKey)
盖饭微信公众号
友情链接:
版权所有:湖南群站信息技术有限公司备案号:湘ICP备18013581号-1