fix: 修复hotel_id越界问题并更正项目名称

在构建数据库行时,添加了对hotel_id的边界检查,确保其值在PostgreSQL smallint类型允许的范围内(-32768 到 32767)。对于超出范围或非数字的值,现将其设置为0以防止数据库插入错误。同时,将package-lock.json中的项目名称从“bls-rcu-action-backend”更正为“bls-onoffline-backend”。
This commit is contained in:
2026-02-26 11:17:26 +08:00
parent 8337c60f98
commit e7658dd3bd
3 changed files with 22 additions and 12 deletions

View File

@@ -1,11 +1,11 @@
{
"name": "bls-rcu-action-backend",
"name": "bls-onoffline-backend",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "bls-rcu-action-backend",
"name": "bls-onoffline-backend",
"version": "1.0.0",
"dependencies": {
"dotenv": "^16.4.5",