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}