|
@@ -98,7 +98,7 @@ public class ProductionOutWarehouseServiceImpl extends ServiceImpl<ProductionOut
|
|
|
Long businessId = productionOutWarehouse.getBusinessId();
|
|
|
BigDecimal shouldAmount = productionOutWarehouse.getShouldAmount();
|
|
|
OrderFund xOrderFund = orderFundService.getOne(new LambdaQueryWrapper<OrderFund>().eq(OrderFund::getBusinessType, PERSONAL_BUSINESS.name()).eq(OrderFund::getBusinessId, businessId).eq(BaseEntity::getDeleted, Boolean.FALSE));
|
|
|
- Personal personal = personalService.getOne(new LambdaQueryWrapper<Personal>().select(Personal::getOrderId, Personal::getLocation).eq(BaseEntity::getId, businessId).eq(BaseEntity::getDeleted, Boolean.FALSE));
|
|
|
+ Personal personal = personalService.getOne(new LambdaQueryWrapper<Personal>().select(Personal::getOrderId, Personal::getLocation,Personal::getClientManagerId).eq(BaseEntity::getId, businessId).eq(BaseEntity::getDeleted, Boolean.FALSE));
|
|
|
if (xOrderFund==null){
|
|
|
OrderFund orderFund = new OrderFund();
|
|
|
orderFund.setBusinessType(PERSONAL_BUSINESS.name());
|