| | |
| | | <if test="nodeId!= null">node_id,</if> |
| | | <if test="dt != null and dt !=''">dt,</if> |
| | | <if test="status != null">status,</if> |
| | | <if test="startTime != null and startTime !=''">start_time,</if> |
| | | <if test="endTime != null and endTime !=''">end_time,</if> |
| | | <if test="startTime != null">start_time,</if> |
| | | <if test="endTime != null">end_time,</if> |
| | | <if test="assistants != null and assistants !=''">assistants,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | |
| | | <if test="nodeId!= null">#{nodeId,jdbcType=BIGINT},</if> |
| | | <if test="dt != null and dt !=''">#{dt,jdbcType=TIMESTAMP},</if> |
| | | <if test="status != null">#{status,jdbcType=TINYINT},</if> |
| | | <if test="startTime != null and startTime !=''">#{startTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="endTime != null and endTime !=''">#{endTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="startTime != null">#{startTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="endTime != null">#{endTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="assistants != null and assistants !=''">#{assistants,jdbcType=VARCHAR},</if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=TINYINT}, |
| | | </if> |
| | | <if test="startTime != null and startTime !=''"> |
| | | <if test="startTime != null"> |
| | | start_time = #{startTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="endTime != null and endTime !=''"> |
| | | <if test="endTime != null"> |
| | | end_time = #{endTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="assistants != null and assistants !=''"> |
| | |
| | | <if test="status != null"> |
| | | and status = #{status,jdbcType=TINYINT} |
| | | </if> |
| | | <if test="startTime != null and startTime !=''"> |
| | | <if test="startTime != null"> |
| | | and start_time = #{startTime,jdbcType=TIMESTAMP} |
| | | </if> |
| | | <if test="endTime != null and endTime !=''"> |
| | | <if test="endTime != null"> |
| | | and end_time = #{endTime,jdbcType=TIMESTAMP} |
| | | </if> |
| | | <if test="assistants != null and assistants !=''"> |
| | |
| | | <if test="lineName != null and lineName != '' "> |
| | | and ll.name like concat('%', #{lineName}, '%') |
| | | </if> |
| | | <if test="startTime != null and startTime !=''"> |
| | | <if test="startTime != null"> |
| | | and l.start_time <![CDATA[ > ]]> #{startTime} |
| | | </if> |
| | | <if test="endTime != null and endTime !=''"> |
| | | <if test="endTime != null"> |
| | | and l.start_time <![CDATA[ < ]]> #{endTime} |
| | | </if> |
| | | <if test="userId != null"> |
| | |
| | | <if test="lineName != null and lineName != '' "> |
| | | and ll.name like concat('%', #{lineName}, '%') |
| | | </if> |
| | | <if test="startTime != null and startTime !=''"> |
| | | <if test="startTime != null"> |
| | | and l.start_time <![CDATA[ > ]]> #{startTime,jdbcType=TIMESTAMP} |
| | | </if> |
| | | <if test="endTime != null and endTime !=''"> |
| | | <if test="endTime != null"> |
| | | and l.start_time <![CDATA[ < ]]> #{endTime,jdbcType=TIMESTAMP} |
| | | </if> |
| | | <if test="userId != null"> |
| | |
| | | <if test="processId!= null">process_id,</if> |
| | | <if test="nodeId!= null">node_id,</if> |
| | | <if test="workType!= null">work_Type,</if> |
| | | <if test="dt != null and dt !=''">dt,</if> |
| | | <if test="dt != null">dt,</if> |
| | | <if test="status != null">status,</if> |
| | | <if test="startTime != null and startTime !=''">start_time,</if> |
| | | <if test="endTime != null and endTime !=''">end_time,</if> |
| | | <if test="startTime != null">start_time,</if> |
| | | <if test="endTime != null">end_time,</if> |
| | | <if test="assistants != null and assistants !=''">assistants,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | |
| | | <if test="processId!= null">#{processId,jdbcType=BIGINT},</if> |
| | | <if test="nodeId!= null">#{nodeId,jdbcType=BIGINT},</if> |
| | | <if test="workType!= null">#{workType,jdbcType=TINYINT},</if> |
| | | <if test="dt != null and dt !=''">#{dt,jdbcType=TIMESTAMP},</if> |
| | | <if test="dt != null">#{dt,jdbcType=TIMESTAMP},</if> |
| | | <if test="status != null">#{status,jdbcType=TINYINT},</if> |
| | | <if test="startTime != null and startTime !=''">#{startTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="endTime != null and endTime !=''">#{endTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="startTime != null">#{startTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="endTime != null">#{endTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="assistants != null and assistants !=''">#{assistants,jdbcType=VARCHAR},</if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="workType!= null"> |
| | | work_type = #{workType,jdbcType=TINYINT}, |
| | | </if> |
| | | <if test="dt != null and dt !=''"> |
| | | <if test="dt != null"> |
| | | dt = #{dt,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=TINYINT}, |
| | | </if> |
| | | <if test="startTime != null and startTime !=''"> |
| | | <if test="startTime != null"> |
| | | start_time = #{startTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="endTime != null and endTime !=''"> |
| | | <if test="endTime != null"> |
| | | end_time = #{endTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="assistants != null and assistants !=''"> |
| | |
| | | <if test="errorMsg != null and errorMsg !=''">error_msg,</if> |
| | | <if test="assistants != null and assistants !=''">assistants,</if> |
| | | <if test="updatedBy != null">updated_by,</if> |
| | | <if test="inTime != null and inTime !=''">in_time,</if> |
| | | <if test="outTime != null and outTime !=''">out_time,</if> |
| | | <if test="inLineTime != null and inLineTime !=''">in_line_time,</if> |
| | | <if test="outLineTime != null and outLineTime !=''">out_line_time,</if> |
| | | <if test="inTime != null">in_time,</if> |
| | | <if test="outTime != null">out_time,</if> |
| | | <if test="inLineTime != null">in_line_time,</if> |
| | | <if test="outLineTime != null">out_line_time,</if> |
| | | <if test="memo != null and memo !=''">memo,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | |
| | | <if test="errorMsg != null and errorMsg !=''">#{errorMsg,jdbcType=VARCHAR},</if> |
| | | <if test="assistants != null and assistants !=''">#{assistants,jdbcType=VARCHAR},</if> |
| | | <if test="updatedBy != null">#{updatedBy,jdbcType=BIGINT},</if> |
| | | <if test="inTime != null and inTime !=''">#{inTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outTime != null and outTime !=''">#{outTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="inLineTime != null and inLineTime !=''">#{inLineTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outLineTime != null and outLineTime !=''">#{outLineTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="inTime != null">#{inTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outTime != null">#{outTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="inLineTime != null">#{inLineTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outLineTime != null">#{outLineTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="memo != null and memo !=''">#{memo,jdbcType=VARCHAR},</if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="updatedBy != null"> |
| | | updated_by = #{updatedBy,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="inTime != null and inTime !=''"> |
| | | <if test="inTime != null"> |
| | | in_time = #{inTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="outTime != null and outTime !=''"> |
| | | <if test="outTime != null"> |
| | | out_time = #{outTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="inLineTime != null and inLineTime !=''"> |
| | | <if test="inLineTime != null"> |
| | | in_line_time = #{inLineTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="outLineTime != null and outLineTime !=''"> |
| | | <if test="outLineTime != null"> |
| | | out_line_time = #{outLineTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="memo != null and memo !=''"> |
| | |
| | | <if test="status != null">status,</if> |
| | | <if test="errorMsg != null and errorMsg !=''">error_msg,</if> |
| | | <if test="assistants != null and assistants !=''">assistants,</if> |
| | | <if test="inTime != null and inTime !=''">in_time,</if> |
| | | <if test="outTime != null and outTime !=''">out_time,</if> |
| | | <if test="inTime != null">in_time,</if> |
| | | <if test="outTime != null">out_time,</if> |
| | | <if test="updatedBy != null">updated_by,</if> |
| | | <if test="memo != null and memo !=''">memo,</if> |
| | | </trim> |
| | |
| | | <if test="status != null">#{status,jdbcType=TINYINT},</if> |
| | | <if test="errorMsg != null and errorMsg !=''">#{errorMsg,jdbcType=VARCHAR},</if> |
| | | <if test="assistants != null and assistants !=''">#{assistants,jdbcType=VARCHAR},</if> |
| | | <if test="inTime != null and inTime !=''">#{inTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outTime != null and outTime !=''">#{outTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="inTime != null">#{inTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outTime != null">#{outTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="updatedBy != null">#{updatedBy,jdbcType=BIGINT},</if> |
| | | <if test="memo != null and memo !=''">#{memo,jdbcType=VARCHAR},</if> |
| | | </trim> |
| | |
| | | <if test="assistants != null and assistants !=''"> |
| | | assistants = #{assistants,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="inTime != null and inTime !=''"> |
| | | <if test="inTime != null"> |
| | | in_time = #{inTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="outTime != null and outTime !=''"> |
| | | <if test="outTime != null"> |
| | | out_time = #{outTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatedBy != null"> |
| | |
| | | <if test="result != null">result,</if> |
| | | <if test="errorMsg != null and errorMsg !=''">error_msg,</if> |
| | | <if test="assistants != null and assistants !=''">assistants,</if> |
| | | <if test="inTime != null and inTime !=''">in_time,</if> |
| | | <if test="outTime != null and outTime !=''">out_time,</if> |
| | | <if test="inTime != null">in_time,</if> |
| | | <if test="outTime != null">out_time,</if> |
| | | <if test="updatedBy != null">updated_by,</if> |
| | | <if test="memo != null and memo !=''">memo,</if> |
| | | </trim> |
| | |
| | | <if test="result != null">#{result,jdbcType=TINYINT},</if> |
| | | <if test="errorMsg != null and errorMsg !=''">#{errorMsg,jdbcType=VARCHAR},</if> |
| | | <if test="assistants != null and assistants !=''">#{assistants,jdbcType=VARCHAR},</if> |
| | | <if test="inTime != null and inTime !=''">#{inTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outTime != null and outTime !=''">#{outTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="inTime != null">#{inTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outTime != null">#{outTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="updatedBy != null">#{updatedBy,jdbcType=BIGINT},</if> |
| | | <if test="memo != null and memo !=''">#{memo,jdbcType=VARCHAR},</if> |
| | | </trim> |
| | |
| | | <if test="assistants != null and assistants !=''"> |
| | | assistants = #{assistants,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="inTime != null and inTime !=''"> |
| | | <if test="inTime != null"> |
| | | in_time = #{inTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="outTime != null and outTime !=''"> |
| | | <if test="outTime != null"> |
| | | out_time = #{outTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatedBy != null"> |
| | |
| | | <if test="deviceNo != null and deviceNo !=''"> |
| | | and device_no = #{deviceNo,jdbcType=VARCHAR} |
| | | </if> |
| | | <if test="startTime != null and startTime !=''"> |
| | | <if test="startTime != null"> |
| | | and out_time <![CDATA[ > ]]> #{startTime,jdbcType=TIMESTAMP} |
| | | </if> |
| | | <if test="endTime != null and endTime !=''"> |
| | | <if test="endTime != null"> |
| | | and out_time <![CDATA[ < ]]> #{endTime,jdbcType=TIMESTAMP} |
| | | </if> |
| | | </where> |
| | |
| | | <if test="deviceNo != null and deviceNo !=''"> |
| | | and device_no = #{deviceNo,jdbcType=VARCHAR} |
| | | </if> |
| | | <if test="startTime != null and startTime !=''"> |
| | | <if test="startTime != null"> |
| | | and out_time <![CDATA[ > ]]> #{startTime,jdbcType=TIMESTAMP} |
| | | </if> |
| | | <if test="endTime != null and endTime !=''"> |
| | | <if test="endTime != null"> |
| | | and out_time <![CDATA[ < ]]> #{endTime,jdbcType=TIMESTAMP} |
| | | </if> |
| | | </where> |
| | |
| | | <if test="result != null">result,</if> |
| | | <if test="errorMsg != null and errorMsg !=''">error_msg,</if> |
| | | <if test="assistants != null and assistants !=''">assistants,</if> |
| | | <if test="inTime != null and inTime !=''">in_time,</if> |
| | | <if test="outTime != null and outTime !=''">out_time,</if> |
| | | <if test="inTime != null">in_time,</if> |
| | | <if test="outTime != null">out_time,</if> |
| | | <if test="updatedBy != null">updated_by,</if> |
| | | <if test="memo != null and memo !=''">memo,</if> |
| | | <if test="number != null">number,</if> |
| | |
| | | <if test="result != null">#{result,jdbcType=TINYINT},</if> |
| | | <if test="errorMsg != null and errorMsg !=''">#{errorMsg,jdbcType=VARCHAR},</if> |
| | | <if test="assistants != null and assistants !=''">#{assistants,jdbcType=VARCHAR},</if> |
| | | <if test="inTime != null and inTime !=''">#{inTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outTime != null and outTime !=''">#{outTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="inTime != null">#{inTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="outTime != null">#{outTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="updatedBy != null">#{updatedBy,jdbcType=BIGINT},</if> |
| | | <if test="memo != null and memo !=''">#{memo,jdbcType=VARCHAR},</if> |
| | | <if test="number != null">#{number,jdbcType=INTEGER},</if> |
| | |
| | | <if test="assistants != null and assistants !=''"> |
| | | assistants = #{assistants,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="inTime != null and inTime !=''"> |
| | | <if test="inTime != null"> |
| | | in_time = #{inTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="outTime != null and outTime !=''"> |
| | | <if test="outTime != null"> |
| | | out_time = #{outTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatedBy != null"> |