🐛 保留毛利报表暂停功能校验

This commit is contained in:
caojia
2026-11-04 16:04:38 +08:00
parent 04be15deab
commit 846a41c6df
2 changed files with 6 additions and 0 deletions
@@ -35,4 +35,6 @@ public class PrcProfitReportQuery extends BaseEntity
private String arBillStatus;
/** 是否按产品维度分组值下钻订单明细,允许分组字段为空。 */
private Boolean productDrilldown;
/** 仅用于拒绝已暂停的提成未计算订单下钻请求。 */
private String detailType;
}
@@ -107,6 +107,10 @@ public class PrcProfitReportServiceImpl implements IPrcProfitReportService
{
return;
}
if ("COMMISSION_MISSING".equals(query.getDetailType()))
{
throw new ServiceException("提成功能已暂停使用");
}
query.setOrderNos(splitFilterValues(query.getOrderNo(), "订单号"));
query.setCustomerCodes(splitFilterValues(query.getCustomerCode(), "客户代码"));
query.setCustomerNames(splitFilterValues(query.getCustomerName(), "客户名称"));