|
|
@@ -21,7 +21,7 @@
|
|
|
- 组成商品有启用 SKU 时,`child_sku_id` 必填;否则拒绝保存。
|
|
|
- `ProductSku.update` 清除 `linked_product_id` 必须用 `LambdaUpdateWrapper.set(..., null)`(MyBatis-Plus `updateById` 忽略 null)。
|
|
|
- 后端编译:`cd /app/cfc/cfc-backend && mvn -q -DskipTests compile`。
|
|
|
-- 后端单测:`mvn test -Dtest=<Class>`。
|
|
|
+- 后端单测:`mvn test -Dtest=<Class> -DskipTests=false`(pom 默认 skipTests=true,必须显式覆盖,否则静默跳过)。
|
|
|
- 前端测试:`cd /app/cfc/cfc-web && npx jest src/__tests__ --no-coverage`。
|
|
|
- 部署严格按 `AGENTS.md`:备份 → 部署 → 健康检查;禁止未确认改动 `/app/pro/cfc`。
|
|
|
|