id, stand_id, time_name, put_time, time_type, order_num, creation_time
where 1=1
and id ${idOperator} #{id}
and stand_id ${standIdOperator} #{standId}
and time_name ${timeNameOperator} #{timeName}
and put_time ${putTimeOperator} #{putTime}
and put_time >= #{putTime1}
and put_time <= #{putTime2}
and time_type ${timeTypeOperator} #{timeType}
and order_num ${orderNumOperator} #{orderNum}
and creation_time ${creationTimeOperator} #{creationTime}
and creation_time >= #{creationTime1}
and creation_time <= #{creationTime2}
delete from SAR_STAND_PUT_TIME
where stand_id = #{value}
insert into SAR_STAND_PUT_TIME
(id, stand_id, time_name, put_time, time_type,creation_time)
values
(#{item.id, jdbcType=VARCHAR},
#{item.standId, jdbcType=VARCHAR},
#{item.timeName, jdbcType=VARCHAR},
#{item.putTime, jdbcType=VARCHAR},
#{item.timeType, jdbcType=VARCHAR},
#{item.creationTime, jdbcType=TIMESTAMP}
)