id, name, decimals_digits, unit_type, is_system, status, merchant_id, shop_id, created_at, updated_at delete from tb_shop_unit where id = #{id,jdbcType=INTEGER} insert into tb_shop_unit (id, name, decimals_digits, unit_type, is_system, status, merchant_id, shop_id, created_at, updated_at) values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{decimalsDigits,jdbcType=INTEGER}, #{unitType,jdbcType=VARCHAR}, #{isSystem,jdbcType=TINYINT}, #{status,jdbcType=TINYINT}, #{merchantId,jdbcType=VARCHAR}, #{shopId,jdbcType=VARCHAR}, #{createdAt,jdbcType=BIGINT}, #{updatedAt,jdbcType=BIGINT}) insert into tb_shop_unit id, name, decimals_digits, unit_type, is_system, status, merchant_id, shop_id, created_at, updated_at, #{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{decimalsDigits,jdbcType=INTEGER}, #{unitType,jdbcType=VARCHAR}, #{isSystem,jdbcType=TINYINT}, #{status,jdbcType=TINYINT}, #{merchantId,jdbcType=VARCHAR}, #{shopId,jdbcType=VARCHAR}, #{createdAt,jdbcType=BIGINT}, #{updatedAt,jdbcType=BIGINT}, update tb_shop_unit name = #{name,jdbcType=VARCHAR}, decimals_digits = #{decimalsDigits,jdbcType=INTEGER}, unit_type = #{unitType,jdbcType=VARCHAR}, is_system = #{isSystem,jdbcType=TINYINT}, status = #{status,jdbcType=TINYINT}, merchant_id = #{merchantId,jdbcType=VARCHAR}, shop_id = #{shopId,jdbcType=VARCHAR}, created_at = #{createdAt,jdbcType=BIGINT}, updated_at = #{updatedAt,jdbcType=BIGINT}, where id = #{id,jdbcType=INTEGER} update tb_shop_unit set name = #{name,jdbcType=VARCHAR}, decimals_digits = #{decimalsDigits,jdbcType=INTEGER}, unit_type = #{unitType,jdbcType=VARCHAR}, is_system = #{isSystem,jdbcType=TINYINT}, status = #{status,jdbcType=TINYINT}, merchant_id = #{merchantId,jdbcType=VARCHAR}, shop_id = #{shopId,jdbcType=VARCHAR}, created_at = #{createdAt,jdbcType=BIGINT}, updated_at = #{updatedAt,jdbcType=BIGINT} where id = #{id,jdbcType=INTEGER}