|
|
@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="eventId" column="event_id" /> |
|
|
|
<result property="operationTime" column="operation_time" /> |
|
|
|
<result property="operator" column="operator" /> |
|
|
|
<result property="operatorName" column="operator_name" /> |
|
|
|
<result property="source" column="source" /> |
|
|
|
<result property="processType" column="process_type" /> |
|
|
|
<result property="context" column="context" /> |
|
|
@ -18,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="selectDcEventProcessVo"> |
|
|
|
select id, event_id, operation_time, operator, source, process_type, context, process_id, process_name, `type` from dc_event_process |
|
|
|
select id, event_id, operation_time, operator,operator_name, source, process_type, context, process_id, process_name, `type` from dc_event_process |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="selectDcEventProcessList" parameterType="DcEventProcess" resultMap="DcEventProcessResult"> |
|
|
@ -27,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="eventId != null and eventId != ''"> and event_id = #{eventId}</if> |
|
|
|
<if test="operationTime != null "> and operation_time = #{operationTime}</if> |
|
|
|
<if test="operator != null and operator != ''"> and operator = #{operator}</if> |
|
|
|
<if test="operatorName != null and operatorName != ''"> and operator_name = #{operatorName}</if> |
|
|
|
<if test="source != null "> and source = #{source}</if> |
|
|
|
<if test="processType != null "> and process_type = #{processType}</if> |
|
|
|
<if test="context != null and context != ''"> and context = #{context}</if> |
|
|
@ -48,6 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="eventId != null and eventId != ''">event_id,</if> |
|
|
|
<if test="operationTime != null">operation_time,</if> |
|
|
|
<if test="operator != null and operator != ''">operator,</if> |
|
|
|
<if test="operatorName != null and operatorName != ''">operator_name,</if> |
|
|
|
<if test="source != null">source,</if> |
|
|
|
<if test="processType != null">process_type,</if> |
|
|
|
<if test="context != null">context,</if> |
|
|
@ -60,6 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="eventId != null and eventId != ''">#{eventId},</if> |
|
|
|
<if test="operationTime != null">#{operationTime},</if> |
|
|
|
<if test="operator != null and operator != ''">#{operator},</if> |
|
|
|
<if test="operatorName != null and operatorName != ''">#{operatorName},</if> |
|
|
|
<if test="source != null">#{source},</if> |
|
|
|
<if test="processType != null">#{processType},</if> |
|
|
|
<if test="context != null">#{context},</if> |
|
|
@ -77,6 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="item.eventId != null and item.eventId != ''">event_id,</if> |
|
|
|
<if test="item.operationTime != null">operation_time,</if> |
|
|
|
<if test="item.operator != null and item.operator != ''">operator,</if> |
|
|
|
<if test="item.operatorName != null and item.operatorName != ''">operator_name,</if> |
|
|
|
<if test="item.source != null">source,</if> |
|
|
|
<if test="item.processType != null">process_type,</if> |
|
|
|
<if test="item.context != null">context,</if> |
|
|
@ -89,6 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="item.eventId != null and item.eventId != ''">#{item.eventId},</if> |
|
|
|
<if test="item.operationTime != null">#{item.operationTime},</if> |
|
|
|
<if test="item.operator != null and item.operator != ''">#{item.operator},</if> |
|
|
|
<if test="item.operatorName != null and item.operatorName != ''">#{item.operatorName},</if> |
|
|
|
<if test="item.source != null">#{item.source},</if> |
|
|
|
<if test="item.processType != null">#{item.processType},</if> |
|
|
|
<if test="item.context != null">#{item.context},</if> |
|
|
@ -105,6 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="eventId != null and eventId != ''">event_id = #{eventId},</if> |
|
|
|
<if test="operationTime != null">operation_time = #{operationTime},</if> |
|
|
|
<if test="operator != null and operator != ''">operator = #{operator},</if> |
|
|
|
<if test="operatorName != null and operatorName != ''">operator_name = #{operatorName},</if> |
|
|
|
<if test="source != null">source = #{source},</if> |
|
|
|
<if test="processType != null">process_type = #{processType},</if> |
|
|
|
<if test="context != null">context = #{context},</if> |
|
|
|