|
@@ -90,6 +90,8 @@ public class SampleServiceImpl extends ServiceImpl<SampleMapper, Sample> impleme
|
|
|
if (MapUtils.isNotEmpty(cusMap)) {//客户
|
|
|
List<Customer> customers = cusMap.getOrDefault(p.getBuyCorporationId(), null);
|
|
|
p.setBuyCorporationName(customers == null ? null : customers.get(0).getName());
|
|
|
+ //赋值客户标签
|
|
|
+ p.setTag(customers == null ? null : customers.get(0).getTag());
|
|
|
}
|
|
|
|
|
|
//赋值交接单附件
|
|
@@ -157,7 +159,7 @@ public class SampleServiceImpl extends ServiceImpl<SampleMapper, Sample> impleme
|
|
|
wrapper.ge("t2.`status`",30);
|
|
|
wrapper.lt("t2.`status`",88);
|
|
|
wrapper.gt("t1.expend_quantity",0);
|
|
|
- //查询样品交接单列表
|
|
|
+ //查询样品交接单列表(只查询有交接单的数据)
|
|
|
Page<ContractProductVo> page = this.baseMapper.sampleHandoverList(dto.getPage(), wrapper);
|
|
|
|
|
|
List<ContractProductVo> list = page.getRecords();
|