From 738f842a30c46755f7f7d3bceac8b5b9df5cd2dd Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Tue, 13 Aug 2024 17:45:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=A6=85=E9=81=93bug=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E5=91=A8=E8=AE=A1=E5=88=92=E4=BB=BB=E5=8A=A1=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/bonus/sgzb/base/domain/BmProjectInfo.java | 6 ++++++ .../java/com/bonus/sgzb/base/domain/BmProjectLot.java | 6 ++++++ .../main/resources/mapper/base/BmProjectInfoMapper.xml | 6 ++++++ .../main/resources/mapper/base/BmProjectLotMapper.xml | 9 ++++++++- .../sgzb/material/mapper/ScrapApplyDetailsMapper.java | 1 + .../service/impl/InventoryAndWarehousingServiceImpl.java | 2 +- .../service/impl/ScrapApplyDetailsServiceImpl.java | 5 +++++ .../mapper/material/RepairAuditDetailsMapper.xml | 2 +- .../mapper/material/ScrapApplyDetailsMapper.xml | 5 +++++ .../resources/mapper/material/SltAgreementInfoMapper.xml | 4 ++-- 10 files changed, 41 insertions(+), 5 deletions(-) diff --git a/sgzb-modules/sgzb-base/src/main/java/com/bonus/sgzb/base/domain/BmProjectInfo.java b/sgzb-modules/sgzb-base/src/main/java/com/bonus/sgzb/base/domain/BmProjectInfo.java index e3eb3fb8..36e9cd50 100644 --- a/sgzb-modules/sgzb-base/src/main/java/com/bonus/sgzb/base/domain/BmProjectInfo.java +++ b/sgzb-modules/sgzb-base/src/main/java/com/bonus/sgzb/base/domain/BmProjectInfo.java @@ -79,6 +79,12 @@ public class BmProjectInfo { @Excel(name = "工程类型") @ApiModelProperty(value = "工程类型名称") private String typeName; + @ApiModelProperty(value = "经度") + private String longitude; + @ApiModelProperty(value = "纬度") + private String latitude; + @ApiModelProperty(value = "地址") + private String address; /** 导出选中列表 */ private List dataCondition; diff --git a/sgzb-modules/sgzb-base/src/main/java/com/bonus/sgzb/base/domain/BmProjectLot.java b/sgzb-modules/sgzb-base/src/main/java/com/bonus/sgzb/base/domain/BmProjectLot.java index 8a5e2ffc..4182db30 100644 --- a/sgzb-modules/sgzb-base/src/main/java/com/bonus/sgzb/base/domain/BmProjectLot.java +++ b/sgzb-modules/sgzb-base/src/main/java/com/bonus/sgzb/base/domain/BmProjectLot.java @@ -141,6 +141,12 @@ public class BmProjectLot { @Excel(name = "工程类型") @ApiModelProperty(value = "工程类型名称") private String typeName; + @ApiModelProperty(value = "经度") + private String longitude; + @ApiModelProperty(value = "纬度") + private String latitude; + @ApiModelProperty(value = "地址") + private String address; /** 导出选中列表 */ private List dataCondition; diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectInfoMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectInfoMapper.xml index 023ab8ff..9827ec04 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectInfoMapper.xml +++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectInfoMapper.xml @@ -167,6 +167,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" company_id, start_date, completion_date, + longitude, + latitude, + address, create_time )values( #{proName}, @@ -182,6 +185,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{companyId}, #{startDate}, #{completionDate}, + #{longitude}, + #{latitude}, + #{address}, sysdate() ) diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectLotMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectLotMapper.xml index 405ffc9d..f6f2a204 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectLotMapper.xml +++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectLotMapper.xml @@ -37,7 +37,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select GROUP_CONCAT(type_name) typeName from diff --git a/sgzb-modules/sgzb-material/src/main/resources/mapper/material/SltAgreementInfoMapper.xml b/sgzb-modules/sgzb-material/src/main/resources/mapper/material/SltAgreementInfoMapper.xml index af65b641..ef30d645 100644 --- a/sgzb-modules/sgzb-material/src/main/resources/mapper/material/SltAgreementInfoMapper.xml +++ b/sgzb-modules/sgzb-material/src/main/resources/mapper/material/SltAgreementInfoMapper.xml @@ -199,7 +199,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN bm_unit_info bui ON bui.unit_id = bai.unit_id left join ma_type mt on rc.type_id = mt.type_id left join ma_type mt1 on mt.parent_id = mt1.type_id - where rc.status in ('0','1') + where rc.status in ('3') and rc.task_id in @@ -227,7 +227,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN bm_unit_info bui ON bui.unit_id = bai.unit_id left join ma_type mt on sad.type_id = mt.type_id left join ma_type mt1 on mt.parent_id = mt1.type_id - where 1=1 + where 1=1 and sad.status = '3' and sad.task_id in From fbf124d1d446c7a38882d588b954118c95cd33c1 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Tue, 13 Aug 2024 18:09:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=A0=87=E6=AE=B5=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/base/BmProjectLotMapper.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectLotMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectLotMapper.xml index f6f2a204..f70840f9 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectLotMapper.xml +++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/base/BmProjectLotMapper.xml @@ -162,6 +162,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" company_id = #{companyId}, start_date = #{startDate}, completion_date = #{completionDate}, + address = #{address}, update_time = sysdate() where lot_id = #{lotId}