select thisTab.id, thisTab.driver_code, thisTab.driver_name, thisTab.box_num, thisTab.create_by, thisTab.create_time, thisTab.req_time, thisTab.type, thisTab.operation from request_log AS thisTab
select count(0) from request_log as thisTab
and thisTab.driver_code = #{driverCode} and thisTab.driver_name like concat('%', #{driverName}, '%') and thisTab.box_num = #{boxNum} and thisTab.req_time = #{reqTime} and thisTab.type = #{type} and thisTab.operation = #{operation}
insert into request_log
driver_code,driver_name,box_num,create_by,create_time,req_time,type,operation,#{driverCode},#{driverName},#{boxNum},#{createBy},#{createTime},#{reqTime},#{type},#{operation},
insert into request_log
id,driver_code,driver_name,box_num,create_by,create_time,req_time,type,operation,
#{item.id},#{item.driverCode},#{item.driverName},#{item.boxNum},#{item.createBy},#{item.createTime},#{item.reqTime},#{item.type},#{item.operation},
update request_log
driver_code = #{driverCode},driver_name = #{driverName},box_num = #{boxNum},create_by = #{createBy},create_time = #{createTime},req_time = #{reqTime},type = #{type},operation = #{operation},
where id = #{id}
update request_log
driver_code = #{item.driverCode},driver_name = #{item.driverName},box_num = #{item.boxNum},create_by = #{item.createBy},create_time = #{item.createTime},req_time = #{item.reqTime},type = #{item.type},operation = #{item.operation},
where id = #{item.id}
delete from request_log where id = #{id}
delete from request_log where id in
#{id}