|
@@ -45,13 +45,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="remark" column="remark" />
|
|
|
+ <result property="ord" column="ord" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectDanganVo">
|
|
|
select dangan_id,
|
|
|
key_id,
|
|
|
dangan_no,dangan_name, status,
|
|
|
- sys_person, file_type, model, project_id, brand, run_device_id, relate_device_id, maintain_item_id, factory_time, project_time, use_unit, medium, maintain_time, page_address, test_address, build_factory, build_factory_time, factory_person, factory_person_phone, language, server_ip, server_location, server_info, server_based_yes_no, ops_person, charge_unit, mode, file_info,icon_info, create_by, create_time, update_by, update_time, remark from sys_dangan
|
|
|
+ sys_person, file_type, model, project_id, brand, run_device_id, relate_device_id, maintain_item_id, factory_time, project_time, use_unit, medium, maintain_time, page_address, test_address, build_factory, build_factory_time, factory_person, factory_person_phone, language, server_ip, server_location, server_info, server_based_yes_no, ops_person, charge_unit, mode, file_info,icon_info, create_by, create_time, update_by, update_time, remark,ord from sys_dangan
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectDanganList" parameterType="Dangan" resultMap="DanganResult">
|
|
@@ -91,6 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="mode != null and mode != ''"> and mode = #{mode}</if>
|
|
|
<if test="fileInfo != null and fileInfo != ''"> and file_info = #{fileInfo}</if>
|
|
|
<if test="iconInfo != null and iconInfo != ''"> and icon_info = #{iconInfo}</if>
|
|
|
+ <if test="ord != null and ord != ''"> and ord = #{ord}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -141,6 +143,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
|
+ <if test="ord != null">ord,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="danganName != null">#{danganName},</if>
|
|
@@ -182,6 +185,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
+ <if test="ord != null">#{ord},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -227,6 +231,7 @@ 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="remark != null">remark = #{remark},</if>
|
|
|
+ <if test="ord != null">ord = #{ord},</if>
|
|
|
</trim>
|
|
|
where dangan_id = #{danganId}
|
|
|
</update>
|