feat: 完善一处log

This commit is contained in:
Pan Qiancheng 2026-01-01 22:11:21 +08:00
parent 1abb39e7a5
commit 0d2a3a2f94
2 changed files with 2 additions and 2 deletions

View File

@ -1498,7 +1498,7 @@ class CascadeStore extends RowStore_1.RowStore {
}
else {
// 如果没有更新到行说明这些数据还在modi当中
(0, assert_1.default)(count === 0, 'update成功的行数只能为id所在行数或者0');
(0, assert_1.default)(count === 0, `update成功的行数只能为id所在行数或者0,得到: ${count}, ids: ${ids.join(',')}`);
return await createModi();
}
}

View File

@ -1799,7 +1799,7 @@ export abstract class CascadeStore<ED extends EntityDict & BaseEntityDict> exten
}
else {
// 如果没有更新到行说明这些数据还在modi当中
assert(count === 0, 'update成功的行数只能为id所在行数或者0');
assert(count === 0, `update成功的行数只能为id所在行数或者0,得到: ${count}, ids: ${ids.join(',')}`);
return await createModi();
}
}