|
@@ -162,6 +162,9 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
|
wrapper.keyword(dto.getKeyword(), new SqlField("t1", Contract::getCode));
|
|
|
}
|
|
|
|
|
|
+ //过滤合同类型
|
|
|
+ wrapper.eq("t1.contract_type", dto.getContractType());
|
|
|
+
|
|
|
wrapper.in("t1", Contract::getBuyCorporationId, authIdList);
|
|
|
|
|
|
Page<ContractVo> page = this.baseMapper.getPage(dto.getPage(), wrapper);
|