modify_time, creation_time, valid_flag, use_model, att_id, stand_id, id,file_suffix,file_name,stand_file_classify,
password,creation_user,ori_att_id
where 1=1
and modify_time ${modifyTimeOperator} #{modifyTime}
and modify_time >= #{modifyTime1}
and modify_time <= #{modifyTime2}
and creation_time ${creationTimeOperator} #{creationTime}
and creation_time >= #{creationTime1}
and creation_time <= #{creationTime2}
and valid_flag ${validFlagOperator} #{validFlag}
and use_model ${useModuleOperator} #{useModule}
and att_id ${attIdOperator} #{attId}
and res_id ${resIdOperator} #{resId}
and stand_id ${standIdOperator} #{standId}
and id ${idOperator} #{id}
insert into SAR_BUSS_STAND_FILE
modify_time,
creation_time,
valid_flag,
use_model,
att_id,
stand_id,
id,
file_suffix,
file_name,
stand_file_classify,
password,
creation_user,
ori_att_id,
#{modifyTime, jdbcType=TIMESTAMP},
#{creationTime, jdbcType=TIMESTAMP},
#{validFlag, jdbcType=INTEGER},
#{useModule, jdbcType=VARCHAR},
#{attId, jdbcType=VARCHAR},
#{standId, jdbcType=VARCHAR},
#{id, jdbcType=VARCHAR},
#{fileSuffix, jdbcType=VARCHAR},
#{fileName, jdbcType=VARCHAR},
#{standFileClassify, jdbcType=VARCHAR},
#{password, jdbcType=VARCHAR},
#{creationUser, jdbcType=VARCHAR},
#{oriAttId, jdbcType=VARCHAR},
update SAR_BUSS_STAND_FILE
ori_att_id = #{oriAttId},
modify_time = #{modifyTime},
creation_time = #{creationTime},
valid_flag = #{validFlag},
use_model = #{useModule},
att_id = #{attId},
stand_id = #{standId},
where id = #{id}
delete from SAR_BUSS_STAND_FILE
where id = #{value}
delete from SAR_BUSS_STAND_FILE
where stand_id = #{value}
insert into SAR_BUSS_STAND_FILE
()
values
(#{item.modifyTime, jdbcType=TIMESTAMP},
#{item.creationTime, jdbcType=TIMESTAMP},
#{item.validFlag, jdbcType=INTEGER},
#{item.useModel, jdbcType=VARCHAR},
#{item.attId, jdbcType=VARCHAR},
#{item.standId, jdbcType=VARCHAR},
#{item.id, jdbcType=VARCHAR},
#{item.fileSuffix, jdbcType=VARCHAR},
#{item.fileName, jdbcType=VARCHAR},
#{item.standFileClassify, jdbcType=VARCHAR},
#{item.password, jdbcType=VARCHAR},
#{item.creationUser, jdbcType=VARCHAR},
#{item.oriAttId, jdbcType=VARCHAR})