🐛 保留毛利报表暂停功能校验
This commit is contained in:
@@ -35,4 +35,6 @@ public class PrcProfitReportQuery extends BaseEntity
|
|||||||
private String arBillStatus;
|
private String arBillStatus;
|
||||||
/** 是否按产品维度分组值下钻订单明细,允许分组字段为空。 */
|
/** 是否按产品维度分组值下钻订单明细,允许分组字段为空。 */
|
||||||
private Boolean productDrilldown;
|
private Boolean productDrilldown;
|
||||||
|
/** 仅用于拒绝已暂停的提成未计算订单下钻请求。 */
|
||||||
|
private String detailType;
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -107,6 +107,10 @@ public class PrcProfitReportServiceImpl implements IPrcProfitReportService
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if ("COMMISSION_MISSING".equals(query.getDetailType()))
|
||||||
|
{
|
||||||
|
throw new ServiceException("提成功能已暂停使用");
|
||||||
|
}
|
||||||
query.setOrderNos(splitFilterValues(query.getOrderNo(), "订单号"));
|
query.setOrderNos(splitFilterValues(query.getOrderNo(), "订单号"));
|
||||||
query.setCustomerCodes(splitFilterValues(query.getCustomerCode(), "客户代码"));
|
query.setCustomerCodes(splitFilterValues(query.getCustomerCode(), "客户代码"));
|
||||||
query.setCustomerNames(splitFilterValues(query.getCustomerName(), "客户名称"));
|
query.setCustomerNames(splitFilterValues(query.getCustomerName(), "客户名称"));
|
||||||
|
|||||||
Reference in New Issue
Block a user