id, orderId, deptCode, `createUser`, auditUser, createTime, updateTime, `status` delete from device_collect_order where id = #{id,jdbcType=INTEGER} insert into device_collect_order (orderId, deptCode, `createUser`, auditUser, createTime, updateTime, `status`) values (#{orderId,jdbcType=VARCHAR}, #{deptCode,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{auditUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{updateTime,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}) insert into device_collect_order orderId, deptCode, `createUser`, auditUser, createTime, updateTime, `status`, #{orderId,jdbcType=VARCHAR}, #{deptCode,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{auditUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{updateTime,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, update device_collect_order orderId = #{orderId,jdbcType=VARCHAR}, deptCode = #{deptCode,jdbcType=VARCHAR}, `createUser` = #{createUser,jdbcType=VARCHAR}, auditUser = #{auditUser,jdbcType=VARCHAR}, createTime = #{createTime,jdbcType=VARCHAR}, updateTime = #{updateTime,jdbcType=VARCHAR}, `status` = #{status,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update device_collect_order set orderId = #{orderId,jdbcType=VARCHAR}, deptCode = #{deptCode,jdbcType=VARCHAR}, `createUser` = #{createUser,jdbcType=VARCHAR}, auditUser = #{auditUser,jdbcType=VARCHAR}, createTime = #{createTime,jdbcType=VARCHAR}, updateTime = #{updateTime,jdbcType=VARCHAR}, `status` = #{status,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER} update device_collect_order set status = #{status} and id = #{id}