feat(api): public good detail family block behind gray-release flag
This commit is contained in:
@@ -715,6 +715,11 @@ export class SyncService {
|
||||
where: { id: originGoodId },
|
||||
data: { familyId },
|
||||
});
|
||||
// Good 的族随主链接联动
|
||||
await this.prisma.good.updateMany({
|
||||
where: { originGoodId },
|
||||
data: { familyId },
|
||||
});
|
||||
this.familyRecompute.enqueue(familyId);
|
||||
} else {
|
||||
await this.prisma.productFamily.update({
|
||||
|
||||
Reference in New Issue
Block a user