
- 优化了 ParamMapper 接口,删除了未使用的代码 - 改进了 ProductServiceImpl 中的代码格式和命名 - 调整了 PropertyQuery 和 PropertyServiceImpl 中的代码结构 - 删除了 GlobalResponseHandler 类,简化了响应处理逻辑
33 lines
702 B
SQL
33 lines
702 B
SQL
create table iot_param
|
|
(
|
|
id bigserial not null
|
|
constraint iot_param_name_pk
|
|
primary key,
|
|
data_type integer,
|
|
uint varchar,
|
|
type integer,
|
|
identifier varchar,
|
|
name varchar,
|
|
remark varchar
|
|
);
|
|
|
|
comment on table iot_param is '参数';
|
|
|
|
comment on column iot_param.id is '主键';
|
|
|
|
comment on column iot_param.data_type is '数据类型';
|
|
|
|
comment on column iot_param.uint is '单位';
|
|
|
|
comment on column iot_param.type is '输入输出类型';
|
|
|
|
comment on column iot_param.identifier is '标识';
|
|
|
|
comment on column iot_param.name is '名称';
|
|
|
|
comment on column iot_param.remark is '备注';
|
|
|
|
alter table iot_param
|
|
owner to gitea;
|
|
|