主数据按钮,保存到菜单表

This commit is contained in:
lvleigang 2024-07-01 11:24:39 +08:00
parent fde35bf879
commit 99c9bc958a
1 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,8 @@
<if test="optionName != null and optionName != ''">option_name ,</if>
<if test="dataType != null and dataType != ''"> data_type,</if>
<if test="remark != null and remark != ''"> remark,</if>
<if test="sorts == null"> sorts , </if>
<if test="sorts != null"> sorts,</if>
<!-- <if test="sorts == null"> sorts , </if>-->
<if test="create_user_id != null and create_user_id != ''"> create_user_id , </if>
<if test="modify_user_id != null and modify_user_id != ''"> modify_user_id , </if>
<if test="org_id != null and org_id != ''"> org_id , </if>
@ -83,7 +84,7 @@
<if test="dataType != null and dataType != ''"> #{dataType},</if>
<if test="remark != null and remark != ''"> #{remark},</if>
<if test="sorts != null"> #{sorts} ,</if>
<if test="sorts == null ">(select (max(IFNULL( a.sorts, 0 )) + 1) as sort from ${dbName} a WHERE a.sts = 'Y' ),</if>
<!-- <if test="sorts == null ">(select (max(IFNULL( a.sorts, 0 )) + 1) as sort from ${dbName} a WHERE a.sts = 'Y' ),</if>-->
<if test="create_user_id != null and create_user_id != ''"> #{create_user_id} ,</if>
<if test="modify_user_id != null and modify_user_id != ''"> #{modify_user_id} ,</if>
<if test="org_id != null and org_id != ''"> #{org_id} ,</if>