Compare commits

..

No commits in common. "9869fe9f733333c9d55497d0fed857ce5af914ea" and "e6bb4439e1ca93afc414f13e6ac70f76cea502a1" have entirely different histories.

4 changed files with 5 additions and 24 deletions

View File

@ -34,11 +34,6 @@ public class BizInvoiceEntity {
*/
private String companyName;
/**
* ID
*/
private Long companyId;
/**
*
*/

View File

@ -11,9 +11,6 @@ import lombok.experimental.Accessors;
import java.time.LocalDateTime;
/**
* @author lzq
*/
@Getter
@Setter
@ToString
@ -75,9 +72,6 @@ public class OrderPagingSearchParam {
private LocalDateTime endTime;
private OrderViewType type;
private LocalDateTime startPayTime;
private LocalDateTime endPayTime;
private Boolean isCertificatePaging = Boolean.FALSE;
}

View File

@ -240,8 +240,6 @@ public class OrderInfoService extends ServiceImpl<OrderInfoMapper, OrderInfoEnti
OrderCategory orderCategory = orderPagingSearchParam.getOrderCategory();
String transCompanyName = orderPagingSearchParam.getTransCompanyName();
String driverName = orderPagingSearchParam.getDriverName();
LocalDateTime startPayTime = orderPagingSearchParam.getStartPayTime();
LocalDateTime endPayTime = orderPagingSearchParam.getEndPayTime();
QueryWrapper<OrderPagingResult> ew = Wrappers.<OrderPagingResult>query()
.eq(stationId != null && stationId > 0, "a.station_id", stationId)
.like(StrUtil.isNotBlank(sn), "a.sn", sn)
@ -256,9 +254,7 @@ public class OrderInfoService extends ServiceImpl<OrderInfoMapper, OrderInfoEnti
.eq(null != transCompanyId, "a.trans_company_id", transCompanyId)
.eq("a.deleted", 0)
.eq(StrUtil.isNotBlank(area), "b.area", area)
.eq(null != goodsId, "c.origin_goods_id", goodsId)
.ge(startPayTime != null, "a.pay_time", startPayTime)
.le(endPayTime != null, "a.pay_time", endPayTime);
.eq(null != goodsId, "c.origin_goods_id", goodsId);
OrderViewType type = orderPagingSearchParam.getType();
Assert.notNull(type, () -> Exceptions.clierr("订单类型不能为空"));
switch (type) {

View File

@ -201,7 +201,7 @@ public class PaymentController {
/**
*
*/
@PostMapping(value = "/wechat/notify", produces = "text/xml;charset=utf-8")
@PostMapping("/wechat/notify")
public String wechatPayNotify(@RequestBody String xmlData) {
try {
log.info("收到微信支付回调:{}", xmlData);
@ -230,9 +230,7 @@ public class PaymentController {
} else {
log.warn("无法从商户订单号中提取订单");
}
String responseXml = WxPayNotifyResponse.success("OK");
log.info("准备返回给微信的支付回调XML响应: {}", responseXml);
return responseXml;
return WxPayNotifyResponse.success("处理成功!");
} catch (WxPayException e) {
log.error(e.getMessage());
return WxPayNotifyResponse.fail(e.getMessage());
@ -293,7 +291,7 @@ public class PaymentController {
/**
* 退
*/
@PostMapping(value = "/wechat/refundNotify", produces = "text/xml;charset=utf-8")
@PostMapping("/wechat/refundNotify")
public String parseRefundNotifyResult(@RequestBody String xmlData) {
try {
log.info("收到微信退款回调:{}", xmlData);
@ -314,9 +312,7 @@ public class PaymentController {
.set(OrderInfoEntity::getRefundTime, LocalDateTime.now())
.update();
log.info("退款回调处理成功,订单号:{}", orderSn);
String responseXml = WxPayNotifyResponse.success("OK");
log.info("准备返回给微信的退款回调XML响应: {}", responseXml);
return responseXml;
return WxPayNotifyResponse.success("退款成功!");
} catch (WxPayException e) {
log.error("退款回调处理异常:{}", e.getMessage(), e);
return WxPayNotifyResponse.fail(e.getMessage());