|
@@ -289,10 +289,17 @@ public class FreightReceivingDispatchingServiceImpl extends ServiceImpl<FreightR
|
|
|
FreightReceivingDispatching freightReceivingDispatching = this.selectById(id);
|
|
|
// 查看详情
|
|
|
List<FreightReceivingDispatchingCar> freightReceivingDispatchingCars = freightReceivingDispatchingCarService.selectList(new EntityWrapper<FreightReceivingDispatchingCar>()
|
|
|
- .eq("batch", freightReceivingDispatching.getBatch()));
|
|
|
+ .eq("batch", freightReceivingDispatching.getBatch())
|
|
|
+ .eq("delete_flag","0"));
|
|
|
if (!CollectionUtils.isEmpty(freightReceivingDispatchingCars)){
|
|
|
freightReceivingDispatching.setFreightReceivingDispatchingCars(freightReceivingDispatchingCars);
|
|
|
}
|
|
|
+ List<ReceivingUser> receivingUsers=receivingUserService.selectList(new EntityWrapper<ReceivingUser>()
|
|
|
+ .eq("info_id", id)
|
|
|
+ .eq("delete_flag","0"));
|
|
|
+ if (!CollectionUtils.isEmpty(receivingUsers)){
|
|
|
+ freightReceivingDispatching.setReceivingUsers(receivingUsers);
|
|
|
+ }
|
|
|
return freightReceivingDispatching;
|
|
|
}
|
|
|
}
|