From d6d6d3c42080419511456718997a692d4b4491cc Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Thu, 16 Jun 2022 09:32:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=9D=E8=B4=B9=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/bweb/config/AuthConfig.java | 1 + .../java/com/hai/dao/ApiOrderRecordMapperExt.java | 14 ++++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/hai-bweb/src/main/java/com/bweb/config/AuthConfig.java b/hai-bweb/src/main/java/com/bweb/config/AuthConfig.java index f9919592..54749b88 100644 --- a/hai-bweb/src/main/java/com/bweb/config/AuthConfig.java +++ b/hai-bweb/src/main/java/com/bweb/config/AuthConfig.java @@ -97,6 +97,7 @@ public class AuthConfig implements WebMvcConfigurer { .excludePathPatterns("/cmsContent/get*") .excludePathPatterns("/highGoldRec/*") .excludePathPatterns("/openApi/*") + .excludePathPatterns("/test/*") ; } diff --git a/hai-service/src/main/java/com/hai/dao/ApiOrderRecordMapperExt.java b/hai-service/src/main/java/com/hai/dao/ApiOrderRecordMapperExt.java index 7050714b..d14dd34d 100644 --- a/hai-service/src/main/java/com/hai/dao/ApiOrderRecordMapperExt.java +++ b/hai-service/src/main/java/com/hai/dao/ApiOrderRecordMapperExt.java @@ -15,18 +15,16 @@ public interface ApiOrderRecordMapperExt { @Select({"SELECT * FROM api_order_record aor WHERE TIMESTAMPDIFF(MINUTE,aor.request_time,SYSDATE()) < 15 AND aor.status = 100"}) @Results({ - @Result(column="id", property="id", jdbcType= JdbcType.BIGINT, id=true), - @Result(column="amount_type", property="amountType", jdbcType=JdbcType.INTEGER), - @Result(column="amount", property="amount", jdbcType=JdbcType.DECIMAL), - @Result(column="before_amount", property="beforeAmount", jdbcType=JdbcType.DECIMAL), - @Result(column="after_amount", property="afterAmount", jdbcType=JdbcType.DECIMAL), + @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @Result(column="mch_id", property="mchId", jdbcType=JdbcType.VARCHAR), - @Result(column="source_type", property="sourceType", jdbcType=JdbcType.INTEGER), - @Result(column="source_id", property="sourceId", jdbcType=JdbcType.BIGINT), + @Result(column="order_id", property="orderId", jdbcType=JdbcType.BIGINT), + @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), @Result(column="source_order_no", property="sourceOrderNo", jdbcType=JdbcType.VARCHAR), - @Result(column="source_content", property="sourceContent", jdbcType=JdbcType.VARCHAR), + @Result(column="goods_id", property="goodsId", jdbcType=JdbcType.VARCHAR), + @Result(column="notify_url", property="notifyUrl", jdbcType=JdbcType.VARCHAR), @Result(column="operator_id", property="operatorId", jdbcType=JdbcType.BIGINT), @Result(column="operator_name", property="operatorName", jdbcType=JdbcType.VARCHAR), + @Result(column="request_time", property="requestTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="status", property="status", jdbcType=JdbcType.INTEGER),