@Service(value="attributeCategoryService") public class AttributeCategoryServiceImpl extends Object implements AttributeCategoryService
Constructor and Description |
---|
AttributeCategoryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
List<AttributeCategoryEntity> |
queryList(Map<String,Object> map)
分页查询
|
AttributeCategoryEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(AttributeCategoryEntity attributeCategory)
保存实体
|
int |
update(AttributeCategoryEntity attributeCategory)
根据主键更新实体
|
public AttributeCategoryEntity queryObject(Integer id)
AttributeCategoryService
queryObject
in interface AttributeCategoryService
id
- 主键public List<AttributeCategoryEntity> queryList(Map<String,Object> map)
AttributeCategoryService
queryList
in interface AttributeCategoryService
map
- 参数public int queryTotal(Map<String,Object> map)
AttributeCategoryService
queryTotal
in interface AttributeCategoryService
map
- 参数public int save(AttributeCategoryEntity attributeCategory)
AttributeCategoryService
save
in interface AttributeCategoryService
attributeCategory
- 实体public int update(AttributeCategoryEntity attributeCategory)
AttributeCategoryService
update
in interface AttributeCategoryService
attributeCategory
- 实体public int delete(Integer id)
AttributeCategoryService
delete
in interface AttributeCategoryService
public int deleteBatch(Integer[] ids)
AttributeCategoryService
deleteBatch
in interface AttributeCategoryService
Copyright © 2021. All rights reserved.