and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, updateday, updatemonth, dayindex, monthindex, daytotal, monthtotal, alltotal, allindex, isdownload, startTime delete from devicedownload where id = #{id,jdbcType=VARCHAR} delete from devicedownload insert into devicedownload (id, updateday, updatemonth, dayindex, monthindex, daytotal, monthtotal, alltotal, allindex, isdownload, startTime) values (#{id,jdbcType=VARCHAR}, #{updateday,jdbcType=VARCHAR}, #{updatemonth,jdbcType=VARCHAR}, #{dayindex,jdbcType=INTEGER}, #{monthindex,jdbcType=INTEGER}, #{daytotal,jdbcType=INTEGER}, #{monthtotal,jdbcType=INTEGER}, #{alltotal,jdbcType=INTEGER}, #{allindex,jdbcType=INTEGER}, #{isdownload,jdbcType=INTEGER}, #{starttime,jdbcType=VARCHAR}) insert into devicedownload id, updateday, updatemonth, dayindex, monthindex, daytotal, monthtotal, alltotal, allindex, isdownload, startTime, #{id,jdbcType=VARCHAR}, #{updateday,jdbcType=VARCHAR}, #{updatemonth,jdbcType=VARCHAR}, #{dayindex,jdbcType=INTEGER}, #{monthindex,jdbcType=INTEGER}, #{daytotal,jdbcType=INTEGER}, #{monthtotal,jdbcType=INTEGER}, #{alltotal,jdbcType=INTEGER}, #{allindex,jdbcType=INTEGER}, #{isdownload,jdbcType=INTEGER}, #{starttime,jdbcType=VARCHAR}, update devicedownload id = #{record.id,jdbcType=VARCHAR}, updateday = #{record.updateday,jdbcType=VARCHAR}, updatemonth = #{record.updatemonth,jdbcType=VARCHAR}, dayindex = #{record.dayindex,jdbcType=INTEGER}, monthindex = #{record.monthindex,jdbcType=INTEGER}, daytotal = #{record.daytotal,jdbcType=INTEGER}, monthtotal = #{record.monthtotal,jdbcType=INTEGER}, alltotal = #{record.alltotal,jdbcType=INTEGER}, allindex = #{record.allindex,jdbcType=INTEGER}, isdownload = #{record.isdownload,jdbcType=INTEGER}, startTime = #{record.starttime,jdbcType=VARCHAR}, update devicedownload set id = #{record.id,jdbcType=VARCHAR}, updateday = #{record.updateday,jdbcType=VARCHAR}, updatemonth = #{record.updatemonth,jdbcType=VARCHAR}, dayindex = #{record.dayindex,jdbcType=INTEGER}, monthindex = #{record.monthindex,jdbcType=INTEGER}, daytotal = #{record.daytotal,jdbcType=INTEGER}, monthtotal = #{record.monthtotal,jdbcType=INTEGER}, alltotal = #{record.alltotal,jdbcType=INTEGER}, allindex = #{record.allindex,jdbcType=INTEGER}, isdownload = #{record.isdownload,jdbcType=INTEGER}, startTime = #{record.starttime,jdbcType=VARCHAR} update devicedownload updateday = #{updateday,jdbcType=VARCHAR}, updatemonth = #{updatemonth,jdbcType=VARCHAR}, dayindex = #{dayindex,jdbcType=INTEGER}, monthindex = #{monthindex,jdbcType=INTEGER}, daytotal = #{daytotal,jdbcType=INTEGER}, monthtotal = #{monthtotal,jdbcType=INTEGER}, alltotal = #{alltotal,jdbcType=INTEGER}, allindex = #{allindex,jdbcType=INTEGER}, isdownload = #{isdownload,jdbcType=INTEGER}, startTime = #{starttime,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR} update devicedownload set updateday = #{updateday,jdbcType=VARCHAR}, updatemonth = #{updatemonth,jdbcType=VARCHAR}, dayindex = #{dayindex,jdbcType=INTEGER}, monthindex = #{monthindex,jdbcType=INTEGER}, daytotal = #{daytotal,jdbcType=INTEGER}, monthtotal = #{monthtotal,jdbcType=INTEGER}, alltotal = #{alltotal,jdbcType=INTEGER}, allindex = #{allindex,jdbcType=INTEGER}, isdownload = #{isdownload,jdbcType=INTEGER}, startTime = #{starttime,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR} update devicedownload set alltotal = #{alltotal,jdbcType=INTEGER}, allindex = #{allindex,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR}