提交 7eea58ea 作者: zhenjie

订单类型修改

上级 fb125a7d
...@@ -220,7 +220,7 @@ public class CodeUtil { ...@@ -220,7 +220,7 @@ public class CodeUtil {
return "RN" + CodeUtil.getRandomNum(8); return "RN" + CodeUtil.getRandomNum(8);
} }
public static String uavOrderCode(Long id) { public static String uavOrderCode() {
StringBuffer sb = new StringBuffer(); StringBuffer sb = new StringBuffer();
sb.append("UD"); sb.append("UD");
sb.append(TDateUtil.getCurrentDateByType("yyyyMMddHHmmss")); sb.append(TDateUtil.getCurrentDateByType("yyyyMMddHHmmss"));
......
...@@ -67,7 +67,7 @@ public class KdnExpressUtil { ...@@ -67,7 +67,7 @@ public class KdnExpressUtil {
return KdnExpressUtil.orderOnlineByJson("", exCode, logisticCode); return KdnExpressUtil.orderOnlineByJson("", exCode, logisticCode);
} }
public static String monitorPush(String port, Long orderId, String shipperCode, String logisticCode, String phone) throws Exception { public static String monitorPush(String port, Integer orderId, String shipperCode, String logisticCode, String phone) throws Exception {
String callbackTag = port + "-" + orderId; String callbackTag = port + "-" + orderId;
String customerName = phone.substring(phone.length() - 4, phone.length()); String customerName = phone.substring(phone.length() - 4, phone.length());
return kdApiSearchMonitorPush(callbackTag, shipperCode, logisticCode, customerName); return kdApiSearchMonitorPush(callbackTag, shipperCode, logisticCode, customerName);
......
...@@ -69,7 +69,7 @@ public class AMOrderController extends BaseController { ...@@ -69,7 +69,7 @@ public class AMOrderController extends BaseController {
@ApiOperation(value = "取消订单", hidden = true) @ApiOperation(value = "取消订单", hidden = true)
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) })
@GetMapping("closeOrder") @GetMapping("closeOrder")
public ResultBody closeOrder(@RequestParam Long orderId, @RequestParam(required = false) String shutReason, public ResultBody closeOrder(@RequestParam Integer orderId, @RequestParam(required = false) String shutReason,
HttpServletRequest request) { HttpServletRequest request) {
return mallOrderService.closeOrder(orderId, shutReason, this.getCurrentAccount(request)); return mallOrderService.closeOrder(orderId, shutReason, this.getCurrentAccount(request));
} }
...@@ -84,7 +84,7 @@ public class AMOrderController extends BaseController { ...@@ -84,7 +84,7 @@ public class AMOrderController extends BaseController {
@ApiOperation(value = "发送服务消息通知", hidden = true) @ApiOperation(value = "发送服务消息通知", hidden = true)
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) })
@GetMapping("sendOrderStatusChangeMsg") @GetMapping("sendOrderStatusChangeMsg")
public void sendOrderStatusChangeMsg(@RequestParam Long orderId) { public void sendOrderStatusChangeMsg(@RequestParam Integer orderId) {
mallOrderService.sendOrderStatusChangeMsg(orderId); mallOrderService.sendOrderStatusChangeMsg(orderId);
} }
} }
...@@ -54,21 +54,21 @@ public class AppMallOrderController extends BaseController { ...@@ -54,21 +54,21 @@ public class AppMallOrderController extends BaseController {
@ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)}) @ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)})
@ApiIgnore @ApiIgnore
@GetMapping("getShareOrderStatus") @GetMapping("getShareOrderStatus")
public ResultBody getShareOrderStatus(@RequestParam @ApiParam(value = "订单id") Long orderId) { public ResultBody getShareOrderStatus(@RequestParam @ApiParam(value = "订单id") Integer orderId) {
return appMallOrderService.getShareOrderStatus(orderId); return appMallOrderService.getShareOrderStatus(orderId);
} }
@ApiOperation(value = "订单信息--接受共享", hidden = true) @ApiOperation(value = "订单信息--接受共享", hidden = true)
@ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)}) @ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)})
@GetMapping("acceptShare") @GetMapping("acceptShare")
public ResultBody acceptShare(@RequestParam @ApiParam(value = "订单id") Long orderId, @RequestParam @ApiParam(value = "分享人id") Integer shareId) { public ResultBody acceptShare(@RequestParam @ApiParam(value = "订单id") Integer orderId, @RequestParam @ApiParam(value = "分享人id") Integer shareId) {
return appMallOrderService.acceptShare(orderId,shareId); return appMallOrderService.acceptShare(orderId,shareId);
} }
@ApiOperation(value = "退回合同", hidden = true) @ApiOperation(value = "退回合同", hidden = true)
@ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)}) @ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)})
@GetMapping("returnContractById") @GetMapping("returnContractById")
public ResultBody returnContractById(@RequestParam @ApiParam(value = "订单id") Long orderId) { public ResultBody returnContractById(@RequestParam @ApiParam(value = "订单id") Integer orderId) {
return appMallOrderService.returnContractById(orderId); return appMallOrderService.returnContractById(orderId);
} }
...@@ -89,7 +89,7 @@ public class AppMallOrderController extends BaseController { ...@@ -89,7 +89,7 @@ public class AppMallOrderController extends BaseController {
@ApiOperation(value = "订单详情V1.0.0", hidden = true) @ApiOperation(value = "订单详情V1.0.0", hidden = true)
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = MallOrderDTO.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = MallOrderDTO.class) })
@GetMapping("getMallOrderDetailById") @GetMapping("getMallOrderDetailById")
public ResultBody<MallOrderDTO> getMallOrderDetailById(@RequestParam Long orderId, HttpServletRequest request) { public ResultBody<MallOrderDTO> getMallOrderDetailById(@RequestParam Integer orderId, HttpServletRequest request) {
return ResultBody.success(appMallOrderService.getMallOrderDetailById(orderId,this.getCurrentAccount(request))); return ResultBody.success(appMallOrderService.getMallOrderDetailById(orderId,this.getCurrentAccount(request)));
} }
} }
...@@ -62,20 +62,20 @@ public class MallOrderController extends BaseController { ...@@ -62,20 +62,20 @@ public class MallOrderController extends BaseController {
@ApiOperation(value = "订单-查看支付凭证", hidden = true) @ApiOperation(value = "订单-查看支付凭证", hidden = true)
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = OrderPayDTO.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = OrderPayDTO.class) })
@GetMapping("getOrderPay") @GetMapping("getOrderPay")
public ResultBody getOrderPay(@RequestParam Long orderId, @ApiParam("凭证类型(留空则全部):0全款 1预付款 2尾款 3验收单") @RequestParam(required = false) Integer payType, HttpServletRequest request) { public ResultBody getOrderPay(@RequestParam Integer orderId, @ApiParam("凭证类型(留空则全部):0全款 1预付款 2尾款 3验收单") @RequestParam(required = false) Integer payType, HttpServletRequest request) {
return ResultBody.success(mallOrderService.listOrderPayInfo(orderId, payType, this.getCurrentAccount(request))); return ResultBody.success(mallOrderService.listOrderPayInfo(orderId, payType, this.getCurrentAccount(request)));
} }
@ApiOperation(value = "修改订单的付款期限", hidden = true) @ApiOperation(value = "修改订单的付款期限", hidden = true)
@GetMapping("updateMallOrder") @GetMapping("updateMallOrder")
@ApiIgnore @ApiIgnore
public ResultBody updateMallOrder(@RequestParam Long orderId, @RequestParam Date singerTime){ public ResultBody updateMallOrder(@RequestParam Integer orderId, @RequestParam Date singerTime){
return mallOrderService.updateMallOrder(orderId,singerTime); return mallOrderService.updateMallOrder(orderId,singerTime);
} }
@ApiOperation(value = "修改订单的合同状态", hidden = true) @ApiOperation(value = "修改订单的合同状态", hidden = true)
@GetMapping("updateStatusMallOrder") @GetMapping("updateStatusMallOrder")
public ResultBody updateStatusMallOrder(@RequestParam Long orderId, @RequestParam Integer signStatus){ public ResultBody updateStatusMallOrder(@RequestParam Integer orderId, @RequestParam Integer signStatus){
return mallOrderService.updateStatusMallOrder(orderId,signStatus); return mallOrderService.updateStatusMallOrder(orderId,signStatus);
} }
...@@ -87,7 +87,7 @@ public class MallOrderController extends BaseController { ...@@ -87,7 +87,7 @@ public class MallOrderController extends BaseController {
@ApiOperation(value = "测试物流订阅", hidden = true) @ApiOperation(value = "测试物流订阅", hidden = true)
@GetMapping("testCallbackExpressInfo") @GetMapping("testCallbackExpressInfo")
public ResultBody testCallbackExpressInfo(@RequestParam String port, @RequestParam Long orderId, @RequestParam String shipperCode, public ResultBody testCallbackExpressInfo(@RequestParam String port, @RequestParam Integer orderId, @RequestParam String shipperCode,
@RequestParam String logisticCode, @RequestParam String phone) throws Exception { @RequestParam String logisticCode, @RequestParam String phone) throws Exception {
return kdnExpService.testCallbackExpressInfo(port, orderId, shipperCode, logisticCode, phone); return kdnExpService.testCallbackExpressInfo(port, orderId, shipperCode, logisticCode, phone);
} }
......
...@@ -74,7 +74,7 @@ public class PMOrderController extends BaseController { ...@@ -74,7 +74,7 @@ public class PMOrderController extends BaseController {
@ApiOperation(value = "确认库存", hidden = true) @ApiOperation(value = "确认库存", hidden = true)
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) })
@GetMapping("confirmInventory") @GetMapping("confirmInventory")
public ResultBody confirmInventory(@RequestParam Long orderId, HttpServletRequest request) { public ResultBody confirmInventory(@RequestParam Integer orderId, HttpServletRequest request) {
return mallOrderService.confirmInventory(orderId, this.getCurrentAccount(request)); return mallOrderService.confirmInventory(orderId, this.getCurrentAccount(request));
} }
......
...@@ -58,7 +58,7 @@ public class PMOrderControllerVerOne extends BaseController { ...@@ -58,7 +58,7 @@ public class PMOrderControllerVerOne extends BaseController {
@ApiOperation(value = "v1.0.0订单管理-详情(改版后)") @ApiOperation(value = "v1.0.0订单管理-详情(改版后)")
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = MallOrderDTO.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = MallOrderDTO.class) })
@GetMapping("getMallOrderDetailById") @GetMapping("getMallOrderDetailById")
public ResultBody<MallOrderDTO> getMallOrderDetailById(@RequestParam Long orderId, HttpServletRequest request) { public ResultBody<MallOrderDTO> getMallOrderDetailById(@RequestParam Integer orderId, HttpServletRequest request) {
return ResultBody.success(mallOrderService.getMallOrderDetailById(orderId,this.getCurrentAccount(request), request.getHeader("token"))); return ResultBody.success(mallOrderService.getMallOrderDetailById(orderId,this.getCurrentAccount(request), request.getHeader("token")));
} }
...@@ -74,7 +74,7 @@ public class PMOrderControllerVerOne extends BaseController { ...@@ -74,7 +74,7 @@ public class PMOrderControllerVerOne extends BaseController {
@ApiOperation(value = "订单管理-修改订单备注(管理员专属)", hidden = true) @ApiOperation(value = "订单管理-修改订单备注(管理员专属)", hidden = true)
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) })
@GetMapping("updateMallOrderRemark") @GetMapping("updateMallOrderRemark")
public ResultBody updateMallOrderRemark(@RequestParam Long orderId, @RequestParam(required = false) String remark, HttpServletRequest request) { public ResultBody updateMallOrderRemark(@RequestParam Integer orderId, @RequestParam(required = false) String remark, HttpServletRequest request) {
return mallOrderService.updateMallOrderRemark(orderId, remark); return mallOrderService.updateMallOrderRemark(orderId, remark);
} }
...@@ -95,7 +95,7 @@ public class PMOrderControllerVerOne extends BaseController { ...@@ -95,7 +95,7 @@ public class PMOrderControllerVerOne extends BaseController {
@ApiOperation(value = "批量生产导出数据", hidden = true) @ApiOperation(value = "批量生产导出数据", hidden = true)
@ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)}) @ApiResponses({@ApiResponse(code = 200, message = "OK", response = ResultBody.class)})
@PostMapping("/exportMultiSheet") @PostMapping("/exportMultiSheet")
public void exportMultiSheet(HttpServletResponse response, @ApiParam("订单id") @RequestBody List<Long> orderIds) throws IOException { public void exportMultiSheet(HttpServletResponse response, @ApiParam("订单id") @RequestBody List<Integer> orderIds) throws IOException {
mallOrderService.exportMultiSheet(response,orderIds); mallOrderService.exportMultiSheet(response,orderIds);
} }
...@@ -109,7 +109,7 @@ public class PMOrderControllerVerOne extends BaseController { ...@@ -109,7 +109,7 @@ public class PMOrderControllerVerOne extends BaseController {
@ApiOperation(value = "订单管理-运营数据导出(改版后)", hidden = true) @ApiOperation(value = "订单管理-运营数据导出(改版后)", hidden = true)
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) })
@PostMapping("operationalDataExport") @PostMapping("operationalDataExport")
public void operationalDataExport(@ApiParam("订单id") @RequestBody List<Long> orderIds, HttpServletResponse response, HttpServletRequest request) throws IOException { public void operationalDataExport(@ApiParam("订单id") @RequestBody List<Integer> orderIds, HttpServletResponse response, HttpServletRequest request) throws IOException {
mallOrderService.operationalDataExport(orderIds,response,this.getCurrentAccount(request)); mallOrderService.operationalDataExport(orderIds,response,this.getCurrentAccount(request));
} }
...@@ -140,7 +140,7 @@ public class PMOrderControllerVerOne extends BaseController { ...@@ -140,7 +140,7 @@ public class PMOrderControllerVerOne extends BaseController {
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) })
@GetMapping("feignOrderUseCoupon") @GetMapping("feignOrderUseCoupon")
@ApiIgnore @ApiIgnore
public ResultBody feignOrderUseCoupon(@RequestParam List<Long> orderId){ public ResultBody feignOrderUseCoupon(@RequestParam List<Integer> orderId){
return mallOrderService.feignOrderUseCoupon(orderId); return mallOrderService.feignOrderUseCoupon(orderId);
} }
...@@ -154,7 +154,7 @@ public class PMOrderControllerVerOne extends BaseController { ...@@ -154,7 +154,7 @@ public class PMOrderControllerVerOne extends BaseController {
@ApiOperation(value = "分配运营", hidden = true) @ApiOperation(value = "分配运营", hidden = true)
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) })
@GetMapping("allocateOperation") @GetMapping("allocateOperation")
public ResultBody allocateOperation(@ApiParam(value = "订单id")@RequestParam(value = "orderId") Long orderId, public ResultBody allocateOperation(@ApiParam(value = "订单id")@RequestParam(value = "orderId") Integer orderId,
@ApiParam(value = "运营id") @RequestParam(value = "operationId") Integer operationId) { @ApiParam(value = "运营id") @RequestParam(value = "operationId") Integer operationId) {
return mallOrderService.allocateOperation(orderId,operationId); return mallOrderService.allocateOperation(orderId,operationId);
} }
...@@ -162,7 +162,7 @@ public class PMOrderControllerVerOne extends BaseController { ...@@ -162,7 +162,7 @@ public class PMOrderControllerVerOne extends BaseController {
@ApiOperation(value = "订单关闭-根据id", hidden = true) @ApiOperation(value = "订单关闭-根据id", hidden = true)
@ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) }) @ApiResponses({ @ApiResponse(code = 200, message = "OK", response = ResultBody.class) })
@GetMapping("deleteById") @GetMapping("deleteById")
public ResultBody closeMallOrder(@RequestParam Long id, HttpServletRequest request) { public ResultBody closeMallOrder(@RequestParam Integer id, HttpServletRequest request) {
return mallOrderService.closeMallOrder(id,this.getCurrentAccount(request)); return mallOrderService.closeMallOrder(id,this.getCurrentAccount(request));
} }
......
...@@ -22,11 +22,11 @@ public interface AppMallOrderDao { ...@@ -22,11 +22,11 @@ public interface AppMallOrderDao {
void batchInsertOrderGoodsIndstProdListDO(List<OrderGoodsIndstProdListDO> orderGoodsIndstProdListDOS); void batchInsertOrderGoodsIndstProdListDO(List<OrderGoodsIndstProdListDO> orderGoodsIndstProdListDOS);
List<MallOrderSimpleDO> listMallOrderSkuSpec(List<Long> orderIds); List<MallOrderSimpleDO> listMallOrderSkuSpec(List<Integer> orderIds);
void updateOrderShareInfo(Long orderId, Integer shareId); void updateOrderShareInfo(Integer orderId, Integer shareId);
void batchInsertOrderCoupon(List<OrderCouponDO> orderCouponDOS); void batchInsertOrderCoupon(List<OrderCouponDO> orderCouponDOS);
List<OrderCouponDO> listOrderCoupon(Long orderId); List<OrderCouponDO> listOrderCoupon(Integer orderId);
} }
...@@ -34,13 +34,13 @@ public interface MallOrderDao { ...@@ -34,13 +34,13 @@ public interface MallOrderDao {
// //
// List<OrderGoodsDO> listOrderGoodsInfo(Long orderId); // List<OrderGoodsDO> listOrderGoodsInfo(Long orderId);
MallOrderDO getMallOrderInfo(Long orderId); MallOrderDO getMallOrderInfo(Integer orderId);
/** /**
* 获取订单付款期限,和状态(未付款) * 获取订单付款期限,和状态(未付款)
* @param orderId * @param orderId
*/ */
List<MallOrderDO> getMallOrderCreditPeriod(List<Long> orderId); List<MallOrderDO> getMallOrderCreditPeriod(List<Integer> orderId);
Integer updateMallOrder(MallOrderDO order); Integer updateMallOrder(MallOrderDO order);
...@@ -48,13 +48,13 @@ public interface MallOrderDao { ...@@ -48,13 +48,13 @@ public interface MallOrderDao {
int updateOrderPay(OrderPayDO pay); int updateOrderPay(OrderPayDO pay);
OrderPayDO getOrderPayInfo(Long orderId, Integer payType); OrderPayDO getOrderPayInfo(Integer orderId, Integer payType);
List<MallOrderStatusDO> listOrderStatus(); List<MallOrderStatusDO> listOrderStatus();
int insertOrderExpress(MallOrderExpressDO express); int insertOrderExpress(MallOrderExpressDO express);
MallOrderExpressDO getOrderExpress(Long orderId); MallOrderExpressDO getOrderExpress(Integer orderId);
int countPagePmOrder(MallOrderQO param); int countPagePmOrder(MallOrderQO param);
...@@ -62,9 +62,9 @@ public interface MallOrderDao { ...@@ -62,9 +62,9 @@ public interface MallOrderDao {
int batchInsertOrderService(List<OrderServiceDO> list); int batchInsertOrderService(List<OrderServiceDO> list);
List<OrderServiceDO> listOrderService(Long orderId); List<OrderServiceDO> listOrderService(Integer orderId);
List<OrderPayDO> listOrderPay(Long orderId, Integer payType); List<OrderPayDO> listOrderPay(Integer orderId, Integer payType);
int countPMOrderConfirm(Integer statusCode); int countPMOrderConfirm(Integer statusCode);
...@@ -82,7 +82,7 @@ public interface MallOrderDao { ...@@ -82,7 +82,7 @@ public interface MallOrderDao {
Integer updateMallOrderAddreId(@Param("mallOrderId") Long mallOrderId, @Param("userAddressId") Integer userAddressId); Integer updateMallOrderAddreId(@Param("mallOrderId") Long mallOrderId, @Param("userAddressId") Integer userAddressId);
void updateMallOrderRemark(Long mallOrderId, String remark); void updateMallOrderRemark(Integer mallOrderId, String remark);
/** /**
* 商城订单列表 * 商城订单列表
...@@ -90,13 +90,13 @@ public interface MallOrderDao { ...@@ -90,13 +90,13 @@ public interface MallOrderDao {
* @param orderIds 订单id * @param orderIds 订单id
* @return {@link List}<{@link MallOrderDO}> * @return {@link List}<{@link MallOrderDO}>
*/ */
List<MallOrderDO> listMallOrder(List<Long> orderIds); List<MallOrderDO> listMallOrder(List<Integer> orderIds);
List<MallOrderDO> getMallOrderByStatus(@Param("code") Integer code); List<MallOrderDO> getMallOrderByStatus(@Param("code") Integer code);
void saveOrderPay(OrderPayDO upPay); void saveOrderPay(OrderPayDO upPay);
Integer countOrderForCouponUse(@Param("orderIds") List<Long> orderIds, Integer orderStatus); Integer countOrderForCouponUse(@Param("orderIds") List<Integer> orderIds, Integer orderStatus);
MallOrderDO getOrderInfoByOrderNo(String orderNo); MallOrderDO getOrderInfoByOrderNo(String orderNo);
...@@ -106,7 +106,7 @@ public interface MallOrderDao { ...@@ -106,7 +106,7 @@ public interface MallOrderDao {
int countListFinishMallOrder(OrderBonusQO orderBonusQO); int countListFinishMallOrder(OrderBonusQO orderBonusQO);
int countPageOrderInfo(List<Long> orderIds); int countPageOrderInfo(List<Integer> orderIds);
List<MallOrderDO> listOperationalExportOrder(List<Long> orderIds); List<MallOrderDO> listOperationalExportOrder(List<Integer> orderIds);
} }
...@@ -21,5 +21,5 @@ public interface OrderExpressDao { ...@@ -21,5 +21,5 @@ public interface OrderExpressDao {
void updateOrderExpress(MallOrderExpressDO orderExpressDO); void updateOrderExpress(MallOrderExpressDO orderExpressDO);
List<Long> listReceivedOrderIds(); List<Integer> listReceivedOrderIds();
} }
...@@ -20,9 +20,9 @@ import java.util.List; ...@@ -20,9 +20,9 @@ import java.util.List;
@Mapper @Mapper
public interface OrderGoodsIndstDao { public interface OrderGoodsIndstDao {
List<OrderGoodsIndstProdListBO> getProductInfoByMallId(@Param("orderId") Long orderId); List<OrderGoodsIndstProdListBO> getProductInfoByMallId(@Param("orderId") Integer orderId);
List<MallOrderSimpleDO> listOrderGoodsIndstBaseInfo(List<Long> mallOrderIds); List<MallOrderSimpleDO> listOrderGoodsIndstBaseInfo(List<Integer> mallOrderIds);
List<OrderGoodsIndstProdListDO> listIMallOrderProdList(Long orderId); List<OrderGoodsIndstProdListDO> listIMallOrderProdList(Integer orderId);
} }
...@@ -20,9 +20,9 @@ import java.util.List; ...@@ -20,9 +20,9 @@ import java.util.List;
@Mapper @Mapper
public interface OrderGoodsProdDao { public interface OrderGoodsProdDao {
List<OrderGoodsProdDetailBO> getProductInfoByMallId(@Param("orderId") Long orderId); List<OrderGoodsProdDetailBO> getProductInfoByMallId(@Param("orderId") Integer orderId);
List<MallOrderSimpleDO> listOrderGoodsProdBaseInfo(List<Long> mallOrderIds); List<MallOrderSimpleDO> listOrderGoodsProdBaseInfo(List<Integer> mallOrderIds);
List<OrderGoodsProdDetailDO> listPMallOrderProdList(Long orderId); List<OrderGoodsProdDetailDO> listPMallOrderProdList(Integer orderId);
} }
...@@ -26,7 +26,7 @@ public class MallOrderDO implements Serializable { ...@@ -26,7 +26,7 @@ public class MallOrderDO implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiModelProperty("id") @ApiModelProperty("id")
private Long id; private Integer id;
@ApiModelProperty("pid") @ApiModelProperty("pid")
private Integer pid; private Integer pid;
......
...@@ -21,7 +21,7 @@ public class MallOrderExpressDO implements Serializable { ...@@ -21,7 +21,7 @@ public class MallOrderExpressDO implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private Integer id; private Integer id;
private Long orderId; private Integer orderId;
private String sendExpNo; private String sendExpNo;
private String sendExpCode; private String sendExpCode;
private String takeName; private String takeName;
......
...@@ -20,7 +20,7 @@ import java.util.List; ...@@ -20,7 +20,7 @@ import java.util.List;
@ApiModel("商城订单simple信息") @ApiModel("商城订单simple信息")
public class MallOrderSimpleDO implements Serializable { public class MallOrderSimpleDO implements Serializable {
private static final long serialVersionUID = 7783643628653457384L; private static final long serialVersionUID = 7783643628653457384L;
private Long id; private Integer id;
private Integer userAccountId; private Integer userAccountId;
private BigDecimal orderAmount; private BigDecimal orderAmount;
private List<OrderGoodsCommonDO> orderGoodsCommonDOS; private List<OrderGoodsCommonDO> orderGoodsCommonDOS;
......
...@@ -23,7 +23,7 @@ import java.util.List; ...@@ -23,7 +23,7 @@ import java.util.List;
public class OrderGoodsIndstDO implements Serializable { public class OrderGoodsIndstDO implements Serializable {
private static final long serialVersionUID = -3279631619974911234L; private static final long serialVersionUID = -3279631619974911234L;
private Integer id; private Integer id;
private Long orderId; private Integer orderId;
private Integer mallIndstShopCarId; private Integer mallIndstShopCarId;
private Integer goodsInfoId; private Integer goodsInfoId;
private Integer directoryId; private Integer directoryId;
......
...@@ -23,7 +23,7 @@ import java.util.stream.Collectors; ...@@ -23,7 +23,7 @@ import java.util.stream.Collectors;
public class OrderGoodsProdDO implements Serializable { public class OrderGoodsProdDO implements Serializable {
private static final long serialVersionUID = 698431955075119489L; private static final long serialVersionUID = 698431955075119489L;
private Integer id; private Integer id;
private Long orderId; private Integer orderId;
private Integer mallProdShopCarId; private Integer mallProdShopCarId;
private Integer goodsInfoId; private Integer goodsInfoId;
private Integer directoryId; private Integer directoryId;
......
...@@ -21,7 +21,7 @@ import java.util.Date; ...@@ -21,7 +21,7 @@ import java.util.Date;
public class OrderPayDO implements Serializable { public class OrderPayDO implements Serializable {
private static final long serialVersionUID = -2577204623479240233L; private static final long serialVersionUID = -2577204623479240233L;
private Integer id; private Integer id;
private Long orderId; private Integer orderId;
private Integer userAccountId; private Integer userAccountId;
private Integer payType; private Integer payType;
private Integer payStatus; private Integer payStatus;
......
...@@ -20,13 +20,13 @@ import java.util.Date; ...@@ -20,13 +20,13 @@ import java.util.Date;
public class OrderServiceDO implements Serializable { public class OrderServiceDO implements Serializable {
private static final long serialVersionUID = -2938941346648852627L; private static final long serialVersionUID = -2938941346648852627L;
private Integer id; private Integer id;
private Long orderId; private Integer orderId;
private Integer goodsInfoId; private Integer goodsInfoId;
private String serviceName; private String serviceName;
private String remark; private String remark;
private Date createTime; private Date createTime;
public OrderServiceDO(GoodsServiceDTO d, Long orderId) { public OrderServiceDO(GoodsServiceDTO d, Integer orderId) {
this.orderId = orderId; this.orderId = orderId;
this.goodsInfoId = d.getGoodsInfoId(); this.goodsInfoId = d.getGoodsInfoId();
this.serviceName = d.getServiceName(); this.serviceName = d.getServiceName();
......
...@@ -38,7 +38,7 @@ public class AuthSignatureFilter implements AuthFilter { ...@@ -38,7 +38,7 @@ public class AuthSignatureFilter implements AuthFilter {
/** /**
* 无需登录白名单 * 无需登录白名单
*/ */
private static final String[] IGNORE_URLS = {"/oms/swagger-resources", "/oms/v2/api-docs", "/oms/doc.html"}; private static final String[] IGNORE_URLS = {"/oms/swagger-resources", "/oms/v2/api-docs", "/oms/doc.html", "/oms/mallorder/listStatus"};
/*无需加密狗无需登录白名单*/ /*无需加密狗无需登录白名单*/
private static final String[] USE_KEY = {"/oms/account/loginByUsbKey"}; private static final String[] USE_KEY = {"/oms/account/loginByUsbKey"};
......
...@@ -29,7 +29,7 @@ public class MallOrderDTO implements Serializable { ...@@ -29,7 +29,7 @@ public class MallOrderDTO implements Serializable {
private static final long serialVersionUID = -5495994390870097181L; private static final long serialVersionUID = -5495994390870097181L;
@ApiModelProperty("id") @ApiModelProperty("id")
private Long id; private Integer id;
@ApiModelProperty("订单编号") @ApiModelProperty("订单编号")
private String orderNo; private String orderNo;
......
...@@ -19,7 +19,7 @@ import java.io.Serializable; ...@@ -19,7 +19,7 @@ import java.io.Serializable;
public class MallOrderExpressDTO implements Serializable { public class MallOrderExpressDTO implements Serializable {
private static final long serialVersionUID = 6804508364845777867L; private static final long serialVersionUID = 6804508364845777867L;
@ApiModelProperty(value = "orderId") @ApiModelProperty(value = "orderId")
private Long orderId; private Integer orderId;
@ApiModelProperty(value = "发货-快递公司编码") @ApiModelProperty(value = "发货-快递公司编码")
private String sendExpNo; private String sendExpNo;
@ApiModelProperty(value = "发货-快递单号") @ApiModelProperty(value = "发货-快递单号")
......
...@@ -23,7 +23,7 @@ import java.math.BigDecimal; ...@@ -23,7 +23,7 @@ import java.math.BigDecimal;
public class MallOrderFinishDTO implements Serializable { public class MallOrderFinishDTO implements Serializable {
private static final long serialVersionUID = 4577011678089794859L; private static final long serialVersionUID = 4577011678089794859L;
@ApiModelProperty("订单id") @ApiModelProperty("订单id")
private Long orderId; private Integer orderId;
@ApiModelProperty("订单编号") @ApiModelProperty("订单编号")
private String orderNo; private String orderNo;
......
...@@ -26,7 +26,7 @@ import java.util.List; ...@@ -26,7 +26,7 @@ import java.util.List;
public class MallOrderPageDTO implements Serializable { public class MallOrderPageDTO implements Serializable {
private static final long serialVersionUID = 56353980620113181L; private static final long serialVersionUID = 56353980620113181L;
@ApiModelProperty("id") @ApiModelProperty("id")
private Long id; private Integer id;
@ApiModelProperty("订单编号") @ApiModelProperty("订单编号")
private String orderNo; private String orderNo;
......
...@@ -26,7 +26,7 @@ public class OrderGoodsIndstDTO implements Serializable { ...@@ -26,7 +26,7 @@ public class OrderGoodsIndstDTO implements Serializable {
@ApiModelProperty(value = "id") @ApiModelProperty(value = "id")
private Integer id; private Integer id;
@ApiModelProperty(value = "订单id") @ApiModelProperty(value = "订单id")
private Long orderId; private Integer orderId;
@ApiModelProperty(value = "购物车id") @ApiModelProperty(value = "购物车id")
private Integer mallIndstShopCarId; private Integer mallIndstShopCarId;
@ApiModelProperty(value = "商品id") @ApiModelProperty(value = "商品id")
......
...@@ -26,7 +26,7 @@ public class OrderGoodsProdDTO implements Serializable { ...@@ -26,7 +26,7 @@ public class OrderGoodsProdDTO implements Serializable {
@ApiModelProperty(value = "orderGoodsProdId") @ApiModelProperty(value = "orderGoodsProdId")
private Integer id; private Integer id;
@ApiModelProperty(value = "订单id") @ApiModelProperty(value = "订单id")
private Long orderId; private Integer orderId;
@ApiModelProperty(value = "产品购物车id") @ApiModelProperty(value = "产品购物车id")
private Integer mallProdShopCarId; private Integer mallProdShopCarId;
@ApiModelProperty(value = "商品id") @ApiModelProperty(value = "商品id")
......
...@@ -23,7 +23,7 @@ import java.util.List; ...@@ -23,7 +23,7 @@ import java.util.List;
public class OrderPayDTO implements Serializable { public class OrderPayDTO implements Serializable {
private static final long serialVersionUID = -3966470399037847912L; private static final long serialVersionUID = -3966470399037847912L;
@ApiModelProperty(value = "orderId") @ApiModelProperty(value = "orderId")
private Long orderId; private Integer orderId;
@ApiModelProperty(value = "凭证类型:0全款 1预付款 2尾款") @ApiModelProperty(value = "凭证类型:0全款 1预付款 2尾款")
private Integer payType; private Integer payType;
@ApiModelProperty(value = "支付备注") @ApiModelProperty(value = "支付备注")
......
...@@ -21,7 +21,7 @@ import java.io.Serializable; ...@@ -21,7 +21,7 @@ import java.io.Serializable;
@ApiModel(value = "com.mmc.csf.mall.dto.OrderServiceDTO", description = "订单商品信息DTO") @ApiModel(value = "com.mmc.csf.mall.dto.OrderServiceDTO", description = "订单商品信息DTO")
public class OrderServiceDTO implements Serializable { public class OrderServiceDTO implements Serializable {
private static final long serialVersionUID = 3384622935297961674L; private static final long serialVersionUID = 3384622935297961674L;
private Long orderId; private Integer orderId;
private Integer goodsInfoId; private Integer goodsInfoId;
@ApiModelProperty(value = "服务名") @ApiModelProperty(value = "服务名")
private String serviceName; private String serviceName;
......
...@@ -16,7 +16,7 @@ public class UavContractInfoDTO implements Serializable { ...@@ -16,7 +16,7 @@ public class UavContractInfoDTO implements Serializable {
private static final long serialVersionUID = 8595958456591915448L; private static final long serialVersionUID = 8595958456591915448L;
private Integer id; private Integer id;
private Integer userAccountId; private Integer userAccountId;
private Long mallOrderId; private Integer mallOrderId;
private String contractTitle; private String contractTitle;
@ApiModelProperty(value = "状态:(0:等待用户签署、1:用户签署失败、2:等待甲方签署(用户签署成功) 3:用户签署失败、4:甲方签署成功、5:已完成") @ApiModelProperty(value = "状态:(0:等待用户签署、1:用户签署失败、2:等待甲方签署(用户签署成功) 3:用户签署失败、4:甲方签署成功、5:已完成")
private Integer signStatus; private Integer signStatus;
......
...@@ -19,7 +19,7 @@ public class ConfirmAfPayVO implements Serializable { ...@@ -19,7 +19,7 @@ public class ConfirmAfPayVO implements Serializable {
@ApiModelProperty(value = "订单id",required = true) @ApiModelProperty(value = "订单id",required = true)
@NotNull @NotNull
private Long orderId; private Integer orderId;
@ApiModelProperty(value = "审核状态:0拒绝/1通过",required = true) @ApiModelProperty(value = "审核状态:0拒绝/1通过",required = true)
@NotNull @NotNull
private Integer checkStatus; private Integer checkStatus;
......
...@@ -20,7 +20,7 @@ public class MallOrderExpressVO implements Serializable { ...@@ -20,7 +20,7 @@ public class MallOrderExpressVO implements Serializable {
private static final long serialVersionUID = 4364047174162933119L; private static final long serialVersionUID = 4364047174162933119L;
@ApiModelProperty(value = "orderId") @ApiModelProperty(value = "orderId")
@NotNull @NotNull
private Long orderId; private Integer orderId;
@ApiModelProperty(value = "物流公司代号") @ApiModelProperty(value = "物流公司代号")
@NotNull @NotNull
private String sendExpCode; private String sendExpCode;
......
...@@ -26,7 +26,7 @@ public class MallOrderVO implements Serializable { ...@@ -26,7 +26,7 @@ public class MallOrderVO implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "订单id") @ApiModelProperty(value = "订单id")
private Long id; private Integer id;
@ApiModelProperty(value = "0全款购买 1分期付款") @ApiModelProperty(value = "0全款购买 1分期付款")
private Integer payMethod; private Integer payMethod;
......
...@@ -24,7 +24,7 @@ public class OrderPayVO implements Serializable { ...@@ -24,7 +24,7 @@ public class OrderPayVO implements Serializable {
private static final long serialVersionUID = -7118568598001208480L; private static final long serialVersionUID = -7118568598001208480L;
@ApiModelProperty(value = "orderId") @ApiModelProperty(value = "orderId")
@NotNull(message = "订单ID不能为空", groups = { Auto.class, Confirm.class }) @NotNull(message = "订单ID不能为空", groups = { Auto.class, Confirm.class })
private Long orderId; private Integer orderId;
@ApiModelProperty(value = "支付凭证-图片") @ApiModelProperty(value = "支付凭证-图片")
@NotNull(message = "支付凭证-图片不能为空", groups = { Confirm.class }) @NotNull(message = "支付凭证-图片不能为空", groups = { Confirm.class })
private List<String> vouchr; private List<String> vouchr;
......
...@@ -34,7 +34,7 @@ public interface AppMallOrderService { ...@@ -34,7 +34,7 @@ public interface AppMallOrderService {
* @param orderId 订单id * @param orderId 订单id
* @return {@link ResultBody} * @return {@link ResultBody}
*/ */
ResultBody getShareOrderStatus(Long orderId); ResultBody getShareOrderStatus(Integer orderId);
/** /**
* 接受分享 * 接受分享
...@@ -43,11 +43,11 @@ public interface AppMallOrderService { ...@@ -43,11 +43,11 @@ public interface AppMallOrderService {
* @param shareId 共享id * @param shareId 共享id
* @return {@link ResultBody} * @return {@link ResultBody}
*/ */
ResultBody acceptShare(Long orderId, Integer shareId); ResultBody acceptShare(Integer orderId, Integer shareId);
CountShowTypeDTO countListPage(BaseAccountDTO currentAccount); CountShowTypeDTO countListPage(BaseAccountDTO currentAccount);
ResultBody returnContractById(Long orderId); ResultBody returnContractById(Integer orderId);
/** /**
* v1.0.0确认订单 * v1.0.0确认订单
...@@ -73,5 +73,5 @@ public interface AppMallOrderService { ...@@ -73,5 +73,5 @@ public interface AppMallOrderService {
* @param currentAccount * @param currentAccount
* @return * @return
*/ */
MallOrderDTO getMallOrderDetailById(Long orderId, BaseAccountDTO currentAccount); MallOrderDTO getMallOrderDetailById(Integer orderId, BaseAccountDTO currentAccount);
} }
...@@ -17,5 +17,5 @@ public interface KdnExpService { ...@@ -17,5 +17,5 @@ public interface KdnExpService {
KDNCallBackResponse callbackExpressInfo(Map<String, Object> map); KDNCallBackResponse callbackExpressInfo(Map<String, Object> map);
ResultBody testCallbackExpressInfo(String port, Long orderId, String shipperCode, String logisticCode, String phone) throws Exception; ResultBody testCallbackExpressInfo(String port, Integer orderId, String shipperCode, String logisticCode, String phone) throws Exception;
} }
...@@ -51,9 +51,9 @@ public interface MallOrderService { ...@@ -51,9 +51,9 @@ public interface MallOrderService {
* @param cuser * @param cuser
* @return * @return
*/ */
ResultBody confirmCost(Long orderId, Integer checkStatus, String refuseReason, List<String> vouchr, Integer type, BaseAccountDTO cuser);// 平台确认收款 ResultBody confirmCost(Integer orderId, Integer checkStatus, String refuseReason, List<String> vouchr, Integer type, BaseAccountDTO cuser);// 平台确认收款
ResultBody confirmAfPay(Long orderId, Integer checkStatus, String refuseReason, List<String> vouchr, Integer type, BaseAccountDTO cuser); ResultBody confirmAfPay(Integer orderId, Integer checkStatus, String refuseReason, List<String> vouchr, Integer type, BaseAccountDTO cuser);
/** /**
* 平台确认库存-已确认收款(待确认库存)》已确认库存(待发货) * 平台确认库存-已确认收款(待确认库存)》已确认库存(待发货)
...@@ -62,7 +62,7 @@ public interface MallOrderService { ...@@ -62,7 +62,7 @@ public interface MallOrderService {
* @param cuser * @param cuser
* @return * @return
*/ */
ResultBody confirmInventory(Long orderId, BaseAccountDTO cuser);// 平台确认库存 ResultBody confirmInventory(Integer orderId, BaseAccountDTO cuser);// 平台确认库存
/** /**
* 买家确认收货-已发货(待收货)》已收货(待订单完成) * 买家确认收货-已发货(待收货)》已收货(待订单完成)
...@@ -75,7 +75,7 @@ public interface MallOrderService { ...@@ -75,7 +75,7 @@ public interface MallOrderService {
/** /**
* 取消订单 * 取消订单
*/ */
ResultBody closeOrder(Long orderId, String shutReason, BaseAccountDTO cuser); ResultBody closeOrder(Integer orderId, String shutReason, BaseAccountDTO cuser);
/** /**
* 订单详情 * 订单详情
...@@ -87,13 +87,13 @@ public interface MallOrderService { ...@@ -87,13 +87,13 @@ public interface MallOrderService {
*/ */
// MallOrderDTO appOrderDetail(Long orderId, BaseAccountDTO cuser); // MallOrderDTO appOrderDetail(Long orderId, BaseAccountDTO cuser);
List<OrderPayDTO> listOrderPayInfo(Long orderId, Integer payType, BaseAccountDTO cuser); List<OrderPayDTO> listOrderPayInfo(Integer orderId, Integer payType, BaseAccountDTO cuser);
int countMenuRedPoint(BaseAccountDTO cuser); int countMenuRedPoint(BaseAccountDTO cuser);
ResultBody confirmOrderVerOne(ConfirmOrderVO confirmOrderVO, BaseAccountDTO currentAccount); ResultBody confirmOrderVerOne(ConfirmOrderVO confirmOrderVO, BaseAccountDTO currentAccount);
void sendOrderStatusChangeMsg(Long mallOrderId); void sendOrderStatusChangeMsg(Integer mallOrderId);
/** /**
* 关闭订单 * 关闭订单
...@@ -101,11 +101,11 @@ public interface MallOrderService { ...@@ -101,11 +101,11 @@ public interface MallOrderService {
* @param baseAccountDTO * @param baseAccountDTO
* @return * @return
*/ */
ResultBody closeMallOrder(Long id, BaseAccountDTO baseAccountDTO); ResultBody closeMallOrder(Integer id, BaseAccountDTO baseAccountDTO);
ResultBody updateMallOrder(Long orderId, Date singerTime); ResultBody updateMallOrder(Integer orderId, Date singerTime);
ResultBody allocateOperation(Long orderId , Integer operationId); ResultBody allocateOperation(Integer orderId , Integer operationId);
ResultBody afterPayAndCheck(List<OrderPayVO> param, BaseAccountDTO currentAccount); ResultBody afterPayAndCheck(List<OrderPayVO> param, BaseAccountDTO currentAccount);
...@@ -115,7 +115,7 @@ public interface MallOrderService { ...@@ -115,7 +115,7 @@ public interface MallOrderService {
ResultBody confirmCostVerOne(ConfirmAfPayVO confirmPay, BaseAccountDTO currentAccount); ResultBody confirmCostVerOne(ConfirmAfPayVO confirmPay, BaseAccountDTO currentAccount);
ResultBody updateStatusMallOrder(Long orderId, Integer signStatus); ResultBody updateStatusMallOrder(Integer orderId, Integer signStatus);
void mallOrderCreditPeriodTask(); void mallOrderCreditPeriodTask();
...@@ -126,21 +126,21 @@ public interface MallOrderService { ...@@ -126,21 +126,21 @@ public interface MallOrderService {
void listPageManagerExportVerOne(MallOrderQO param, HttpServletResponse response, BaseAccountDTO currentAccount, String token); void listPageManagerExportVerOne(MallOrderQO param, HttpServletResponse response, BaseAccountDTO currentAccount, String token);
MallOrderDTO getMallOrderDetailById(Long orderId, BaseAccountDTO currentAccount, String token); MallOrderDTO getMallOrderDetailById(Integer orderId, BaseAccountDTO currentAccount, String token);
ResultBody updateMallOrderRemark(Long orderId, String remark); ResultBody updateMallOrderRemark(Integer orderId, String remark);
ResultBody confirmOrderNew(ConfirmOrderNewVO confirmOrderNewVO, BaseAccountDTO currentAccount); ResultBody confirmOrderNew(ConfirmOrderNewVO confirmOrderNewVO, BaseAccountDTO currentAccount);
ResultBody sendOrderGoodsNew(MallOrderExpressVO param, BaseAccountDTO currentAccount) throws Exception; ResultBody sendOrderGoodsNew(MallOrderExpressVO param, BaseAccountDTO currentAccount) throws Exception;
void exportMultiSheet(HttpServletResponse response, List<Long> orderIds) throws IOException; void exportMultiSheet(HttpServletResponse response, List<Integer> orderIds) throws IOException;
void listOperationalDataExport(MallOrderQO param, HttpServletResponse response, BaseAccountDTO currentAccount, String token) throws IOException; void listOperationalDataExport(MallOrderQO param, HttpServletResponse response, BaseAccountDTO currentAccount, String token) throws IOException;
ResultBody feignOrderUseCoupon(List<Long> orderIds); ResultBody feignOrderUseCoupon(List<Integer> orderIds);
ResultBody getOrderInfoByOrderNo(String orderNo); ResultBody getOrderInfoByOrderNo(String orderNo);
void operationalDataExport(List<Long> orderIds, HttpServletResponse response, BaseAccountDTO currentAccount) throws IOException; void operationalDataExport(List<Integer> orderIds, HttpServletResponse response, BaseAccountDTO currentAccount) throws IOException;
} }
...@@ -20,9 +20,9 @@ public interface OrderGoodsIndstService { ...@@ -20,9 +20,9 @@ public interface OrderGoodsIndstService {
/** /**
* 根据订单id,查询产品信息和产品规格 * 根据订单id,查询产品信息和产品规格
*/ */
List<OrderGoodsIndstProdListBO> getProductInfoByMallId(Long orderId); List<OrderGoodsIndstProdListBO> getProductInfoByMallId(Integer orderId);
List<MallOrderSimpleDO> listOrderGoodsIndstBaseInfo(List<Long> mallOrderIds); List<MallOrderSimpleDO> listOrderGoodsIndstBaseInfo(List<Integer> mallOrderIds);
List<OrderGoodsIndstProdListDO> listIMallOrderProdList(Long orderId); List<OrderGoodsIndstProdListDO> listIMallOrderProdList(Integer orderId);
} }
...@@ -18,9 +18,9 @@ import java.util.List; ...@@ -18,9 +18,9 @@ import java.util.List;
*/ */
public interface OrderGoodsProdService { public interface OrderGoodsProdService {
List<OrderGoodsProdDetailBO> getProductInfoByMallId(Long orderId); List<OrderGoodsProdDetailBO> getProductInfoByMallId(Integer orderId);
List<MallOrderSimpleDO> listOrderGoodsProdBaseInfo(List<Long> mallOrderIds); List<MallOrderSimpleDO> listOrderGoodsProdBaseInfo(List<Integer> mallOrderIds);
List<OrderGoodsProdDetailDO> listPMallOrderProdList(Long orderId); List<OrderGoodsProdDetailDO> listPMallOrderProdList(Integer orderId);
} }
...@@ -64,7 +64,7 @@ public class KdnExpServiceImpl implements KdnExpService { ...@@ -64,7 +64,7 @@ public class KdnExpServiceImpl implements KdnExpService {
String callBack = jsonObject.getString("CallBack"); String callBack = jsonObject.getString("CallBack");
String[]orderTag = callBack.split("-"); String[]orderTag = callBack.split("-");
if(orderTag.length > 1 && orderTag[0].equals("UAV")){ if(orderTag.length > 1 && orderTag[0].equals("UAV")){
Long orderId = Long.parseLong(orderTag[1]); Integer orderId = Integer.parseInt(orderTag[1]);
MallOrderExpressDO orderExpressDO = new MallOrderExpressDO(); MallOrderExpressDO orderExpressDO = new MallOrderExpressDO();
orderExpressDO.setOrderId(orderId); orderExpressDO.setOrderId(orderId);
orderExpressDO.setReceiveTime(new Date()); orderExpressDO.setReceiveTime(new Date());
...@@ -79,7 +79,7 @@ public class KdnExpServiceImpl implements KdnExpService { ...@@ -79,7 +79,7 @@ public class KdnExpServiceImpl implements KdnExpService {
} }
@Override @Override
public ResultBody testCallbackExpressInfo(String port, Long orderId, String shipperCode, String logisticCode, String phone) throws Exception { public ResultBody testCallbackExpressInfo(String port, Integer orderId, String shipperCode, String logisticCode, String phone) throws Exception {
String s = KdnExpressUtil.monitorPush(port, orderId, shipperCode, logisticCode, phone); String s = KdnExpressUtil.monitorPush(port, orderId, shipperCode, logisticCode, phone);
if(!JSONObject.parseObject(s).getString("Success").equals("true")){ if(!JSONObject.parseObject(s).getString("Success").equals("true")){
throw new BizException("快递信息错误,请重新填写后发货!"); throw new BizException("快递信息错误,请重新填写后发货!");
......
...@@ -29,9 +29,9 @@ public class MallOrderServiceSubImpl implements MallOrderServiceSub { ...@@ -29,9 +29,9 @@ public class MallOrderServiceSubImpl implements MallOrderServiceSub {
@Override @Override
public ResultBody feignAutoCompleteMOrder() { public ResultBody feignAutoCompleteMOrder() {
//查询需要自动完成的订单(签收超过3*24小时后的订单) //查询需要自动完成的订单(签收超过3*24小时后的订单)
List<Long> orderIds = orderExpressDao.listReceivedOrderIds(); List<Integer> orderIds = orderExpressDao.listReceivedOrderIds();
//调用确认收货功能,但是没有上传验收单 //调用确认收货功能,但是没有上传验收单
for (Long orderId : orderIds){ for (Integer orderId : orderIds){
OrderPayVO orderPayVO = new OrderPayVO(); OrderPayVO orderPayVO = new OrderPayVO();
orderPayVO.setOrderId(orderId); orderPayVO.setOrderId(orderId);
mallOrderService.confirmReceipt(orderPayVO, null); mallOrderService.confirmReceipt(orderPayVO, null);
......
...@@ -26,18 +26,18 @@ public class OrderGoodsIndstServiceImpl implements OrderGoodsIndstService { ...@@ -26,18 +26,18 @@ public class OrderGoodsIndstServiceImpl implements OrderGoodsIndstService {
private OrderGoodsIndstDao orderGoodsIndstDao; private OrderGoodsIndstDao orderGoodsIndstDao;
@Override @Override
public List<OrderGoodsIndstProdListBO> getProductInfoByMallId(Long orderId) { public List<OrderGoodsIndstProdListBO> getProductInfoByMallId(Integer orderId) {
return orderGoodsIndstDao.getProductInfoByMallId(orderId); return orderGoodsIndstDao.getProductInfoByMallId(orderId);
} }
@Override @Override
public List<MallOrderSimpleDO> listOrderGoodsIndstBaseInfo(List<Long> mallOrderIds) { public List<MallOrderSimpleDO> listOrderGoodsIndstBaseInfo(List<Integer> mallOrderIds) {
List<MallOrderSimpleDO> mallOrderSimpleDOList = orderGoodsIndstDao.listOrderGoodsIndstBaseInfo(mallOrderIds); List<MallOrderSimpleDO> mallOrderSimpleDOList = orderGoodsIndstDao.listOrderGoodsIndstBaseInfo(mallOrderIds);
return mallOrderSimpleDOList; return mallOrderSimpleDOList;
} }
@Override @Override
public List<OrderGoodsIndstProdListDO> listIMallOrderProdList(Long orderId) { public List<OrderGoodsIndstProdListDO> listIMallOrderProdList(Integer orderId) {
List<OrderGoodsIndstProdListDO> orderGoodsIndstProdListDOS = orderGoodsIndstDao.listIMallOrderProdList(orderId); List<OrderGoodsIndstProdListDO> orderGoodsIndstProdListDOS = orderGoodsIndstDao.listIMallOrderProdList(orderId);
return orderGoodsIndstProdListDOS; return orderGoodsIndstProdListDOS;
} }
......
...@@ -25,18 +25,18 @@ public class OrderGoodsProdServiceImpl implements OrderGoodsProdService { ...@@ -25,18 +25,18 @@ public class OrderGoodsProdServiceImpl implements OrderGoodsProdService {
private OrderGoodsProdDao orderGoodsProdDao; private OrderGoodsProdDao orderGoodsProdDao;
@Override @Override
public List<OrderGoodsProdDetailBO> getProductInfoByMallId(Long orderId) { public List<OrderGoodsProdDetailBO> getProductInfoByMallId(Integer orderId) {
return orderGoodsProdDao.getProductInfoByMallId(orderId); return orderGoodsProdDao.getProductInfoByMallId(orderId);
} }
@Override @Override
public List<MallOrderSimpleDO> listOrderGoodsProdBaseInfo(List<Long> mallOrderIds) { public List<MallOrderSimpleDO> listOrderGoodsProdBaseInfo(List<Integer> mallOrderIds) {
List<MallOrderSimpleDO> orderSimpleDOS = orderGoodsProdDao.listOrderGoodsProdBaseInfo(mallOrderIds); List<MallOrderSimpleDO> orderSimpleDOS = orderGoodsProdDao.listOrderGoodsProdBaseInfo(mallOrderIds);
return orderSimpleDOS; return orderSimpleDOS;
} }
@Override @Override
public List<OrderGoodsProdDetailDO> listPMallOrderProdList(Long orderId) { public List<OrderGoodsProdDetailDO> listPMallOrderProdList(Integer orderId) {
List<OrderGoodsProdDetailDO> orderGoodsProdDetailDOList = orderGoodsProdDao.listPMallOrderProdList(orderId); List<OrderGoodsProdDetailDO> orderGoodsProdDetailDOList = orderGoodsProdDao.listPMallOrderProdList(orderId);
return orderGoodsProdDetailDOList; return orderGoodsProdDetailDOList;
} }
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
from express_info from express_info
</select> </select>
<select id="listReceivedOrderIds" resultType="java.lang.Long"> <select id="listReceivedOrderIds" resultType="java.lang.Integer">
select * from mall_order mo INNER JOIN mall_order_express oe ON mo.id = oe.order_id select * from mall_order mo INNER JOIN mall_order_express oe ON mo.id = oe.order_id
where mo.status_code = 720 and oe.is_receive = 1 and TIMESTAMPDIFF(HOUR,'2023-02-10 16:15:00',NOW()) >= 72 where mo.status_code = 720 and oe.is_receive = 1 and TIMESTAMPDIFF(HOUR,'2023-02-10 16:15:00',NOW()) >= 72
</select> </select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论