|
|
|
|
@ -43,6 +43,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="processHandleResolution" column="process_handle_resolution" />
|
|
|
|
|
<result property="knowledgeRepairId" column="knowledge_repair_id" />
|
|
|
|
|
<result property="verifyMethod" column="verify_method" />
|
|
|
|
|
<result property="designOperations" column="design_operations" />
|
|
|
|
|
<result property="faultDescription" column="fault_description" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<resultMap id="DmsBillsFaultInstanceDmsFaultInstanceActivityResult" type="DmsBillsFaultInstance" extends="DmsBillsFaultInstanceResult">
|
|
|
|
|
@ -80,7 +82,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectDmsBillsFaultInstanceVo">
|
|
|
|
|
select repair_instance_id, fault_source_type, fault_source_id, bills_fault_code, bills_status, apply_user, apply_user_phone, apply_time, real_begin_time, real_end_time, require_end_time, instance_type, is_flag, remark, create_by, create_time, update_by, update_time, device_id, APPROVESTATUS AS approveStatus, knowledge_repair_id, verify_method, repair_confirm, confirm_user from dms_bills_fault_instance
|
|
|
|
|
select repair_instance_id, fault_source_type,
|
|
|
|
|
fault_source_id, bills_fault_code, bills_status, apply_user,
|
|
|
|
|
apply_user_phone, apply_time, real_begin_time, real_end_time, require_end_time,
|
|
|
|
|
instance_type, is_flag, remark, create_by, create_time, update_by, update_time, device_id,
|
|
|
|
|
approveStatus, knowledge_repair_id, verify_method, repair_confirm,
|
|
|
|
|
confirm_user,
|
|
|
|
|
design_operations,
|
|
|
|
|
fault_description
|
|
|
|
|
from dms_bills_fault_instance
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectDmsBillsFaultInstanceList" parameterType="DmsBillsFaultInstance" resultMap="DmsBillsFaultInstanceResult">
|
|
|
|
|
@ -125,6 +135,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="applyUser != null">apply_user,</if>
|
|
|
|
|
<if test="applyUserPhone != null">apply_user_phone,</if>
|
|
|
|
|
<if test="faultLevel != null">fault_level,</if>
|
|
|
|
|
<if test="faultDescription != null">fault_description,</if>
|
|
|
|
|
<if test="designOperations != null">design_operations,</if>
|
|
|
|
|
<if test="applyTime != null">apply_time,</if>
|
|
|
|
|
<if test="realBeginTime != null">real_begin_time,</if>
|
|
|
|
|
<if test="realEndTime != null">real_end_time,</if>
|
|
|
|
|
@ -151,6 +163,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="applyUser != null">#{applyUser},</if>
|
|
|
|
|
<if test="applyUserPhone != null">#{applyUserPhone},</if>
|
|
|
|
|
<if test="faultLevel != null">#{faultLevel},</if>
|
|
|
|
|
<if test="faultDescription != null">#{faultDescription},</if>
|
|
|
|
|
<if test="designOperations != null">#{designOperations},</if>
|
|
|
|
|
<if test="applyTime != null">#{applyTime},</if>
|
|
|
|
|
<if test="realBeginTime != null">#{realBeginTime},</if>
|
|
|
|
|
<if test="realEndTime != null">#{realEndTime},</if>
|
|
|
|
|
@ -180,6 +194,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="applyUser != null">apply_user = #{applyUser},</if>
|
|
|
|
|
<if test="applyUserPhone != null">apply_user_phone = #{applyUserPhone},</if>
|
|
|
|
|
<if test="faultLevel != null">fault_level = #{faultLevel},</if>
|
|
|
|
|
<if test="faultDescription != null">fault_description = #{faultDescription},</if>
|
|
|
|
|
<if test="designOperations != null">design_operations = #{designOperations},</if>
|
|
|
|
|
<if test="applyTime != null">apply_time = #{applyTime},</if>
|
|
|
|
|
<if test="realBeginTime != null">real_begin_time = #{realBeginTime},</if>
|
|
|
|
|
<if test="realEndTime != null">real_end_time = #{realEndTime},</if>
|
|
|
|
|
@ -277,6 +293,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
b.process_handle_status as sub_process_handle_status, b.process_step_order as sub_process_step_order,
|
|
|
|
|
b.start_time as sub_start_time, b.end_time as sub_end_time, b.handle_user_id as sub_handle_user_id,
|
|
|
|
|
b.handle_by as sub_handle_by, b.handle_time as sub_handle_time,
|
|
|
|
|
b.create_by as sub_create_by, b.create_time as sub_create_time, b.update_by as sub_update_by, b.update_time as sub_update_time,
|
|
|
|
|
b.repair_content as sub_repair_content, b.protected_method as sub_protected_method,
|
|
|
|
|
b.repairer as sub_repairer, b.repair_confirm as sub_repair_confirm, b.confirm_time as sub_confirm_time,
|
|
|
|
|
-- 将第1步的关键字段固定从首步别名表中读取,避免被后续步骤的空值覆盖
|
|
|
|
|
|