| | |
| | | |
| | | @Select(" select g.CODE AS code , g.id as orderId , g.CREATE_DATE as createDate , g.TYPE as orderType , g.STATUS as orderStatus , g.IS_COMMENT as isComment , g.PAY_STATUS as payStatus ," + |
| | | " g.COUPON_PRICE as couponPrice , g.price , g.LINKNAME as linkName , g.LINKPHONE as linkPhone , g.LINKADDR as linkAddress , " + |
| | | "g.KD_DATE as kdDate , g.KD_NAME as kdName , g.KD_CODE as kdCode , g.INTEGRAL_PRICE as integral , SUBDATE(g.CREATE_DATE,interval - 15 minute) as cancelDate , g.PAY_DATE AS payDate , g.DONE_DATE as doneDate " + |
| | | "g.KD_DATE as kdDate , g.KD_NAME as kdName , g.KD_CODE as kdCode , g.INTEGRAL as integral , SUBDATE(g.CREATE_DATE,interval - 15 minute) as cancelDate , g.PAY_DATE AS payDate , g.DONE_DATE as doneDate " + |
| | | " , g.MEMBER_INFO , g.RECEIVE_TYPE as receiveType, s.name as shopName ,s.id as shopId ,g.exchange_code as exchangeCode " + |
| | | " from goodsorder g left join shop s on g.PICK_UP_SHOP_ID = s.id " + |
| | | " ${ew.customSqlSegment} ") |
| | |
| | | |
| | | @Select(" select g.CODE AS code , g.remark as remark , g.id as orderId , g.MEMBER_ID as memberId , g.CREATE_DATE as createDate , g.TYPE as orderType , g.STATUS as orderStatus , g.IS_COMMENT as isComment , g.PAY_STATUS as payStatus ," + |
| | | " g.COUPON_PRICE as couponPrice , g.price , g.LINKNAME as linkName , g.LINKPHONE as linkPhone , g.LINKADDR as linkAddress , " + |
| | | "g.KD_DATE as kdDate , g.KD_NAME as kdName , g.KD_CODE as kdCode , g.INTEGRAL_PRICE as integral , SUBDATE(g.CREATE_DATE,interval - 15 minute) as cancelDate , g.PAY_DATE AS payDate , g.DONE_DATE as doneDate " + |
| | | "g.KD_DATE as kdDate , g.KD_NAME as kdName , g.KD_CODE as kdCode , g.INTEGRAL as integral , SUBDATE(g.CREATE_DATE,interval - 15 minute) as cancelDate , g.PAY_DATE AS payDate , g.DONE_DATE as doneDate " + |
| | | " , g.MEMBER_INFO , g.RECEIVE_TYPE as receiveType, s.name as shopName ,s.id as shopId,g.exchange_code as exchangeCode " + |
| | | " from goodsorder g left join shop s on g.PICK_UP_SHOP_ID = s.id " + |
| | | " where g.id = #{id} ") |
| | |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty(value = "余额使用数量", example = "1") |
| | | private BigDecimal integral; |
| | | |
| | | @ApiModelProperty(value = "售后已退款金额", example = "1") |
| | | private BigDecimal aftersaleMoney; |
| | |
| | | |
| | | |
| | | @ApiModelProperty(value = "积分抵扣金额", example = "1") |
| | | private BigDecimal integralPrice; |
| | | private BigDecimal integral; |
| | | |
| | | @ApiModelProperty(value = "消耗积分值", example = "1") |
| | | private BigDecimal useIntegral; |
| | | |
| | | |
| | | @ApiModelProperty(value = "咖啡计划订单形式 0新增 1延长", example = "1") |
| | | private Integer planOrderType; |
| | |
| | | @ApiModelProperty(value = "核销码", example = "1") |
| | | private String exchangeCode; |
| | | |
| | | @ApiModelProperty(value = "订单结算金额") |
| | | @ApiModelProperty(value = "经销商结算金额", example = "1") |
| | | private BigDecimal shopSettlement; |
| | | |
| | | @ApiModelProperty(value = "文件地址") |
| | |
| | | private BigDecimal shopSettlement; |
| | | |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "商品标签名称") |
| | | @TableField(exist = false) |
| | | private String lablesName; |
| | |
| | | @ApiModelProperty(value = "优惠券抵扣金额", example = "1") |
| | | private BigDecimal couponAmount; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "积分使用状态:0=可用;1=不可用", example = "1") |
| | | private Integer integralStatus; |
| | | |
| | |
| | | goodsorder.setPrice(orderPayConfirmResponse.getPayAmount()); |
| | | goodsorder.setTotalPrice(orderPayConfirmResponse.getAmount()); |
| | | goodsorder.setUseIntegral(orderPayConfirmResponse.getDeductIntegral()); |
| | | goodsorder.setIntegral(goodsorder.getUseIntegral()); |
| | | goodsorder.setIntegralPrice(orderPayConfirmResponse.getIntegralAmount()); |
| | | goodsorder.setIntegral(orderPayConfirmResponse.getIntegralAmount()); |
| | | goodsorder.setMailPrice(orderPayConfirmResponse.getMailAmount()); |
| | | goodsorder.setPayMethod(goodsorder.getPrice().compareTo(BigDecimal.ZERO)>Constants.ZERO?Constants.ZERO:Constants.ONE); |
| | | if(Objects.nonNull(orderPayConfirmResponse.getMemberCoupon())){ |
| | |
| | | ); |
| | | if(Objects.nonNull(areas)){ |
| | | Labels labels = labelsMapper.selectById(areas.getYunFeeId()); |
| | | if(Objects.nonNull(labels)&&StringUtils.isNotBlank(labels.getParam())){ |
| | | //{weight0:10,fee0:10,weight1:10,fee1:10},{首重:10,首重运费:10,续重:10,续重费:10} |
| | | |
| | | } |
| | | |
| | | } |
| | | |