| | |
| | | import com.yeshi.fanli.service.inter.order.CommonOrderService; |
| | | import com.yeshi.fanli.service.inter.order.HongBaoOrderService; |
| | | import com.yeshi.fanli.service.inter.order.OrderProcessService; |
| | | import com.yeshi.fanli.service.inter.order.OrderService; |
| | | import com.yeshi.fanli.service.inter.order.UserOrderWeiQuanRecordService; |
| | | import com.yeshi.fanli.service.inter.order.tb.TaoBaoOrderService; |
| | | import com.yeshi.fanli.service.inter.order.tb.TaoBaoWeiQuanOrderService; |
| | | import com.yeshi.fanli.service.inter.user.UserSystemCouponRecordService; |
| | | import com.yeshi.fanli.tag.PageEntity; |
| | | import com.yeshi.common.entity.PageEntity; |
| | | import com.yeshi.fanli.util.Constant; |
| | | import com.yeshi.fanli.util.StringUtil; |
| | | import com.yeshi.fanli.util.taobao.TaoBaoOrderUtil; |
| | |
| | | * @param out |
| | | */ |
| | | @RequestMapping(value = "countTaoBaoOrder") |
| | | public void countTaoBaoOrder(String callback, HttpServletRequest request, PrintWriter out) { |
| | | public void countTaoBaoOrder(AdminAcceptData acceptData,String callback, HttpServletRequest request, PrintWriter out) { |
| | | |
| | | try { |
| | | Map<String, Object> countByOdrerType = taoBaoOrderCountService.countByOdrerType(); |
| | |
| | | |
| | | // 查询列表 |
| | | List<CommonOrderVO> list = commonOrderService.listQuery((pageIndex - 1) * pageSize, pageSize, keyType, key, |
| | | state, type, orderState, startTime, endTime, sourceType, listShopId, listGoodsId, minTime, money, payment); |
| | | state, type, orderState, startTime, endTime, sourceType, listShopId, listGoodsId, minTime, money, payment,acceptData.getSystem()); |
| | | |
| | | // 统计总数 |
| | | long count = commonOrderService.countQuery(keyType, key, state, type, orderState, startTime, endTime, |
| | | sourceType, listShopId, listGoodsId, minTime, money, payment); |
| | | sourceType, listShopId, listGoodsId, minTime, money, payment,acceptData.getSystem()); |
| | | |
| | | for (CommonOrderVO order : list) { |
| | | |
| | |
| | | * @param out |
| | | */ |
| | | @RequestMapping(value = "getHistoryOrder") |
| | | public void getHistoryOrder(String callback, Integer pageIndex, Integer pageSize, Long uid, Integer state, |
| | | public void getHistoryOrder(AdminAcceptData acceptData,String callback, Integer pageIndex, Integer pageSize, Long uid, Integer state, |
| | | Integer type, Integer orderState, String orderNo, String startTime, String endTime, PrintWriter out) { |
| | | |
| | | if (uid == null) { |
| | |
| | | * @param out |
| | | */ |
| | | @RequestMapping(value = "getHistoryUnreceived") |
| | | public void getHistoryUnreceived(String callback, Integer type, PrintWriter out) { |
| | | public void getHistoryUnreceived(AdminAcceptData acceptData,String callback, Integer type, PrintWriter out) { |
| | | try { |
| | | |
| | | Long total = commonOrderCountService.countByState(1); |
| | |
| | | |
| | | |
| | | @RequestMapping(value = "uploadTaoBaoWeiQuanOrder") |
| | | public void uploadWeiQuanOrder(String callback, HttpServletRequest request, PrintWriter out) { |
| | | public void uploadWeiQuanOrder(AdminAcceptData acceptData,String callback, HttpServletRequest request, PrintWriter out) { |
| | | try { |
| | | // 1. 先判断httpRequest 是否含有文件类型 |
| | | if (request instanceof MultipartHttpServletRequest) { |
| | |
| | | |
| | | |
| | | @RequestMapping(value = "countOrderInfo") |
| | | public void countOrderInfo(String callback, Long uid, PrintWriter out) { |
| | | public void countOrderInfo(AdminAcceptData acceptData,String callback, Long uid, PrintWriter out) { |
| | | JSONObject data = new JSONObject(); |
| | | |
| | | /* --------- 本月累计 ------------*/ |