id, customId, companyNum, cardId, tradeId, exTime, fee, status, applId, aclTime, companyName, companyReferencenum, interType insert into t_SellCarTrade ( customId, companyNum, cardId, tradeId, exTime, fee, status, applId, aclTime, companyName, companyReferencenum,interType,updateTime ) values ( #{customId,jdbcType=VARCHAR}, #{companyNum,jdbcType=VARCHAR}, #{cardId,jdbcType=VARCHAR}, #{tradeId,jdbcType=VARCHAR}, #{exTime,jdbcType=VARCHAR}, #{fee,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{applId,jdbcType=VARCHAR},#{aclTime,jdbcType=VARCHAR}, #{companyName,jdbcType=VARCHAR},#{companyReferencenum,jdbcType=VARCHAR}, #{interType,jdbcType=INTEGER},now() ) update t_SellCarTrade set customId = #{customId,jdbcType=VARCHAR}, companyNum = #{companyNum,jdbcType=VARCHAR}, cardId = #{cardId,jdbcType=VARCHAR}, tradeId = #{tradeId,jdbcType=VARCHAR}, exTime = #{exTime,jdbcType=VARCHAR}, fee = #{fee,jdbcType=INTEGER}, status = #{status,jdbcType=INTEGER}, applId = #{applId,jdbcType=VARCHAR}, aclTime = #{aclTime,jdbcType=VARCHAR}, companyName = #{companyName,jdbcType=VARCHAR}, companyReferencenum = #{companyReferencenum,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER} update t_SellCarTrade set customId = #{customId,jdbcType=VARCHAR}, companyNum = #{companyNum,jdbcType=VARCHAR}, cardId = #{cardId,jdbcType=VARCHAR}, tradeId = #{tradeId,jdbcType=VARCHAR}, exTime = #{exTime,jdbcType=VARCHAR}, fee = #{fee,jdbcType=INTEGER}, status = #{status,jdbcType=INTEGER}, applId = #{applId,jdbcType=VARCHAR}, aclTime = #{aclTime,jdbcType=VARCHAR}, companyName = #{companyName,jdbcType=VARCHAR}, companyReferencenum = #{companyReferencenum,jdbcType=VARCHAR}, interType = #{interType,jdbcType=INTEGER}, updateTime = now() where tradeId = BINARY #{tradeId,jdbcType=INTEGER} UPDATE t_SellCarTrade set companyName = #{newCompanyName} where companyName = #{oldCompanyName} UPDATE t_SellCarTrade set bindStatus = #{bindStatus} where companyNum = #{companyNum} and cardId = #{etcCard} delete from t_SellCarTrade where companyName = #{companyName,jdbcType=VARCHAR} and customId = #{customerName,jdbcType=VARCHAR} and cardId = #{etcId,jdbcType=VARCHAR} and exTime BETWEEN #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR} and status = #{tradeStatus,jdbcType=INTEGER}