opc_log.id,
opc_log.sb_id,
opc_log.sb_name,
opc_log.position_num,
opc_log.type,
opc_log.description,
opc_log.result,
opc_log.ratio,
opc_log.unit,
opc_log.remark,
opc_log.year,
opc_log.month,
opc_log.day,
opc_log.hour,
opc_log.minute,
opc_log.info,
opc_log.created_user_id,
opc_log.update_user_id,
opc_log.created_time,
opc_log.update_time
opc_log.sb_id,
opc_log.sb_name,
opc_log.position_num,
opc_log.type,
opc_log.description,
opc_log.result,
opc_log.year,
opc_log.month,
opc_log.day,
opc_log.hour,
opc_log.minute,
opc_log.info,
opc_log.ratio,
opc_log.unit,
opc_log.remark,
and opc_log.id = #{id}
and opc_log.sb_id = #{sbId}
and opc_log.year = #{year}
and opc_log.month = #{month}
and opc_log.day = #{day}
and opc_log.hour = #{hour}
and opc_log.minute = #{minute}
and opc_log.position_num = #{positionNum}
and opc_log.type = #{type}
and opc_log.description = #{description}
and opc_log.result = #{result}
and opc_log.ratio = #{ratio}
and opc_log.unit = #{unit}
and opc_log.remark = #{remark}
and opc_log.created_user_id = #{createdUserId}
and opc_log.update_user_id = #{updateUserId}
and opc_log.created_time =]]> #{createdTimeStart}
and opc_log.created_time #{createdTimeEnd}
and opc_log.created_time = #{createdTime}
and opc_log.update_time =]]> #{updateTimeStart}
and opc_log.update_time #{updateTimeEnd}
and opc_log.update_time = #{updateTime}
and opc_log.position_num like concat(concat('%',#{keyword}),'%')
update t_remote_opc_log
remark=concat(remark,#{item.remark})
where position_num = #{item.positionNum}
and year = #{item.year}
and month = #{item.month}
and day = #{item.day}