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, company_id, app_id, email, full_name, subscriber_type, subscribed, digest_password, phone, industry, last_popularize_at, last_presented_coupon_at, mailable, reset_token, `role`, job, area, platform_type, account_type, account_source, created_at, updated_at, remark, valid_flag delete from user where id = #{id,jdbcType=VARCHAR} delete from user insert into user (id, company_id, app_id, email, full_name, subscriber_type, subscribed, digest_password, phone, industry, last_popularize_at, last_presented_coupon_at, mailable, reset_token, `role`, job, area, platform_type, account_type, account_source, created_at, updated_at, remark, valid_flag ) values (#{id,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, #{appId,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{fullName,jdbcType=VARCHAR}, #{subscriberType,jdbcType=INTEGER}, #{subscribed,jdbcType=INTEGER}, #{digestPassword,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{industry,jdbcType=VARCHAR}, #{lastPopularizeAt,jdbcType=INTEGER}, #{lastPresentedCouponAt,jdbcType=TIMESTAMP}, #{mailable,jdbcType=INTEGER}, #{resetToken,jdbcType=INTEGER}, #{role,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR}, #{platformType,jdbcType=TINYINT}, #{accountType,jdbcType=TINYINT}, #{accountSource,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{validFlag,jdbcType=VARCHAR} ) insert into user id, company_id, app_id, email, full_name, subscriber_type, subscribed, digest_password, phone, industry, last_popularize_at, last_presented_coupon_at, mailable, reset_token, `role`, job, area, platform_type, account_type, account_source, created_at, updated_at, remark, valid_flag, #{id,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR}, #{appId,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{fullName,jdbcType=VARCHAR}, #{subscriberType,jdbcType=INTEGER}, #{subscribed,jdbcType=INTEGER}, #{digestPassword,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{industry,jdbcType=VARCHAR}, #{lastPopularizeAt,jdbcType=INTEGER}, #{lastPresentedCouponAt,jdbcType=TIMESTAMP}, #{mailable,jdbcType=INTEGER}, #{resetToken,jdbcType=INTEGER}, #{role,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{area,jdbcType=VARCHAR}, #{platformType,jdbcType=TINYINT}, #{accountType,jdbcType=TINYINT}, #{accountSource,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{validFlag,jdbcType=VARCHAR}, update user id = #{record.id,jdbcType=VARCHAR}, company_id = #{record.companyId,jdbcType=VARCHAR}, app_id = #{record.appId,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, full_name = #{record.fullName,jdbcType=VARCHAR}, subscriber_type = #{record.subscriberType,jdbcType=INTEGER}, subscribed = #{record.subscribed,jdbcType=INTEGER}, digest_password = #{record.digestPassword,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, industry = #{record.industry,jdbcType=VARCHAR}, last_popularize_at = #{record.lastPopularizeAt,jdbcType=INTEGER}, last_presented_coupon_at = #{record.lastPresentedCouponAt,jdbcType=TIMESTAMP}, mailable = #{record.mailable,jdbcType=INTEGER}, reset_token = #{record.resetToken,jdbcType=INTEGER}, `role` = #{record.role,jdbcType=VARCHAR}, job = #{record.job,jdbcType=VARCHAR}, area = #{record.area,jdbcType=VARCHAR}, platform_type = #{record.platformType,jdbcType=TINYINT}, account_type = #{record.accountType,jdbcType=TINYINT}, account_source = #{record.accountSource,jdbcType=TINYINT}, created_at = #{record.createdAt,jdbcType=TIMESTAMP}, updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, remark = #{record.remark,jdbcType=VARCHAR}, valid_flag = #{record.validFlag,jdbcType=VARCHAR}, update user set id = #{record.id,jdbcType=VARCHAR}, company_id = #{record.companyId,jdbcType=VARCHAR}, app_id = #{record.appId,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, full_name = #{record.fullName,jdbcType=VARCHAR}, subscriber_type = #{record.subscriberType,jdbcType=INTEGER}, subscribed = #{record.subscribed,jdbcType=INTEGER}, digest_password = #{record.digestPassword,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, industry = #{record.industry,jdbcType=VARCHAR}, last_popularize_at = #{record.lastPopularizeAt,jdbcType=INTEGER}, last_presented_coupon_at = #{record.lastPresentedCouponAt,jdbcType=TIMESTAMP}, mailable = #{record.mailable,jdbcType=INTEGER}, reset_token = #{record.resetToken,jdbcType=INTEGER}, `role` = #{record.role,jdbcType=VARCHAR}, job = #{record.job,jdbcType=VARCHAR}, area = #{record.area,jdbcType=VARCHAR}, platform_type = #{record.platformType,jdbcType=TINYINT}, account_type = #{record.accountType,jdbcType=TINYINT}, account_source = #{record.accountSource,jdbcType=TINYINT}, created_at = #{record.createdAt,jdbcType=TIMESTAMP}, updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, remark = #{record.remark,jdbcType=VARCHAR}, valid_flag = #{record.validFlag,jdbcType=VARCHAR} update user company_id = #{companyId,jdbcType=VARCHAR}, app_id = #{appId,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, full_name = #{fullName,jdbcType=VARCHAR}, subscriber_type = #{subscriberType,jdbcType=INTEGER}, subscribed = #{subscribed,jdbcType=INTEGER}, digest_password = #{digestPassword,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, industry = #{industry,jdbcType=VARCHAR}, last_popularize_at = #{lastPopularizeAt,jdbcType=INTEGER}, last_presented_coupon_at = #{lastPresentedCouponAt,jdbcType=TIMESTAMP}, mailable = #{mailable,jdbcType=INTEGER}, reset_token = #{resetToken,jdbcType=INTEGER}, `role` = #{role,jdbcType=VARCHAR}, job = #{job,jdbcType=VARCHAR}, area = #{area,jdbcType=VARCHAR}, platform_type = #{platformType,jdbcType=TINYINT}, account_type = #{accountType,jdbcType=TINYINT}, account_source = #{accountSource,jdbcType=TINYINT}, created_at = #{createdAt,jdbcType=TIMESTAMP}, updated_at = #{updatedAt,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR}, valid_flag = #{validFlag,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR} update user set company_id = #{companyId,jdbcType=VARCHAR}, app_id = #{appId,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, full_name = #{fullName,jdbcType=VARCHAR}, subscriber_type = #{subscriberType,jdbcType=INTEGER}, subscribed = #{subscribed,jdbcType=INTEGER}, digest_password = #{digestPassword,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, industry = #{industry,jdbcType=VARCHAR}, last_popularize_at = #{lastPopularizeAt,jdbcType=INTEGER}, last_presented_coupon_at = #{lastPresentedCouponAt,jdbcType=TIMESTAMP}, mailable = #{mailable,jdbcType=INTEGER}, reset_token = #{resetToken,jdbcType=INTEGER}, `role` = #{role,jdbcType=VARCHAR}, job = #{job,jdbcType=VARCHAR}, area = #{area,jdbcType=VARCHAR}, platform_type = #{platformType,jdbcType=TINYINT}, account_type = #{accountType,jdbcType=TINYINT}, account_source = #{accountSource,jdbcType=TINYINT}, created_at = #{createdAt,jdbcType=TIMESTAMP}, updated_at = #{updatedAt,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR}, valid_flag = #{validFlag,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}