| | |
| | | import org.springframework.transaction.annotation.Transactional;
|
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.taobao.TaoBaoOrderMapper;
|
| | | import com.yeshi.fanli.entity.admin.ReslutOrder;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoOrder;
|
| | | import com.yeshi.fanli.service.inter.taobao.TaoBaoOrderService;
|
| | | import com.yeshi.fanli.util.Constant;
|
| | |
| | | taoBaoOrderMapper.insertSelective(taoBaoOrder);
|
| | | }
|
| | | } else {
|
| | | //测试
|
| | | if(1>0)
|
| | | return;
|
| | | |
| | | boolean hasPayOrder = false;
|
| | | for (TaoBaoOrder order : oldOrderList)
|
| | | if (order.getOrderState().equalsIgnoreCase("订单付款")) {
|
| | |
| | | return taoBaoOrderMapper.selectTaoBaoOrderByOrderId(orderId);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<ReslutOrder> queryJoinHongBao(int start, int count, String key, String startTime, String endTime,
|
| | | Integer type, Integer days) throws Exception {
|
| | | return taoBaoOrderMapper.queryJoinHongBao(start, count, key, startTime, endTime, type, days);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public int countQueryJoinHongBao(String key, String startTime, String endTime, Integer type, Integer days)
|
| | | throws Exception {
|
| | | return taoBaoOrderMapper.countQueryJoinHongBao(key, startTime, endTime, type, days);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public double countEstimate(String date) throws Exception {
|
| | | return taoBaoOrderMapper.countEstimate(date);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<TaoBaoOrder> getStateByOrderIdAndPayment(String orderId, String payment) throws Exception {
|
| | | return taoBaoOrderMapper.getStateByOrderIdAndPayment(orderId, payment);
|
| | | }
|
| | |
|
| | | }
|