图纸绑定bug修改
This commit is contained in:
parent
cf34968f4d
commit
570e038bc5
20
sql/20210517-zhangsai.sql
Normal file
20
sql/20210517-zhangsai.sql
Normal file
@ -0,0 +1,20 @@
|
||||
CREATE TABLE `file` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`file_name` varchar(255) NOT NULL,
|
||||
`file_path` varchar(255) NOT NULL,
|
||||
`file_type` varchar(255) NOT NULL,
|
||||
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
|
||||
`creator` bigint(20) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
CREATE TABLE `file_binding` (
|
||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
`file_id` bigint(20) NOT NULL,
|
||||
`map_id` bigint(20) NOT NULL,
|
||||
`device_types` varchar(255) DEFAULT NULL,
|
||||
`device_ids` varchar(10000) DEFAULT NULL,
|
||||
`creator` bigint(20) NOT NULL,
|
||||
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
|
@ -21,7 +21,6 @@ import java.util.List;
|
||||
@NoArgsConstructor
|
||||
public class FileBindingVO {
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
@NotNull(message = "id不能为空")
|
||||
private Long id;
|
||||
|
||||
@NotNull(message = "文件id不能为null")
|
||||
|
Loading…
Reference in New Issue
Block a user