diff --git a/ReZero/SuperAPI/DatabseModels/Entities/STD/STD_METHOD_CONFIG.cs b/ReZero/SuperAPI/DatabseModels/Entities/STD/STD_METHOD_CONFIG.cs new file mode 100644 index 0000000..ee9402d --- /dev/null +++ b/ReZero/SuperAPI/DatabseModels/Entities/STD/STD_METHOD_CONFIG.cs @@ -0,0 +1,66 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using SqlSugar; +namespace ReZero.SuperAPI.STD +{ + /// + /// 方法信息表 + /// + [SugarTable("STD_METHOD_CONFIG")] + public class STD_METHOD_CONFIG + { + + + /// + /// 备 注:唯一标识符(UUID) + /// 默认值: + /// + [SugarColumn(ColumnName="METHOD_ID" ,IsPrimaryKey = true) ] + public string METHOD_ID { get; set; } = null!; + + /// + /// 备 注:方法名称(需符合医保规范) + /// 默认值: + /// + [SugarColumn(ColumnName="METHOD_NAME" ) ] + public string METHOD_NAME { get; set; } = null!; + + /// + /// 备 注:方法调用路径 + /// 默认值: + /// + [SugarColumn(ColumnName="METHOD_VALUE" ) ] + public string METHOD_VALUE { get; set; } = null!; + + /// + /// 备 注:是否保存入参(0-否,1-是) + /// 默认值: + /// + [SugarColumn(ColumnName="SAVE_INPUT" ) ] + public short SAVE_INPUT { get; set; } + + /// + /// 备 注:是否保存出参(0-否,1-是) + /// 默认值: + /// + [SugarColumn(ColumnName="SAVE_OUTPUT" ) ] + public short SAVE_OUTPUT { get; set; } + + /// + /// 备 注:所属对接对象(外键关联) + /// 默认值: + /// + [SugarColumn(ColumnName="BIND_OBJECT" ) ] + public long BIND_OBJECT { get; set; } + + + /// + /// 系统提供的方法代码 + /// 默认值: + /// + [SugarColumn(ColumnName = "BIND_SYS_CODE")] + public string? BIND_SYS_CODE { get; set; } + } + +} \ No newline at end of file diff --git a/ReZero/SuperAPI/DatabseModels/Entities/STD/STD_OBJECT_ASSEMBLY.cs b/ReZero/SuperAPI/DatabseModels/Entities/STD/STD_OBJECT_ASSEMBLY.cs new file mode 100644 index 0000000..7cad5f5 --- /dev/null +++ b/ReZero/SuperAPI/DatabseModels/Entities/STD/STD_OBJECT_ASSEMBLY.cs @@ -0,0 +1,67 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using SqlSugar; +namespace ReZero.SuperAPI.STD +{ + /// + /// 对象组装表 + /// + [SugarTable("STD_OBJECT_ASSEMBLY")] + public class STD_OBJECT_ASSEMBLY + { + + + /// + /// 备 注:属性路径(对象[属性名]) + /// 默认值: + /// + [SugarColumn(ColumnName="OBJECT_PATH" ) ] + public string OBJECT_PATH { get; set; } = null!; + + /// + /// 备 注:表名 + /// 默认值: + /// + [SugarColumn(ColumnName="MAPPING_TABLE" ) ] + public string MAPPING_TABLE { get; set; } = null!; + + /// + /// 备 注:表归属于那(例如:系统内、医保) + /// 默认值: + /// + [SugarColumn(ColumnName="ASSEMBLY_TYPE" ) ] + public string ASSEMBLY_TYPE { get; set; } = null!; + + /// + /// 备 注:STD_METHOD_CONFIG表ID + /// 默认值: + /// + [SugarColumn(ColumnName="METHOD_REF" ) ] + public string METHOD_REF { get; set; } = null!; + + /// + /// 备 注:1 对象 2 列表 + /// 默认值: + /// + [SugarColumn(ColumnName="OBJECT_TYPE" ) ] + public int OBJECT_TYPE { get; set; } + + /// + /// 备 注:1 入参 2 出参 + /// 默认值: + /// + [SugarColumn(ColumnName="PARAMETR_TYPE" ) ] + public int PARAMETR_TYPE { get; set; } + + /// + /// 备 注:id + /// 默认值: + /// + [SugarColumn(ColumnName="ID" ,IsPrimaryKey = true,IsIdentity = true) ] + public decimal ID { get; set; } + + + } + +} \ No newline at end of file diff --git a/ReZero/SuperAPI/DatabseModels/Entities/STD/STD_OBJECT_MAPPING.cs b/ReZero/SuperAPI/DatabseModels/Entities/STD/STD_OBJECT_MAPPING.cs new file mode 100644 index 0000000..f0c4b98 --- /dev/null +++ b/ReZero/SuperAPI/DatabseModels/Entities/STD/STD_OBJECT_MAPPING.cs @@ -0,0 +1,102 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using SqlSugar; +namespace Models +{ + /// + /// 对象映射关系表 + /// + [SugarTable("STD_OBJECT_MAPPING")] + public class STD_OBJECT_MAPPING + { + + + /// + /// 备 注:本地系统名称(如姓名 年龄) + /// 默认值: + /// + [SugarColumn(ColumnName="SYSTEM_NAME" ) ] + public string? SYSTEM_NAME { get; set; } + + /// + /// 备 注:系统字段名(如name age) + /// 默认值: + /// + [SugarColumn(ColumnName="SYSTEM_FIELD" ) ] + public string? SYSTEM_FIELD { get; set; } + + /// + /// 备 注:医保接口字段名 + /// 默认值: + /// + [SugarColumn(ColumnName="INTERFACE_NAME" ) ] + public string? INTERFACE_NAME { get; set; } + + /// + /// 备 注:医保字段名(需符合国标) + /// 默认值: + /// + [SugarColumn(ColumnName="INTERFACE_FIELD" ) ] + public string? INTERFACE_FIELD { get; set; } + + /// + /// 备 注:所属对象名(外键) + /// 默认值: + /// + [SugarColumn(ColumnName="OBJECT_TABLE_NAME" ) ] + public string? OBJECT_TABLE_NAME { get; set; } + + /// + /// 备 注:所属对象存储表中文名 + /// 默认值: + /// + [SugarColumn(ColumnName="OBJECT_TABLE_CNNAME" ) ] + public string? OBJECT_TABLE_CNNAME { get; set; } + + /// + /// 备 注:系统表中文名 + /// 默认值: + /// + [SugarColumn(ColumnName="SYSTEM_TABLE_CNNAME" ) ] + public string? SYSTEM_TABLE_CNNAME { get; set; } + + /// + /// 备 注:系统表英文名 + /// 默认值: + /// + [SugarColumn(ColumnName="SYSTEM_TABLE_NAME" ) ] + public string? SYSTEM_TABLE_NAME { get; set; } + + /// + /// 备 注:系统字段类型 + /// 默认值: + /// + [SugarColumn(ColumnName="SYSTEM_FIELD_TYPE" ) ] + public decimal? SYSTEM_FIELD_TYPE { get; set; } + + /// + /// 备 注:系统字典名称 + /// 默认值: + /// + [SugarColumn(ColumnName="SYSTEM_DICT_NAME" ) ] + public string? SYSTEM_DICT_NAME { get; set; } + + /// + /// 备 注:对接字段类型 + /// 默认值: + /// + [SugarColumn(ColumnName="OBJECT_FIELD_TYPE" ) ] + public decimal? OBJECT_FIELD_TYPE { get; set; } + + /// + /// 备 注:对接字典名称 + /// 默认值: + /// + [SugarColumn(ColumnName="OBJECT_DICT_NAME" ) ] + public string? OBJECT_DICT_NAME { get; set; } + + + } + +} \ No newline at end of file diff --git a/SuperAPI/wwwroot/rezero/default_ui/std_method_config.html b/SuperAPI/wwwroot/rezero/default_ui/std_method_config.html index 39218e3..f4a1a2e 100644 --- a/SuperAPI/wwwroot/rezero/default_ui/std_method_config.html +++ b/SuperAPI/wwwroot/rezero/default_ui/std_method_config.html @@ -252,6 +252,20 @@ id="message-text" > +
+ + +