|
|
@@ -330,7 +330,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, PjOrder> implemen
|
|
|
.eq(PjOrder::getSalesCompanyId, AuthUtil.getDeptId())
|
|
|
.eq(PjOrder::getBsType, "XS")
|
|
|
.eq(PjOrder::getBusinesDate, dateS)
|
|
|
- .apply("(( business_source = '外部销售' AND FIND_IN_SET( actual_payment_status, '2,3,4' ) ) OR (business_source = '内部销售' AND FIND_IN_SET( actual_payment_status, '0,1,2,3,4' )))"));
|
|
|
+ .apply("(( business_source = '外部销售' AND FIND_IN_SET( actual_payment_status, '2,3' ) ) OR (business_source = '内部销售' AND FIND_IN_SET( actual_payment_status, '0,1,2,3' )))"));
|
|
|
if (orderList.size() > 0) {
|
|
|
return R.data(orderList.stream().map(PjOrder::getTotalMoney).filter(Objects::nonNull).reduce(BigDecimal.ZERO, BigDecimal::add));
|
|
|
} else {
|