|
@@ -37,11 +37,17 @@
|
|
|
where id = #{id}
|
|
|
</select>
|
|
|
|
|
|
+ <select id="selectDragTableGroupByGroupKey" parameterType="String" resultType="string">
|
|
|
+ select group_table_info from drag_table_group
|
|
|
+ where group_key = #{groupKey}
|
|
|
+ </select>
|
|
|
+
|
|
|
<insert id="insertDragTableGroup" parameterType="com.ruoyi.system.entity.DragTableGroup">
|
|
|
insert into drag_table_group
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">id,</if>
|
|
|
<if test="groupName != null">group_name,</if>
|
|
|
+ <if test="groupKey!=null">group_key,</if>
|
|
|
<if test="groupDescription != null">group_description,</if>
|
|
|
<if test="groupTableInfo != null">group_table_info,</if>
|
|
|
<if test="createById != null">create_by_id,</if>
|
|
@@ -54,6 +60,7 @@
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
|
<if test="groupName != null">#{groupName},</if>
|
|
|
+ <if test="groupKey != null">#{groupKey},</if>
|
|
|
<if test="groupDescription != null">#{groupDescription},</if>
|
|
|
<if test="groupTableInfo != null">#{groupTableInfo},</if>
|
|
|
<if test="createById != null">#{createById},</if>
|