✨ 毛利分析合并订单明细及产品筛选

This commit is contained in:
caojia
2026-11-16 20:24:27 +08:00
parent 9273fcec56
commit ea62697b98
3 changed files with 78 additions and 193 deletions
@@ -33,7 +33,9 @@ public class PrcProfitReportQuery extends BaseEntity
private List<String> customerNames;
private String belongSalerCode;
private String productCode;
private String productName;
private String countryCode;
private String countryName;
private String currency;
/** 订单维度应收状态筛选:UNBILLED、PARTIAL、BILLED。 */
private String arBillStatus;
@@ -197,6 +197,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
</otherwise>
</choose>
<if test="productName != null and productName != ''">
and p.product_name like concat('%', #{productName}, '%')
</if>
<if test="countryName != null and countryName != ''">
and p.country_name like concat('%', #{countryName}, '%')
</if>
</where>
</sql>