|
@@ -22,6 +22,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="isSelection" column="is_selection"/>
|
|
|
+ <result property="echoData" column="echo_data"/>
|
|
|
+ <result property="menuId" column="menu_id"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.ruoyi.system.entity.vo.DragTableVo" id="DragTableVoResult">
|
|
@@ -36,10 +38,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="isSelection" column="is_selection"/>
|
|
|
<result property="tableSql" column="table_sql"/>
|
|
|
<result property="tableExportField" column="table_export_field"/>
|
|
|
+ <result property="echoData" column="echo_data"/>
|
|
|
+ <result property="menuId" column="menu_id"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectDragTableVo">
|
|
|
- select t_id, dt_name, dt_nickname, table_key, sql_key, dt_table_name,time_format, dt_notes, dt_column_name, spare, spare1, del_flag, create_by, create_time, update_by, update_time, is_selection from drag_table
|
|
|
+ select t_id, dt_name, dt_nickname, table_key, sql_key, dt_table_name,time_format, dt_notes, dt_column_name, spare, spare1, del_flag, create_by, create_time, update_by, update_time, is_selection,echo_data,menu_id from drag_table
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectDragTableList" parameterType="com.ruoyi.system.entity.DragTable" resultMap="DragTableResult">
|
|
@@ -78,6 +82,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="isSelection != null">is_selection,</if>
|
|
|
+ <if test="echoData != null">echo_data,</if>
|
|
|
+ <if test="menuId != null">menu_id,</if>
|
|
|
create_time
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -94,6 +100,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="isSelection != null">#{isSelection},</if>
|
|
|
+ <if test="echoData != null">#{echoData},</if>
|
|
|
+ <if test="menuId != null">#{menuId},</if>
|
|
|
now()
|
|
|
</trim>
|
|
|
</insert>
|
|
@@ -117,6 +125,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="isSelection != null">is_selection = #{isSelection},</if>
|
|
|
+ <if test="echoData != null">echo_data = #{echoData},</if>
|
|
|
+ <if test="menuId != null">menu_id = #{menuId},</if>
|
|
|
</trim>
|
|
|
where t_id = #{tId}
|
|
|
</update>
|