Pārlūkot izejas kodu

接口—“付款详情”增加查询参数,移除参数拼接,交由客户端自行解决

ZhangWenQiang 3 gadi atpakaļ
vecāks
revīzija
fb11e7a27f

+ 2 - 2
happy-cloud-wisdom/happy-cloud-wisdom-biz/src/main/java/org/jeecg/modules/api/controller/HlwPaymentApiController.java

@@ -135,10 +135,10 @@ public class HlwPaymentApiController extends JeecgController<HlwPayment, IHlwPay
                 hlwPaymentDetail.setApplicationId(applicationId);
                 hlwPaymentDetail.setApplicationId(applicationId);
             }
             }
             if (StringUtils.isNotBlank(paymentResultTimeBegin)) {
             if (StringUtils.isNotBlank(paymentResultTimeBegin)) {
-                hlwPaymentDetail.setPaymentResultTime_begin(paymentResultTimeBegin + "-01");
+                hlwPaymentDetail.setPaymentResultTime_begin(paymentResultTimeBegin);
             }
             }
             if (StringUtils.isNotBlank(paymentResultTimeEnd)) {
             if (StringUtils.isNotBlank(paymentResultTimeEnd)) {
-                hlwPaymentDetail.setPaymentResultTime_end(paymentResultTimeEnd + "-01");
+                hlwPaymentDetail.setPaymentResultTime_end(paymentResultTimeEnd);
             }
             }
             List<HlwPaymentDetail> list = hlwPaymentDetailService.paymentDetailListNoPage(hlwPaymentDetail);
             List<HlwPaymentDetail> list = hlwPaymentDetailService.paymentDetailListNoPage(hlwPaymentDetail);
             return Result.ok(list);
             return Result.ok(list);