|
|
|
@ -26,7 +26,6 @@
|
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
|
|
<result property="picturePath" column="picture_path" />
|
|
|
|
|
<result property="errorFlag" column="error_flag" />
|
|
|
|
|
<result property="faultType" column="fault_type" />
|
|
|
|
|
<result property="repairReach" column="repair_reach" />
|
|
|
|
@ -38,7 +37,7 @@
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectEquOrderStandardVo">
|
|
|
|
|
select id, code, parent_code, order_code, standard_type, standard_name, detail_up_limit, detail_down_limit, detail_unit, detail_reach, actual_value, detail_error, factory_code, attr1, attr2, attr3, del_flag, create_by, create_time, update_by, update_time,picture_path,error_flag,fault_type,repair_reach,repair_value,repair_picture from equ_order_standard
|
|
|
|
|
select id, code, parent_code, order_code, standard_type, standard_name, detail_up_limit, detail_down_limit, detail_unit, detail_reach, actual_value, detail_error, factory_code, attr1, attr2, attr3, del_flag, create_by, create_time, update_by, update_time,error_flag,fault_type,repair_reach,repair_value,repair_picture from equ_order_standard
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectEquOrderStandardList" parameterType="EquOrderStandard" resultMap="EquOrderStandardResult">
|
|
|
|
@ -59,7 +58,6 @@
|
|
|
|
|
<if test="attr1 != null and attr1 != ''"> and attr1 = #{attr1}</if>
|
|
|
|
|
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
|
|
|
|
|
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
|
|
|
|
|
<if test="picturePath != null and picturePath != ''"> and picture_path = #{picturePath}</if>
|
|
|
|
|
<if test="errorFlag != null and errorFlag != ''"> and error_flag = #{errorFlag}</if>
|
|
|
|
|
<if test="faultType != null and faultType != ''"> and fault_type = #{faultType}</if>
|
|
|
|
|
<if test="repairReach != null and repairReach != ''"> and repair_reach = #{repairReach}</if>
|
|
|
|
@ -103,7 +101,6 @@
|
|
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
|
|
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
|
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
|
|
<if test="picturePath != null">picture_path,</if>
|
|
|
|
|
<if test="errorFlag != null">error_flag,</if>
|
|
|
|
|
<if test="faultType != null">fault_type,</if>
|
|
|
|
|
<if test="repairReach != null">repair_reach,</if>
|
|
|
|
@ -132,7 +129,6 @@
|
|
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
|
|
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
|
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
|
|
<if test="picturePath != null">#{picturePath},</if>
|
|
|
|
|
<if test="errorFlag != null">#{errorFlag},</if>
|
|
|
|
|
<if test="faultType != null">#{faultType},</if>
|
|
|
|
|
<if test="repairReach != null">#{repairReach},</if>
|
|
|
|
@ -180,7 +176,6 @@
|
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
|
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
|
|
<if test="picturePath != null">picture_path = #{picturePath},</if>
|
|
|
|
|
<if test="errorFlag != null">error_flag = #{errorFlag},</if>
|
|
|
|
|
<if test="faultType != null">fault_type = #{faultType},</if>
|
|
|
|
|
<if test="repairReach != null">repair_reach = #{repairReach},</if>
|
|
|
|
|