From 1ca94ef87d862323d771216462ad48084e1c135d Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Sun, 11 May 2025 19:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=97=B6=E9=97=B4=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E5=86=85=E5=BD=93=E5=89=8D=E5=BA=97=E9=93=BA=E7=9A=84?= =?UTF-8?q?=E4=BA=A4=E6=98=93=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hiver-admin/src/main/resources/application.yml | 12 ++++++------ hiver-admin/test-output/test-report.html | 16 ++++++++-------- .../logisticsorder/entity/LogisticsOrder.java | 6 ++++++ .../resources/mapper/LogisticsOrderMapper.xml | 10 +++++++--- .../controller/common/CaptchaController.java | 6 +++--- .../controller/DealingsRecordController.java | 15 +++++++++++++++ .../controller/LogiticsCompanyController.java | 1 + .../mall/dao/mapper/DealingsRecordMapper.java | 11 +++++++++++ .../service/mybatis/DealingsRecordService.java | 10 ++++++++++ .../mybatis/DealingsRecordServiceImpl.java | 14 ++++++++++++++ .../resources/mapper/DealingsRecordMapper.xml | 13 +++++++++++++ 11 files changed, 94 insertions(+), 20 deletions(-) diff --git a/hiver-admin/src/main/resources/application.yml b/hiver-admin/src/main/resources/application.yml index 914575b2..e50059ab 100644 --- a/hiver-admin/src/main/resources/application.yml +++ b/hiver-admin/src/main/resources/application.yml @@ -25,8 +25,8 @@ spring: timeout-per-shutdown-phase: 10S # 数据源 datasource: -# url: jdbc:mysql://154.8.162.157:3306/hiver_shop?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true - url: jdbc:mysql://8.140.198.243:3306/hiver_shop?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true + url: jdbc:mysql://154.8.162.157:3306/hiver_shop?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true +# url: jdbc:mysql://8.140.198.243:3306/hiver_shop?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true username: reddoor # Jasypt加密 可到common-utils中找到JasyptUtil加解密工具类生成加密结果 格式为ENC(加密结果) 以下解密结果为123456 password: ENC(Zla4U4+yRLPhicvuX2TmiEgxEpzP4dk8BHzFDEtiEhwLQIIaftZrrEUJZce6efoe) @@ -67,8 +67,8 @@ spring: ddl-auto: update # Redis 若设有密码自行添加配置password redis: -# host: 154.8.162.157 - host: 8.140.198.243 + host: 154.8.162.157 +# host: 8.140.198.243 password: reddoor168 # 数据库索引 默认0 database: 1 @@ -265,8 +265,8 @@ wx: # redis前缀配置: wx(默认) key-prefix: wx redis: -# host: 154.8.162.157 - host: 8.140.198.243 + host: 154.8.162.157 +# host: 8.140.198.243 password: reddoor168 # 数据库索引 默认0 database: 1 diff --git a/hiver-admin/test-output/test-report.html b/hiver-admin/test-output/test-report.html index 9092fcd1..cd6696a3 100644 --- a/hiver-admin/test-output/test-report.html +++ b/hiver-admin/test-output/test-report.html @@ -35,7 +35,7 @@ Hiver
  • - 31, 2025 22:27:43 + 11, 2025 19:30:10
  • @@ -84,7 +84,7 @@

    passTest

    -

    22:27:44 / 0.028 secs

    +

    19:30:11 / 0.016 secs

    @@ -92,9 +92,9 @@
    #test-id=1
    passTest
    -03.31.2025 22:27:44 -03.31.2025 22:27:44 -0.028 secs +05.11.2025 19:30:11 +05.11.2025 19:30:11 +0.016 secs
    @@ -104,7 +104,7 @@ Pass - 22:27:44 + 19:30:11 Test passed @@ -128,13 +128,13 @@

    Started

    -

    31, 2025 22:27:43

    +

    11, 2025 19:30:10

    Ended

    -

    31, 2025 22:27:44

    +

    11, 2025 19:30:11

    diff --git a/hiver-core/src/main/java/cc/hiver/core/logisticsorder/entity/LogisticsOrder.java b/hiver-core/src/main/java/cc/hiver/core/logisticsorder/entity/LogisticsOrder.java index a596d878..a7270895 100644 --- a/hiver-core/src/main/java/cc/hiver/core/logisticsorder/entity/LogisticsOrder.java +++ b/hiver-core/src/main/java/cc/hiver/core/logisticsorder/entity/LogisticsOrder.java @@ -212,4 +212,10 @@ public class LogisticsOrder{ @ApiModelProperty(value = "修改记录数") private String changeCount; + @ApiModelProperty(value = "落地费规则(每公斤/元)") + private String landingFee; + + @ApiModelProperty(value = "送货费规则") + private String deliveryFee; + } diff --git a/hiver-core/src/main/resources/mapper/LogisticsOrderMapper.xml b/hiver-core/src/main/resources/mapper/LogisticsOrderMapper.xml index 827979ef..833fab33 100644 --- a/hiver-core/src/main/resources/mapper/LogisticsOrderMapper.xml +++ b/hiver-core/src/main/resources/mapper/LogisticsOrderMapper.xml @@ -44,6 +44,8 @@ + + @@ -52,7 +54,7 @@ go_station_id, go_station_name, arrival_station_id, arrival_station_name, weight, count, freight, premium, transit_fee, tips, method_of_settlement, cost, all_cost, order_number, object_name, remark, receiving_user_id, receiving_user_name,image_path, payment_for_goods, transfer_addition,order_status, - shipper_id,receiver_id,weight_history + shipper_id,receiver_id,weight_history,landing_fee,delivery_fee + + update t_dealings_record