前端服务共享
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
<result column="component" property="component" jdbcType="VARCHAR"/>
|
||||
<result column="icon" property="icon" jdbcType="VARCHAR"/>
|
||||
<result column="type" property="type" jdbcType="INTEGER"/>
|
||||
<result column="view_type" property="viewType" jdbcType="VARCHAR"/>
|
||||
<result column="iframe_url" property="iframeUrl" jdbcType="VARCHAR"/>
|
||||
<result column="service" property="service" jdbcType="VARCHAR"/>
|
||||
<result column="layout" property="layout" jdbcType="VARCHAR"/>
|
||||
<result column="order_num" property="orderNum" jdbcType="INTEGER"/>
|
||||
<result column="description" property="description" jdbcType="VARCHAR"/>
|
||||
@@ -29,7 +32,7 @@
|
||||
|
||||
<!-- 基础列 -->
|
||||
<sql id="Base_Column_List">
|
||||
view_id, name, parent_id, url, component, icon, type, layout, order_num, description,
|
||||
view_id, name, parent_id, url, component, icon, type, view_type, iframe_url, service, layout, order_num, description,
|
||||
optsn, creator, updater, dept_path, remark, create_time, update_time, delete_time, deleted
|
||||
</sql>
|
||||
|
||||
@@ -44,11 +47,14 @@
|
||||
layout,
|
||||
order_num,
|
||||
optsn,
|
||||
<!-- 可选字段:parent_id, url, component, icon, description 及基础字段 -->
|
||||
<!-- 可选字段:parent_id, url, component, icon, view_type, iframe_url, service, description 及基础字段 -->
|
||||
<if test="parentId != null and parentId != ''">parent_id,</if>
|
||||
<if test="url != null and url != ''">url,</if>
|
||||
<if test="component != null and component != ''">component,</if>
|
||||
<if test="icon != null and icon != ''">icon,</if>
|
||||
<if test="viewType != null and viewType != ''">view_type,</if>
|
||||
<if test="iframeUrl != null and iframeUrl != ''">iframe_url,</if>
|
||||
<if test="service != null and service != ''">service,</if>
|
||||
<if test="description != null and description != ''">description,</if>
|
||||
<if test="creator != null and creator != ''">creator,</if>
|
||||
<if test="deptPath != null and deptPath != ''">dept_path,</if>
|
||||
@@ -72,6 +78,9 @@
|
||||
<if test="url != null and url != ''">#{url},</if>
|
||||
<if test="component != null and component != ''">#{component},</if>
|
||||
<if test="icon != null and icon != ''">#{icon},</if>
|
||||
<if test="viewType != null and viewType != ''">#{viewType},</if>
|
||||
<if test="iframeUrl != null and iframeUrl != ''">#{iframeUrl},</if>
|
||||
<if test="service != null and service != ''">#{service},</if>
|
||||
<if test="description != null and description != ''">#{description},</if>
|
||||
<if test="creator != null and creator != ''">#{creator},</if>
|
||||
<if test="deptPath != null and deptPath != ''">#{deptPath},</if>
|
||||
@@ -105,6 +114,15 @@
|
||||
<if test="type != null">
|
||||
type = #{type},
|
||||
</if>
|
||||
<if test="viewType != null">
|
||||
view_type = #{viewType},
|
||||
</if>
|
||||
<if test="iframeUrl != null">
|
||||
iframe_url = #{iframeUrl},
|
||||
</if>
|
||||
<if test="service != null">
|
||||
service = #{service},
|
||||
</if>
|
||||
<if test="layout != null">
|
||||
layout = #{layout},
|
||||
</if>
|
||||
@@ -168,6 +186,12 @@
|
||||
<if test="filter.type != null">
|
||||
AND type = #{filter.type}
|
||||
</if>
|
||||
<if test="filter.viewType != null and filter.viewType != ''">
|
||||
AND view_type = #{filter.viewType}
|
||||
</if>
|
||||
<if test="filter.service != null and filter.service != ''">
|
||||
AND service = #{filter.service}
|
||||
</if>
|
||||
<if test="filter.deptPath != null and filter.deptPath != ''">
|
||||
AND dept_path LIKE CONCAT(#{filter.deptPath}, '%')
|
||||
</if>
|
||||
@@ -194,6 +218,12 @@
|
||||
<if test="filter.type != null">
|
||||
AND type = #{filter.type}
|
||||
</if>
|
||||
<if test="filter.viewType != null and filter.viewType != ''">
|
||||
AND view_type = #{filter.viewType}
|
||||
</if>
|
||||
<if test="filter.service != null and filter.service != ''">
|
||||
AND service = #{filter.service}
|
||||
</if>
|
||||
<if test="filter.deptPath != null and filter.deptPath != ''">
|
||||
AND dept_path LIKE CONCAT(#{filter.deptPath}, '%')
|
||||
</if>
|
||||
@@ -220,6 +250,12 @@
|
||||
<if test="filter.type != null">
|
||||
AND type = #{filter.type}
|
||||
</if>
|
||||
<if test="filter.viewType != null and filter.viewType != ''">
|
||||
AND view_type = #{filter.viewType}
|
||||
</if>
|
||||
<if test="filter.service != null and filter.service != ''">
|
||||
AND service = #{filter.service}
|
||||
</if>
|
||||
<if test="filter.deptPath != null and filter.deptPath != ''">
|
||||
AND dept_path LIKE CONCAT(#{filter.deptPath}, '%')
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user