|
|
@ -233,7 +233,6 @@ public class HighOrderController { |
|
|
|
log.error("HighOrderController --> addOrder() error!", "未找到用户"); |
|
|
|
log.error("HighOrderController --> addOrder() error!", "未找到用户"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.UN_MEMBER_ERROR, ""); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.UN_MEMBER_ERROR, ""); |
|
|
|
} |
|
|
|
} |
|
|
|
highOrder.setPayType(2); // 第三方平台
|
|
|
|
|
|
|
|
childOrder.setGoodsActualPrice(childOrder.getGoodsPrice()); |
|
|
|
childOrder.setGoodsActualPrice(childOrder.getGoodsPrice()); |
|
|
|
childOrder.setGoodsName(user.getName()); |
|
|
|
childOrder.setGoodsName(user.getName()); |
|
|
|
childOrder.setGoodsImg(user.getHeaderImg()); |
|
|
|
childOrder.setGoodsImg(user.getHeaderImg()); |
|
|
@ -306,8 +305,6 @@ public class HighOrderController { |
|
|
|
log.error("HighOrderController --> addOrder() error!", "未找到门店信息"); |
|
|
|
log.error("HighOrderController --> addOrder() error!", "未找到门店信息"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未找到门店信息"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未找到门店信息"); |
|
|
|
} |
|
|
|
} |
|
|
|
highOrder.setPayType(2); // 第三方平台
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (highOrder.getIsTyAgent() != null && highOrder.getIsTyAgent().equals(true)) { |
|
|
|
if (highOrder.getIsTyAgent() != null && highOrder.getIsTyAgent().equals(true)) { |
|
|
|
// 查询加油站
|
|
|
|
// 查询加油站
|
|
|
|
HighTyAgentOilStation oilStation = tyAgentOilStationService.getDetailByOilStationId(childOrder.getGoodsId()); |
|
|
|
HighTyAgentOilStation oilStation = tyAgentOilStationService.getDetailByOilStationId(childOrder.getGoodsId()); |
|
|
|