|
@@ -141,7 +141,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain
|
|
|
RemoteCustomerSalesVo remoteCustomerSalesVo = remoteCustomerSalesService.selectCustomerSalesInfoByCustomerId(orderMainVo.getCustomerId());
|
|
RemoteCustomerSalesVo remoteCustomerSalesVo = remoteCustomerSalesService.selectCustomerSalesInfoByCustomerId(orderMainVo.getCustomerId());
|
|
|
if (null != remoteCustomerSalesVo) {
|
|
if (null != remoteCustomerSalesVo) {
|
|
|
orderMainVo.setCreditLimit(remoteCustomerSalesVo.getCreditAmount());
|
|
orderMainVo.setCreditLimit(remoteCustomerSalesVo.getCreditAmount());
|
|
|
- orderMainVo.setRemainingQuota(remoteCustomerSalesVo.getRemainingQuota());
|
|
|
|
|
|
|
+ orderMainVo.setRemainingQuota(remoteCustomerSalesVo.getTemporaryQuota().add(remoteCustomerSalesVo.getCreditAmount()));
|
|
|
orderMainVo.setTemporaryQuota(remoteCustomerSalesVo.getTemporaryQuota());
|
|
orderMainVo.setTemporaryQuota(remoteCustomerSalesVo.getTemporaryQuota());
|
|
|
}
|
|
}
|
|
|
|
|
|