feat:增加标注批量删除接口
This commit is contained in:
parent
3f87e669d5
commit
c767572a9f
|
|
@ -3,7 +3,7 @@ CREATE TABLE IF NOT EXISTS airline_marker (
|
||||||
id BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
id BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||||
marker_name VARCHAR(255) NOT NULL COMMENT '标注名称',
|
marker_name VARCHAR(255) NOT NULL COMMENT '标注名称',
|
||||||
marker_type VARCHAR(255) COMMENT '标注类型',
|
marker_type VARCHAR(255) COMMENT '标注类型',
|
||||||
status INT(11) DEFAULT 1 COMMENT '1 启用 0 停用。默认启用。',
|
status INT(11) NOT NULL DEFAULT 1 COMMENT '1 启用 0 停用。默认启用。',
|
||||||
color VARCHAR(255) DEFAULT '#000000' COMMENT '颜色',
|
color VARCHAR(255) DEFAULT '#000000' COMMENT '颜色',
|
||||||
icon VARCHAR(255) DEFAULT NULL COMMENT '图标',
|
icon VARCHAR(255) DEFAULT NULL COMMENT '图标',
|
||||||
font_size INT(11) DEFAULT 14 COMMENT '字体大小',
|
font_size INT(11) DEFAULT 14 COMMENT '字体大小',
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<!-- 插入标注 -->
|
<!-- 插入标注 -->
|
||||||
<insert id="insertMarker" parameterType="com.ruoyi.airline.mapper.entity.AirlineMarkerEntity" useGeneratedKeys="true" keyProperty="id">
|
<insert id="insertMarker" parameterType="com.ruoyi.airline.mapper.entity.AirlineMarkerEntity" useGeneratedKeys="true" keyProperty="id">
|
||||||
insert into airline_marker (marker_name, marker_type, status, color, icon, font_size, coordinates, description, create_by, create_time, update_by, update_time, remark)
|
insert into airline_marker (marker_name, marker_type, color, icon, font_size, coordinates, description, create_by, create_time, update_by, update_time, remark)
|
||||||
values (#{markerName}, #{markerType}, #{status}, #{color}, #{icon}, #{fontSize}, #{coordinates}, #{description}, #{createBy}, now(), #{updateBy}, now(), #{remark})
|
values (#{markerName}, #{markerType}, #{color}, #{icon}, #{fontSize}, #{coordinates}, #{description}, #{createBy}, now(), #{updateBy}, now(), #{remark})
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<!-- 更新标注 -->
|
<!-- 更新标注 -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue