|
|
@ -31,6 +31,7 @@ |
|
|
|
<result property="relationStyleId" column="relation_style_id" jdbcType="VARCHAR"/> |
|
|
|
<result property="relationStyleName" column="relation_style_name" jdbcType="VARCHAR"/> |
|
|
|
<result property="extendData" column="extend_data" jdbcType="VARCHAR"/> |
|
|
|
<result property="isNeedCluster" column="is_need_cluster" jdbcType="VARCHAR"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="Base_Column_List"> |
|
|
@ -40,7 +41,7 @@ |
|
|
|
service_type,service_index,annotation_service_index,pub_date, |
|
|
|
create_user,layer_3d_type,tile_size, |
|
|
|
tile_matrix_set,dir_id,dir_name,remark,format,data,tileset_option,is_layer_group, |
|
|
|
relation_service_id,relation_service_name,relation_style_id,relation_style_name,extend_data |
|
|
|
relation_service_id,relation_service_name,relation_style_id,relation_style_name,extend_data,is_need_cluster |
|
|
|
</sql> |
|
|
|
|
|
|
|
|
|
|
@ -53,7 +54,7 @@ |
|
|
|
pub_date, |
|
|
|
create_user,layer_3d_type,tile_size, |
|
|
|
tile_matrix_set,dir_id,dir_name,remark,format,data,tileset_option,is_layer_group, |
|
|
|
relation_service_id,relation_service_name,relation_style_id,relation_style_name,extend_data |
|
|
|
relation_service_id,relation_service_name,relation_style_id,relation_style_name,extend_data,is_need_cluster |
|
|
|
</sql> |
|
|
|
|
|
|
|
<insert id="saveLayer"> |
|
|
@ -85,6 +86,7 @@ |
|
|
|
<if test="relationStyleId != null">relation_style_id,</if> |
|
|
|
<if test="relationStyleName != null">relation_style_name,</if> |
|
|
|
<if test="extendData != null">extend_data,</if> |
|
|
|
<if test="isNeedCluster != null">is_need_cluster,</if> |
|
|
|
is_valid, |
|
|
|
</trim> |
|
|
|
values |
|
|
@ -115,6 +117,7 @@ |
|
|
|
<if test="relationStyleId != null">#{relationStyleId,jdbcType=VARCHAR},</if> |
|
|
|
<if test="relationStyleName != null">#{relationStyleName,jdbcType=VARCHAR},</if> |
|
|
|
<if test="extendData != null">#{extendData,jdbcType=VARCHAR},</if> |
|
|
|
<if test="isNeedCluster != null">#{isNeedCluster,jdbcType=VARCHAR},</if> |
|
|
|
1, |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
@ -149,6 +152,7 @@ |
|
|
|
<if test="relationStyleId != null">relation_style_id=#{relationStyleId,jdbcType=VARCHAR},</if> |
|
|
|
<if test="relationStyleName != null">relation_style_name=#{relationStyleName,jdbcType=VARCHAR},</if> |
|
|
|
<if test="extendData != null">extend_data=#{extendData,jdbcType=VARCHAR},</if> |
|
|
|
<if test="isNeedCluster != null">is_need_cluster=#{isNeedCluster,jdbcType=VARCHAR},</if> |
|
|
|
</set> |
|
|
|
where is_valid=1 |
|
|
|
AND |
|
|
|