From 9c2a5ab361c9a02f150fd5dd53e2f8b6c2978fe4 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Tue, 11 Mar 2025 18:05:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/bonus/sgzb/material/domain/AgreementInfo.java | 5 +++++ .../resources/mapper/material/SltAgreementInfoMapper.xml | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/domain/AgreementInfo.java b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/domain/AgreementInfo.java index 86154f4..0c5221b 100644 --- a/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/domain/AgreementInfo.java +++ b/sgzb-modules/sgzb-material/src/main/java/com/bonus/sgzb/material/domain/AgreementInfo.java @@ -65,6 +65,11 @@ public class AgreementInfo extends BaseEntity { */ @ApiModelProperty(value = "工程标段ID") private Long projectId; + /** + * 工程标段ID + */ + @ApiModelProperty(value = "工程标段ID") + private Long[] projectIds; /** * 工程标段 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 28219ef..1b12ce3 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 @@ -136,8 +136,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and bui.unit_id = #{unitId} - - and bp.lot_id = #{projectId} + + AND bp.lot_id IN + + #{projectId} + and bai.is_slt = #{sltStatus}