Initial commit: ERP system with advance verification fixes

This commit is contained in:
System Administrator
2026-03-25 23:55:36 +07:00
commit 563ca12d76
5920 changed files with 828689 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
const db = require('./db-sqlite');
// 检查customers表结构
db.query('PRAGMA table_info(customers)').then(result => {
console.log('customers表结构:', result.rows);
// 检查suppliers表结构
return db.query('PRAGMA table_info(suppliers)');
}).then(result => {
console.log('suppliers表结构:', result.rows);
// 检查subcontractors表结构
return db.query('PRAGMA table_info(subcontractors)');
}).then(result => {
console.log('subcontractors表结构:', result.rows);
process.exit(0);
}).catch(error => {
console.error('查询失败:', error);
process.exit(1);
});