serv-控制器

This commit is contained in:
2025-10-15 17:58:20 +08:00
parent 5f76c539f4
commit 0dd65e9eda
59 changed files with 4974 additions and 29 deletions

View File

@@ -10,6 +10,7 @@
<result column="parent_id" property="parentID" jdbcType="VARCHAR"/>
<result column="url" property="url" jdbcType="VARCHAR"/>
<result column="component" property="component" jdbcType="VARCHAR"/>
<result column="layout" property="layout" jdbcType="VARCHAR"/>
<result column="icon" property="icon" jdbcType="VARCHAR"/>
<result column="order_num" property="orderNum" jdbcType="INTEGER"/>
<result column="type" property="type" jdbcType="INTEGER"/>
@@ -23,7 +24,7 @@
<!-- 基础字段 -->
<sql id="Base_Column_List">
m.id, m.menu_id, m.name, m.parent_id, m.url, m.component, m.icon, m.order_num, m.type,
m.id, m.menu_id, m.name, m.parent_id, m.url, m.component, m.layout, m.icon, m.order_num, m.type,
m.creator, m.updater, m.create_time, m.update_time, m.delete_time, m.deleted
</sql>
@@ -169,6 +170,8 @@
<if test="url != null">url,</if>
<if test="component != null">component,</if>
<if test="icon != null">icon,</if>
<if test="layout != null">layout,</if>
<if test="orderNum != null">order_num,</if>
<if test="creator != null">creator,</if>
<if test="createTime != null">create_time,</if>
deleted
@@ -182,6 +185,8 @@
<if test="url != null">#{url},</if>
<if test="component != null">#{component},</if>
<if test="icon != null">#{icon},</if>
<if test="layout != null">#{layout},</if>
<if test="orderNum != null">#{orderNum},</if>
<if test="creator != null">#{creator},</if>
<if test="createTime != null">#{createTime},</if>
0
@@ -199,6 +204,8 @@
<if test="url != null">url = #{url},</if>
<if test="component != null">component = #{component},</if>
<if test="icon != null">icon = #{icon},</if>
<if test="layout != null">layout = #{layout},</if>
<if test="orderNum != null">order_num = #{orderNum},</if>
<if test="updater != null">updater = #{updater},</if>
update_time = NOW()
</set>