feat(jd): 整合自定义分类并保护商品数据
This commit is contained in:
@@ -101,9 +101,9 @@
|
||||
</select>
|
||||
|
||||
<!-- 后管只读页(Phase 5,v1.4)过滤面:商品编码/标题关键词(contains LIKE)、类目 eq、
|
||||
分组 eq、未分类(group_id IS NULL,店铺分类弹窗「未分类」范围)、已分类
|
||||
(group_id IS NOT NULL,页面筛选行「分类状态」档,2026-11-15 客户口径
|
||||
「查询已分类的跟未分类,分类好的可以不显示」)、同步起止(datetime 闭区间)。
|
||||
分组 eq(2026-11-16 起由类目面板「自定义分类」选中驱动,独立「分类」筛选框与
|
||||
「分类状态」档随同日口径「分类不要了,全部整合到类目里」撤掉:ungrouped/grouped
|
||||
两参数与谓词同窗删除)、同步起止(datetime 闭区间)。
|
||||
公司维过滤随 2026-11-16「删除掉公司 tab,参考品牌数据库」撤掉(数据全平台公共;
|
||||
行 company_id 列仍是同步来源标记,不构成可见性边界)。
|
||||
sale_status 筛选随 2026-11-15 客户口径撤掉;店铺名过滤同日客户口径「店铺不需要」
|
||||
@@ -114,8 +114,6 @@
|
||||
<if test="titleKeyword != null and titleKeyword != ''">AND p.title LIKE CONCAT('%', #{titleKeyword}, '%')</if>
|
||||
<if test="category != null and category != ''">AND p.category_path = #{category}</if>
|
||||
<if test="groupId != null and groupId > 0">AND p.group_id = #{groupId}</if>
|
||||
<if test="ungrouped != null and ungrouped">AND p.group_id IS NULL</if>
|
||||
<if test="grouped != null and grouped">AND p.group_id IS NOT NULL</if>
|
||||
<if test="syncedFrom != null">AND p.synced_at >= #{syncedFrom}</if>
|
||||
<if test="syncedTo != null">AND p.synced_at <= #{syncedTo}</if>
|
||||
</sql>
|
||||
|
||||
Reference in New Issue
Block a user