|
@@ -105,8 +105,10 @@ public class QualityInfoServiceImpl extends ServiceImpl<QualityInfoMapper, Quali
|
|
|
if (ObjectUtil.isNotEmpty(dto.getKeyword())) {
|
|
|
//根据采购单号 供应商
|
|
|
List<Long> suppIds = supplierInfoService.listObject(SupplierInfo::getId, q -> q.like(SupplierInfo::getName, dto.getKeyword()));
|
|
|
- wrapper.and(q -> q.like("json_unquote(p.victoriatourist_json -> '$.contractCode')", dto.getKeyword())
|
|
|
- .or().in("p.supply_id", suppIds));
|
|
|
+ wrapper.and(q -> q
|
|
|
+ .like("json_unquote(p.victoriatourist_json -> '$.contractCode')", dto.getKeyword())
|
|
|
+ .or().in("p.supply_id", suppIds))
|
|
|
+ .or().like("dg.code", dto.getKeyword());
|
|
|
}
|
|
|
wrapper.orderByDesc("asr", QualityInfo::getCreateTime);
|
|
|
Page<QualityInfoVo> page = this.baseMapper.getPage1(dto.getPage(), wrapper);
|