|
@@ -1,7 +1,7 @@
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
|
<mapper namespace="cn.com.ty.lift.business.emergency.mapper.EmergencyRepairMapper" >
|
|
|
- <resultMap id="BaseResultMap" type="cn.com.ty.lift.business.emergency.entity.EmergencyRepair" >
|
|
|
+ <resultMap id="ConditionResultMap" type="cn.com.ty.lift.business.emergency.dto.RepairResult" >
|
|
|
<id column="id" property="id" jdbcType="BIGINT" />
|
|
|
<result column="mt_company_id" property="mtCompanyId" jdbcType="BIGINT" />
|
|
|
<result column="lift_id" property="liftId" jdbcType="BIGINT" />
|
|
@@ -38,464 +38,43 @@
|
|
|
<result column="sparepart" property="sparepart" jdbcType="LONGVARCHAR" />
|
|
|
<result column="worker_fault_description" property="workerFaultDescription" jdbcType="LONGVARCHAR" />
|
|
|
<result column="field_description" property="fieldDescription" jdbcType="LONGVARCHAR" />
|
|
|
- <result column="procedure" property="procedure" jdbcType="LONGVARCHAR" />
|
|
|
+ <result column="repair_procedure" property="repairProcedure" jdbcType="LONGVARCHAR" />
|
|
|
+ <result column="project_name" property="projectName" jdbcType="VARCHAR" />
|
|
|
+ <result column="area_name" property="areaName" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
-
|
|
|
|
|
|
- <sql id="Base_Column_List" >
|
|
|
- id, mt_company_id, lift_id, is_trapped, is_critical, source, caller_id, caller_tel,
|
|
|
- caller_date, stop_date, recovery_date, charge, worker_id, worker_tel, position, status,
|
|
|
- creator_id, create_date, repair_reason, parts_cost, safety_confirm, read_time, worker_id1,
|
|
|
- wl_floor, wl_liftdoor, wl_fault, wl_fault_reason, wl_fault_handle, wl_run_direction,
|
|
|
- cost_payment_date, cost_total, project_id,caller_fault_description, sparepart, worker_fault_description, field_description,
|
|
|
- procedure
|
|
|
- </sql>
|
|
|
-
|
|
|
- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" >
|
|
|
- select
|
|
|
- <include refid="Base_Column_List" />
|
|
|
- from emergency_repair
|
|
|
- where id = #{id,jdbcType=BIGINT}
|
|
|
- </select>
|
|
|
-
|
|
|
- <select id="listByCondition" resultMap="BaseResultMap" parameterType="cn.com.ty.lift.business.emergency.dto.RepairCondition" >
|
|
|
+ <select id="listByCondition" resultMap="ConditionResultMap" parameterType="cn.com.ty.lift.business.emergency.dto.RepairCondition" >
|
|
|
SELECT
|
|
|
- er.id,
|
|
|
- er.caller_date,
|
|
|
- er.caller_tel,
|
|
|
- er.repair_reason,
|
|
|
+ er.*,
|
|
|
+ pr.id AS project_id,
|
|
|
pr.project_name,
|
|
|
re.area_name
|
|
|
FROM
|
|
|
emergency_repair er
|
|
|
LEFT JOIN project pr ON er.project_id = pr.id
|
|
|
LEFT JOIN region re ON pr.region_id = re.id
|
|
|
- WHERE
|
|
|
- pr.id =
|
|
|
- AND pr.region_id =
|
|
|
- AND er.lift_id =
|
|
|
- AND er.worker_id =
|
|
|
- AND er.caller_date BETWEEN ? AND ?
|
|
|
+ WHERE 1 = 1
|
|
|
+ <if test="condition.projectId != null and condition.projectId > 0">
|
|
|
+ AND pr.id = #{condition.projectId}
|
|
|
+ </if>
|
|
|
+ <if test="condition.regionId != null and condition.regionId > 0">
|
|
|
+ AND pr.region_id = #{condition.regionId}
|
|
|
+ </if>
|
|
|
+ <if test="condition.liftId != null and condition.liftId > 0">
|
|
|
+ AND er.lift_id = #{condition.liftId}
|
|
|
+ </if>
|
|
|
+ <if test="condition.workerId != null and condition.workerId > 0">
|
|
|
+ AND er.worker_id = #{condition.workerId}
|
|
|
+ </if>
|
|
|
+ <if test="condition.repairBegin != null">
|
|
|
+ AND er.caller_date > #{condition.repairBegin}
|
|
|
+ </if>
|
|
|
+ <if test="condition.repairEnd != null">
|
|
|
+ AND er.caller_date < #{condition.repairEnd}
|
|
|
+ </if>
|
|
|
+ <if test="condition.status != null">
|
|
|
+ AND er.status = #{condition.status}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Long" >
|
|
|
- delete from emergency_repair
|
|
|
- where id = #{id,jdbcType=BIGINT}
|
|
|
- </delete>
|
|
|
-
|
|
|
- <insert id="insert" parameterType="cn.com.ty.lift.business.emergency.entity.EmergencyRepair" >
|
|
|
- insert into emergency_repair (id, mt_company_id, lift_id,
|
|
|
- is_trapped, is_critical, source,
|
|
|
- caller_id, caller_tel, caller_date,
|
|
|
- stop_date, recovery_date, charge,
|
|
|
- worker_id, worker_tel, position,
|
|
|
- status, creator_id, create_date,
|
|
|
- repair_reason, parts_cost, safety_confirm,
|
|
|
- read_time, worker_id1, wl_floor,
|
|
|
- wl_liftdoor, wl_fault, wl_fault_reason,
|
|
|
- wl_fault_handle, wl_run_direction, cost_payment_date,
|
|
|
- cost_total, project_id, caller_fault_description,
|
|
|
- sparepart, worker_fault_description,
|
|
|
- field_description, procedure)
|
|
|
- values (#{id,jdbcType=BIGINT}, #{mtCompanyId,jdbcType=BIGINT}, #{liftId,jdbcType=BIGINT},
|
|
|
- #{isTrapped,jdbcType=TINYINT}, #{isCritical,jdbcType=TINYINT}, #{source,jdbcType=TINYINT},
|
|
|
- #{callerId,jdbcType=BIGINT}, #{callerTel,jdbcType=CHAR}, #{callerDate,jdbcType=TIMESTAMP},
|
|
|
- #{stopDate,jdbcType=TIMESTAMP}, #{recoveryDate,jdbcType=TIMESTAMP}, #{charge,jdbcType=VARCHAR},
|
|
|
- #{workerId,jdbcType=BIGINT}, #{workerTel,jdbcType=CHAR}, #{position,jdbcType=VARCHAR},
|
|
|
- #{status,jdbcType=TINYINT}, #{creatorId,jdbcType=BIGINT}, #{createDate,jdbcType=TIMESTAMP},
|
|
|
- #{repairReason,jdbcType=TINYINT}, #{partsCost,jdbcType=DECIMAL}, #{safetyConfirm,jdbcType=VARCHAR},
|
|
|
- #{readTime,jdbcType=TIMESTAMP}, #{workerId1,jdbcType=BIGINT}, #{wlFloor,jdbcType=INTEGER},
|
|
|
- #{wlLiftdoor,jdbcType=TINYINT}, #{wlFault,jdbcType=VARCHAR}, #{wlFaultReason,jdbcType=VARCHAR},
|
|
|
- #{wlFaultHandle,jdbcType=VARCHAR}, #{wlRunDirection,jdbcType=TINYINT}, #{costPaymentDate,jdbcType=TIMESTAMP},
|
|
|
- #{costTotal,jdbcType=DECIMAL}, #{projectId,jdbcType=INTEGER}, #{callerFaultDescription,jdbcType=LONGVARCHAR},
|
|
|
- #{sparepart,jdbcType=LONGVARCHAR}, #{workerFaultDescription,jdbcType=LONGVARCHAR},
|
|
|
- #{fieldDescription,jdbcType=LONGVARCHAR}, #{procedure,jdbcType=LONGVARCHAR})
|
|
|
- </insert>
|
|
|
-
|
|
|
- <insert id="insertSelective" parameterType="cn.com.ty.lift.business.emergency.entity.EmergencyRepair" >
|
|
|
- insert into emergency_repair
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
- <if test="id != null" >
|
|
|
- id,
|
|
|
- </if>
|
|
|
- <if test="mtCompanyId != null" >
|
|
|
- mt_company_id,
|
|
|
- </if>
|
|
|
- <if test="liftId != null" >
|
|
|
- lift_id,
|
|
|
- </if>
|
|
|
- <if test="isTrapped != null" >
|
|
|
- is_trapped,
|
|
|
- </if>
|
|
|
- <if test="isCritical != null" >
|
|
|
- is_critical,
|
|
|
- </if>
|
|
|
- <if test="source != null" >
|
|
|
- source,
|
|
|
- </if>
|
|
|
- <if test="callerId != null" >
|
|
|
- caller_id,
|
|
|
- </if>
|
|
|
- <if test="callerTel != null" >
|
|
|
- caller_tel,
|
|
|
- </if>
|
|
|
- <if test="callerDate != null" >
|
|
|
- caller_date,
|
|
|
- </if>
|
|
|
- <if test="stopDate != null" >
|
|
|
- stop_date,
|
|
|
- </if>
|
|
|
- <if test="recoveryDate != null" >
|
|
|
- recovery_date,
|
|
|
- </if>
|
|
|
- <if test="charge != null" >
|
|
|
- charge,
|
|
|
- </if>
|
|
|
- <if test="workerId != null" >
|
|
|
- worker_id,
|
|
|
- </if>
|
|
|
- <if test="workerTel != null" >
|
|
|
- worker_tel,
|
|
|
- </if>
|
|
|
- <if test="position != null" >
|
|
|
- position,
|
|
|
- </if>
|
|
|
- <if test="status != null" >
|
|
|
- status,
|
|
|
- </if>
|
|
|
- <if test="creatorId != null" >
|
|
|
- creator_id,
|
|
|
- </if>
|
|
|
- <if test="createDate != null" >
|
|
|
- create_date,
|
|
|
- </if>
|
|
|
- <if test="repairReason != null" >
|
|
|
- repair_reason,
|
|
|
- </if>
|
|
|
- <if test="partsCost != null" >
|
|
|
- parts_cost,
|
|
|
- </if>
|
|
|
- <if test="safetyConfirm != null" >
|
|
|
- safety_confirm,
|
|
|
- </if>
|
|
|
- <if test="readTime != null" >
|
|
|
- read_time,
|
|
|
- </if>
|
|
|
- <if test="workerId1 != null" >
|
|
|
- worker_id1,
|
|
|
- </if>
|
|
|
- <if test="wlFloor != null" >
|
|
|
- wl_floor,
|
|
|
- </if>
|
|
|
- <if test="wlLiftdoor != null" >
|
|
|
- wl_liftdoor,
|
|
|
- </if>
|
|
|
- <if test="wlFault != null" >
|
|
|
- wl_fault,
|
|
|
- </if>
|
|
|
- <if test="wlFaultReason != null" >
|
|
|
- wl_fault_reason,
|
|
|
- </if>
|
|
|
- <if test="wlFaultHandle != null" >
|
|
|
- wl_fault_handle,
|
|
|
- </if>
|
|
|
- <if test="wlRunDirection != null" >
|
|
|
- wl_run_direction,
|
|
|
- </if>
|
|
|
- <if test="costPaymentDate != null" >
|
|
|
- cost_payment_date,
|
|
|
- </if>
|
|
|
- <if test="costTotal != null" >
|
|
|
- cost_total,
|
|
|
- </if>
|
|
|
- <if test="projectId != null" >
|
|
|
- project_id,
|
|
|
- </if>
|
|
|
- <if test="callerFaultDescription != null" >
|
|
|
- caller_fault_description,
|
|
|
- </if>
|
|
|
- <if test="sparepart != null" >
|
|
|
- sparepart,
|
|
|
- </if>
|
|
|
- <if test="workerFaultDescription != null" >
|
|
|
- worker_fault_description,
|
|
|
- </if>
|
|
|
- <if test="fieldDescription != null" >
|
|
|
- field_description,
|
|
|
- </if>
|
|
|
- <if test="procedure != null" >
|
|
|
- procedure,
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
- <if test="id != null" >
|
|
|
- #{id,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="mtCompanyId != null" >
|
|
|
- #{mtCompanyId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="liftId != null" >
|
|
|
- #{liftId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="isTrapped != null" >
|
|
|
- #{isTrapped,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="isCritical != null" >
|
|
|
- #{isCritical,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="source != null" >
|
|
|
- #{source,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="callerId != null" >
|
|
|
- #{callerId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="callerTel != null" >
|
|
|
- #{callerTel,jdbcType=CHAR},
|
|
|
- </if>
|
|
|
- <if test="callerDate != null" >
|
|
|
- #{callerDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="stopDate != null" >
|
|
|
- #{stopDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="recoveryDate != null" >
|
|
|
- #{recoveryDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="charge != null" >
|
|
|
- #{charge,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="workerId != null" >
|
|
|
- #{workerId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="workerTel != null" >
|
|
|
- #{workerTel,jdbcType=CHAR},
|
|
|
- </if>
|
|
|
- <if test="position != null" >
|
|
|
- #{position,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="status != null" >
|
|
|
- #{status,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="creatorId != null" >
|
|
|
- #{creatorId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="createDate != null" >
|
|
|
- #{createDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="repairReason != null" >
|
|
|
- #{repairReason,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="partsCost != null" >
|
|
|
- #{partsCost,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="safetyConfirm != null" >
|
|
|
- #{safetyConfirm,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="readTime != null" >
|
|
|
- #{readTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="workerId1 != null" >
|
|
|
- #{workerId1,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="wlFloor != null" >
|
|
|
- #{wlFloor,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="wlLiftdoor != null" >
|
|
|
- #{wlLiftdoor,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="wlFault != null" >
|
|
|
- #{wlFault,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="wlFaultReason != null" >
|
|
|
- #{wlFaultReason,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="wlFaultHandle != null" >
|
|
|
- #{wlFaultHandle,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="wlRunDirection != null" >
|
|
|
- #{wlRunDirection,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="costPaymentDate != null" >
|
|
|
- #{costPaymentDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="costTotal != null" >
|
|
|
- #{costTotal,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="projectId != null" >
|
|
|
- #{projectId,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="callerFaultDescription != null" >
|
|
|
- #{callerFaultDescription,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- <if test="sparepart != null" >
|
|
|
- #{sparepart,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- <if test="workerFaultDescription != null" >
|
|
|
- #{workerFaultDescription,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- <if test="fieldDescription != null" >
|
|
|
- #{fieldDescription,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- <if test="procedure != null" >
|
|
|
- #{procedure,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- </insert>
|
|
|
-
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="cn.com.ty.lift.business.emergency.entity.EmergencyRepair" >
|
|
|
- update emergency_repair
|
|
|
- <set >
|
|
|
- <if test="mtCompanyId != null" >
|
|
|
- mt_company_id = #{mtCompanyId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="liftId != null" >
|
|
|
- lift_id = #{liftId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="isTrapped != null" >
|
|
|
- is_trapped = #{isTrapped,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="isCritical != null" >
|
|
|
- is_critical = #{isCritical,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="source != null" >
|
|
|
- source = #{source,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="callerId != null" >
|
|
|
- caller_id = #{callerId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="callerTel != null" >
|
|
|
- caller_tel = #{callerTel,jdbcType=CHAR},
|
|
|
- </if>
|
|
|
- <if test="callerDate != null" >
|
|
|
- caller_date = #{callerDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="stopDate != null" >
|
|
|
- stop_date = #{stopDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="recoveryDate != null" >
|
|
|
- recovery_date = #{recoveryDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="charge != null" >
|
|
|
- charge = #{charge,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="workerId != null" >
|
|
|
- worker_id = #{workerId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="workerTel != null" >
|
|
|
- worker_tel = #{workerTel,jdbcType=CHAR},
|
|
|
- </if>
|
|
|
- <if test="position != null" >
|
|
|
- position = #{position,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="status != null" >
|
|
|
- status = #{status,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="creatorId != null" >
|
|
|
- creator_id = #{creatorId,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="createDate != null" >
|
|
|
- create_date = #{createDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="repairReason != null" >
|
|
|
- repair_reason = #{repairReason,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="partsCost != null" >
|
|
|
- parts_cost = #{partsCost,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="safetyConfirm != null" >
|
|
|
- safety_confirm = #{safetyConfirm,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="readTime != null" >
|
|
|
- read_time = #{readTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="workerId1 != null" >
|
|
|
- worker_id1 = #{workerId1,jdbcType=BIGINT},
|
|
|
- </if>
|
|
|
- <if test="wlFloor != null" >
|
|
|
- wl_floor = #{wlFloor,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="wlLiftdoor != null" >
|
|
|
- wl_liftdoor = #{wlLiftdoor,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="wlFault != null" >
|
|
|
- wl_fault = #{wlFault,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="wlFaultReason != null" >
|
|
|
- wl_fault_reason = #{wlFaultReason,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="wlFaultHandle != null" >
|
|
|
- wl_fault_handle = #{wlFaultHandle,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="wlRunDirection != null" >
|
|
|
- wl_run_direction = #{wlRunDirection,jdbcType=TINYINT},
|
|
|
- </if>
|
|
|
- <if test="costPaymentDate != null" >
|
|
|
- cost_payment_date = #{costPaymentDate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="costTotal != null" >
|
|
|
- cost_total = #{costTotal,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="projectId != null" >
|
|
|
- project_id = #{projectId,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="callerFaultDescription != null" >
|
|
|
- caller_fault_description = #{callerFaultDescription,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- <if test="sparepart != null" >
|
|
|
- sparepart = #{sparepart,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- <if test="workerFaultDescription != null" >
|
|
|
- worker_fault_description = #{workerFaultDescription,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- <if test="fieldDescription != null" >
|
|
|
- field_description = #{fieldDescription,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- <if test="procedure != null" >
|
|
|
- procedure = #{procedure,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
- </set>
|
|
|
- where id = #{id,jdbcType=BIGINT}
|
|
|
- </update>
|
|
|
-
|
|
|
- <update id="updateByPrimaryKey" parameterType="cn.com.ty.lift.business.emergency.entity.EmergencyRepair" >
|
|
|
- update emergency_repair
|
|
|
- set mt_company_id = #{mtCompanyId,jdbcType=BIGINT},
|
|
|
- lift_id = #{liftId,jdbcType=BIGINT},
|
|
|
- is_trapped = #{isTrapped,jdbcType=TINYINT},
|
|
|
- is_critical = #{isCritical,jdbcType=TINYINT},
|
|
|
- source = #{source,jdbcType=TINYINT},
|
|
|
- caller_id = #{callerId,jdbcType=BIGINT},
|
|
|
- caller_tel = #{callerTel,jdbcType=CHAR},
|
|
|
- caller_date = #{callerDate,jdbcType=TIMESTAMP},
|
|
|
- stop_date = #{stopDate,jdbcType=TIMESTAMP},
|
|
|
- recovery_date = #{recoveryDate,jdbcType=TIMESTAMP},
|
|
|
- charge = #{charge,jdbcType=VARCHAR},
|
|
|
- worker_id = #{workerId,jdbcType=BIGINT},
|
|
|
- worker_tel = #{workerTel,jdbcType=CHAR},
|
|
|
- position = #{position,jdbcType=VARCHAR},
|
|
|
- status = #{status,jdbcType=TINYINT},
|
|
|
- creator_id = #{creatorId,jdbcType=BIGINT},
|
|
|
- create_date = #{createDate,jdbcType=TIMESTAMP},
|
|
|
- repair_reason = #{repairReason,jdbcType=TINYINT},
|
|
|
- parts_cost = #{partsCost,jdbcType=DECIMAL},
|
|
|
- safety_confirm = #{safetyConfirm,jdbcType=VARCHAR},
|
|
|
- read_time = #{readTime,jdbcType=TIMESTAMP},
|
|
|
- worker_id1 = #{workerId1,jdbcType=BIGINT},
|
|
|
- wl_floor = #{wlFloor,jdbcType=INTEGER},
|
|
|
- wl_liftdoor = #{wlLiftdoor,jdbcType=TINYINT},
|
|
|
- wl_fault = #{wlFault,jdbcType=VARCHAR},
|
|
|
- wl_fault_reason = #{wlFaultReason,jdbcType=VARCHAR},
|
|
|
- wl_fault_handle = #{wlFaultHandle,jdbcType=VARCHAR},
|
|
|
- wl_run_direction = #{wlRunDirection,jdbcType=TINYINT},
|
|
|
- cost_payment_date = #{costPaymentDate,jdbcType=TIMESTAMP},
|
|
|
- cost_total = #{costTotal,jdbcType=DECIMAL},
|
|
|
- project_id = #{projectId,jdbcType=INTEGER},
|
|
|
- caller_fault_description = #{callerFaultDescription,jdbcType=LONGVARCHAR},
|
|
|
- sparepart = #{sparepart,jdbcType=LONGVARCHAR},
|
|
|
- worker_fault_description = #{workerFaultDescription,jdbcType=LONGVARCHAR},
|
|
|
- field_description = #{fieldDescription,jdbcType=LONGVARCHAR},
|
|
|
- procedure = #{procedure,jdbcType=LONGVARCHAR}
|
|
|
- where id = #{id,jdbcType=BIGINT}
|
|
|
- </update>
|
|
|
-
|
|
|
</mapper>
|