replace INTO basic_entrust_accept(`action`, curDept, entrustInv, `entrustUser`, userId, updateTime, remark, entrustAction, finishRece, curInv, entrustDept, entrustInv, entrustEnd) values (#{action}, #{entrustInv}, #{entrustUser}, #{userId}, #{updateTime}, #{remark}, #{entrustAction}, #{finishRece}, #{curInv}, #{entrustDept}, #{entrustInv}, #{entrustEnd}) DELETE FROM basic_entrust_accept WHERE id = #{id} DELETE FROM basic_entrust_accept insert into basic_entrust_accept id, `action`, curDept, curInv, userId, entrustDept, entrustInv, entrustAction, entrustUser, finishRece, updateTime, remark, entrustEnd, values #{id,jdbcType=INTEGER}, #{action,jdbcType=VARCHAR}, #{curDept,jdbcType=VARCHAR}, #{curInv,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{entrustDept,jdbcType=VARCHAR}, #{entrustInv,jdbcType=VARCHAR}, #{entrustAction,jdbcType=VARCHAR}, #{entrustUser,jdbcType=VARCHAR}, #{finishRece,jdbcType=TINYINT}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{entrustEnd,jdbcType=TINYINT}, on duplicate key update id = #{id,jdbcType=INTEGER}, `action` = #{action,jdbcType=VARCHAR}, curDept = #{curDept,jdbcType=VARCHAR}, curInv = #{curInv,jdbcType=VARCHAR}, userId = #{userId,jdbcType=VARCHAR}, entrustDept = #{entrustDept,jdbcType=VARCHAR}, entrustInv = #{entrustInv,jdbcType=VARCHAR}, entrustAction = #{entrustAction,jdbcType=VARCHAR}, entrustUser = #{entrustUser,jdbcType=VARCHAR}, finishRece = #{finishRece,jdbcType=TINYINT}, updateTime = #{updateTime,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR}, entrustEnd = #{entrustEnd,jdbcType=TINYINT},