glj-代码提交

This commit is contained in:
glj 2023-04-24 15:49:52 +08:00
parent 7b12cce404
commit c13e038991
2 changed files with 24 additions and 2 deletions

View File

@ -114,6 +114,24 @@ public class EntityData implements Serializable {
@TableField(exist = false) @TableField(exist = false)
private String uploaderName; private String uploaderName;
/**
* 图层名称
*/
@TableField(exist = false)
private String layerName;
/**
* vordmId
*/
@TableField(exist = false)
private String vordmId;
/**
* 图层名称
*/
@TableField(exist = false)
private String msName;
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -35,9 +35,13 @@
<select id="getEntityDataList" resultType="com.kening.vordm.entity.EntityData"> <select id="getEntityDataList" resultType="com.kening.vordm.entity.EntityData">
select select
<include refid="Base_Column_List"/>, <include refid="Base_Column_List"/>,
gi.username AS uploaderName gi.username AS uploaderName,
ms.layer_name,
ms.vordm_id,
ms.name AS msName
from entity_data ed from entity_data ed
left join guest_info gi on gi.id = ed.uploader_id inner join guest_info gi on gi.id = ed.uploader_id
inner join map_server ms on ms.disaster_id = ed.disaster_id
<where> <where>
<if test="entityData.disasterId != null and entityData.disasterId != ''"> <if test="entityData.disasterId != null and entityData.disasterId != ''">
ed.disaster_id = #{entityData.disasterId} ed.disaster_id = #{entityData.disasterId}