|
@@ -6,7 +6,7 @@
|
|
|
|
|
|
<resultMap type="DataDownResult" id="DataDownResultResult">
|
|
|
<result property="id" column="id"/>
|
|
|
- <result property="order" column="order"/>
|
|
|
+ <result property="order" column="orders"/>
|
|
|
<result property="name" column="name"/>
|
|
|
<result property="path" column="path"/>
|
|
|
<result property="remark" column="remark"/>
|
|
@@ -19,14 +19,14 @@
|
|
|
|
|
|
<sql id="selectDataDownResultVo">
|
|
|
select id,
|
|
|
- order, name, path, remark, is_delete, create_by, create_time, update_by, update_time
|
|
|
+ orders, name, path, remark, is_delete, create_by, create_time, update_by, update_time
|
|
|
from PHM.PHM_DATA_DOWN_RESULT
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectDataDownResultList" parameterType="DataDownResult" resultMap="DataDownResultResult">
|
|
|
<include refid="selectDataDownResultVo"/>
|
|
|
<where>
|
|
|
- <if test="order != null and order != ''">and order = #{order}</if>
|
|
|
+ <if test="order != null and order != ''">and orders = #{order}</if>
|
|
|
<if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if>
|
|
|
<if test="path != null and path != ''">and path = #{path}</if>
|
|
|
<if test="isDelete != null ">and is_delete = #{isDelete}</if>
|
|
@@ -42,7 +42,7 @@
|
|
|
insert into PHM.PHM_DATA_DOWN_RESULT
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">id,</if>
|
|
|
- <if test="order != null">order,</if>
|
|
|
+ <if test="order != null">orders,</if>
|
|
|
<if test="name != null">name,</if>
|
|
|
<if test="path != null">path,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
@@ -69,7 +69,7 @@
|
|
|
<update id="updateDataDownResult" parameterType="DataDownResult">
|
|
|
update PHM.PHM_DATA_DOWN_RESULT
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
- <if test="order != null">order = #{order},</if>
|
|
|
+ <if test="order != null">orders = #{order},</if>
|
|
|
<if test="name != null">name = #{name},</if>
|
|
|
<if test="path != null">path = #{path},</if>
|
|
|
<if test="remark != null">remark = #{remark},</if>
|