1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- package com.kmall.admin.service;
- import com.kmall.admin.dto.OrderGoodsDto;
- import com.kmall.admin.entity.OrderGoodsEntity;
- import com.kmall.api.entity.OrderGoodsRestoreVo;
- import com.kmall.api.entity.OrderGoodsVo;
- import java.util.List;
- import java.util.Map;
- /**
- *
- *
- * @author Scott
- * @email
- * @date 2017-08-13 10:41:09
- */
- public interface OrderGoodsService {
- OrderGoodsEntity queryObject(Integer id);
- List<OrderGoodsEntity> queryList(Map<String, Object> map);
- int queryTotal(Map<String, Object> map);
- void save(OrderGoodsEntity orderGoods);
- void update(OrderGoodsEntity orderGoods);
- void delete(Integer id);
- void deleteBatch(Integer[] ids);
- List<OrderGoodsEntity> queryListByOrderId(Integer orderId);
- /**
- * 查询税单
- * @param format
- * @return
- */
- List<OrderGoodsDto> queryYesterdayTax(String format);
- /**
- * 查询订单的详情
- * @param orderIdList 订单id
- * @return 订单详情
- */
- List<OrderGoodsRestoreVo> queryListByOrderIds(List<Integer> orderIdList);
- /**
- * 批量新增订单详情
- * @param orderGoodsVos 订单详情
- */
- void saveBatchOrderDetail(List<OrderGoodsVo> orderGoodsVos);
- }
|