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