20260911173133
This commit is contained in:
1 parent
3838ed74b1
commit
f3ad727f1c
60 files changed
+4971
-6621
No files matched your search
@@ -1,16 +1,19 @@
|
||||
import java.sql.*;
|
||||
|
||||
/**
|
||||
* 从旧库 G3HY2025.dbo.s_columnLib 同步到新库 fms:
|
||||
* 从旧库 G3HY2025.dbo.s_columnLib 同步到新库 FMS:
|
||||
* 1. col_Caption → s_module_field.b_name(字段名称)
|
||||
* 2. col_Visible → s_module_field_list.b_visible(列表显示,不存在则插入记录)
|
||||
* 3. col_edit → s_module_field_edit.b_visible(编辑显示,不存在则插入记录)
|
||||
*
|
||||
* 注意:本工具面向 V1 表结构(s_module_field / s_module_field_list / s_module_field_edit),
|
||||
* 与《FMS新系统核心表结构设计V2》的 s_field / s_module_schema 不兼容,仅作历史参考。
|
||||
*
|
||||
* 用法: java -cp ".;mssql-jdbc.jar" FieldNameSync <viewName>
|
||||
*/
|
||||
public class FieldNameSync {
|
||||
|
||||
static final String URL = "jdbc:sqlserver://118.89.70.199:1433;databaseName=fms;encrypt=true;trustServerCertificate=true";
|
||||
static final String URL = "jdbc:sqlserver://118.89.70.199:1433;databaseName=FMS;encrypt=true;trustServerCertificate=true";
|
||||
static final String USER = "sa";
|
||||
static final String PASSWORD = "zhang520..";
|
||||
|
||||
|
||||
Reference in new issue
Block a user