From 050c84450849de3adee88320d7bb6079dc0d0f9d Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Wed, 17 Jun 2026 20:58:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=A4=E6=98=93=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=AE=9A=E4=BD=8D=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../invest/domain/AccountsDealRecord.java | 24 +++++++++++++++++++ .../invest/AccountsDealRecordMapper.xml | 20 ++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/intc-modules/intc-invest/src/main/java/com/intc/invest/domain/AccountsDealRecord.java b/intc-modules/intc-invest/src/main/java/com/intc/invest/domain/AccountsDealRecord.java index 7621add..e32056a 100644 --- a/intc-modules/intc-invest/src/main/java/com/intc/invest/domain/AccountsDealRecord.java +++ b/intc-modules/intc-invest/src/main/java/com/intc/invest/domain/AccountsDealRecord.java @@ -74,6 +74,26 @@ public class AccountsDealRecord extends BaseEntity @Excel(name = "交易子类别") private String childCategory; + /** 地点名称 */ + @ApiModelProperty(value="地点名称") + @Excel(name = "地点名称") + private String locationName; + + /** 地点地址 */ + @ApiModelProperty(value="地点地址") + @Excel(name = "地点地址") + private String locationAddress; + + /** 经度 */ + @ApiModelProperty(value="经度") + @Excel(name = "经度") + private Double longitude; + + /** 纬度 */ + @ApiModelProperty(value="纬度") + @Excel(name = "纬度") + private Double latitude; + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) @@ -93,6 +113,10 @@ public class AccountsDealRecord extends BaseEntity .append("transferRecordId", getTransferRecordId()) .append("currentBalance", getCurrentBalance()) .append("childCategory", getChildCategory()) + .append("locationName", getLocationName()) + .append("locationAddress", getLocationAddress()) + .append("longitude", getLongitude()) + .append("latitude", getLatitude()) .toString(); } } diff --git a/intc-modules/intc-invest/src/main/resources/mapper/invest/AccountsDealRecordMapper.xml b/intc-modules/intc-invest/src/main/resources/mapper/invest/AccountsDealRecordMapper.xml index dc7af13..380825f 100644 --- a/intc-modules/intc-invest/src/main/resources/mapper/invest/AccountsDealRecordMapper.xml +++ b/intc-modules/intc-invest/src/main/resources/mapper/invest/AccountsDealRecordMapper.xml @@ -22,6 +22,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + + + @@ -42,6 +46,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" a.deal_category, a.current_balance, a.child_category, + a.location_name, + a.location_address, + a.longitude, + a.latitude, CONCAT(a2."name", '(', right(a2.code, 4), ')') as account_name from accounts_deal_record a @@ -106,6 +114,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" transfer_record_id, current_balance, child_category, + location_name, + location_address, + longitude, + latitude, #{id}, @@ -124,6 +136,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{transferRecordId}, #{currentBalance}, #{childCategory}, + #{locationName}, + #{locationAddress}, + #{longitude}, + #{latitude}, @@ -145,6 +161,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" transfer_record_id = #{transferRecordId}, current_balance = #{currentBalance}, child_category = #{childCategory}, + location_name = #{locationName}, + location_address = #{locationAddress}, + longitude = #{longitude}, + latitude = #{latitude}, where id = #{id}