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, category_id, name, model, standard, brand, mnemonic, color, unit, remark, img_name, unit_id, weight, enabled, other_field1, other_field2, other_field3, enable_serial_number, enable_batch_number, tenant_id, delete_flag delete from jsh_material where id = #{id,jdbcType=BIGINT} delete from jsh_material insert into jsh_material (id, category_id, name, mfrs, model, standard, brand, mnemonic, color, unit, remark, img_name, unit_id, expiry_num, weight, enabled, other_field1, other_field2, other_field3, enable_serial_number, enable_batch_number, position, tenant_id, delete_flag ) values (#{id,jdbcType=BIGINT}, #{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{mfrs,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, #{brand,jdbcType=VARCHAR}, #{mnemonic,jdbcType=VARCHAR}, #{color,jdbcType=VARCHAR}, #{unit,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{imgName,jdbcType=VARCHAR}, #{unitId,jdbcType=BIGINT}, #{expiryNum,jdbcType=INTEGER}, #{weight,jdbcType=DECIMAL}, #{enabled,jdbcType=BIT}, #{otherField1,jdbcType=VARCHAR}, #{otherField2,jdbcType=VARCHAR}, #{otherField3,jdbcType=VARCHAR}, #{enableSerialNumber,jdbcType=VARCHAR}, #{enableBatchNumber,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR} ) insert into jsh_material id, category_id, name, mfrs, model, standard, brand, mnemonic, color, unit, remark, img_name, unit_id, expiry_num, weight, enabled, other_field1, other_field2, other_field3, enable_serial_number, enable_batch_number, position, tenant_id, delete_flag, #{id,jdbcType=BIGINT}, #{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{mfrs,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, #{brand,jdbcType=VARCHAR}, #{mnemonic,jdbcType=VARCHAR}, #{color,jdbcType=VARCHAR}, #{unit,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{imgName,jdbcType=VARCHAR}, #{unitId,jdbcType=BIGINT}, #{expiryNum,jdbcType=INTEGER}, #{weight,jdbcType=DECIMAL}, #{enabled,jdbcType=BIT}, #{otherField1,jdbcType=VARCHAR}, #{otherField2,jdbcType=VARCHAR}, #{otherField3,jdbcType=VARCHAR}, #{enableSerialNumber,jdbcType=VARCHAR}, #{enableBatchNumber,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}, update jsh_material id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, mfrs = #{record.mfrs,jdbcType=VARCHAR}, model = #{record.model,jdbcType=VARCHAR}, standard = #{record.standard,jdbcType=VARCHAR}, brand = #{record.brand,jdbcType=VARCHAR}, mnemonic = #{record.mnemonic,jdbcType=VARCHAR}, color = #{record.color,jdbcType=VARCHAR}, unit = #{record.unit,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, img_name = #{record.imgName,jdbcType=VARCHAR}, unit_id = #{record.unitId,jdbcType=BIGINT}, expiry_num = #{record.expiryNum,jdbcType=INTEGER}, weight = #{record.weight,jdbcType=DECIMAL}, enabled = #{record.enabled,jdbcType=BIT}, other_field1 = #{record.otherField1,jdbcType=VARCHAR}, other_field2 = #{record.otherField2,jdbcType=VARCHAR}, other_field3 = #{record.otherField3,jdbcType=VARCHAR}, enable_serial_number = #{record.enableSerialNumber,jdbcType=VARCHAR}, enable_batch_number = #{record.enableBatchNumber,jdbcType=VARCHAR}, position = #{record.position,jdbcType=VARCHAR}, tenant_id = #{record.tenantId,jdbcType=BIGINT}, delete_flag = #{record.deleteFlag,jdbcType=VARCHAR}, update jsh_material set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, mfrs = #{record.mfrs,jdbcType=VARCHAR}, model = #{record.model,jdbcType=VARCHAR}, standard = #{record.standard,jdbcType=VARCHAR}, brand = #{record.brand,jdbcType=VARCHAR}, mnemonic = #{record.mnemonic,jdbcType=VARCHAR}, color = #{record.color,jdbcType=VARCHAR}, unit = #{record.unit,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, img_name = #{record.imgName,jdbcType=VARCHAR}, unit_id = #{record.unitId,jdbcType=BIGINT}, expiry_num = #{record.expiryNum,jdbcType=INTEGER}, weight = #{record.weight,jdbcType=DECIMAL}, enabled = #{record.enabled,jdbcType=BIT}, other_field1 = #{record.otherField1,jdbcType=VARCHAR}, other_field2 = #{record.otherField2,jdbcType=VARCHAR}, other_field3 = #{record.otherField3,jdbcType=VARCHAR}, enable_serial_number = #{record.enableSerialNumber,jdbcType=VARCHAR}, enable_batch_number = #{record.enableBatchNumber,jdbcType=VARCHAR}, position = #{record.position,jdbcType=VARCHAR}, tenant_id = #{record.tenantId,jdbcType=BIGINT}, delete_flag = #{record.deleteFlag,jdbcType=VARCHAR} update jsh_material category_id = #{categoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, model = #{model,jdbcType=VARCHAR}, standard = #{standard,jdbcType=VARCHAR}, brand = #{brand,jdbcType=VARCHAR}, mnemonic = #{mnemonic,jdbcType=VARCHAR}, color = #{color,jdbcType=VARCHAR}, unit = #{unit,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, img_name = #{imgName,jdbcType=VARCHAR}, unit_id = #{unitId,jdbcType=BIGINT}, weight = #{weight,jdbcType=DECIMAL}, enabled = #{enabled,jdbcType=BIT}, other_field1 = #{otherField1,jdbcType=VARCHAR}, other_field2 = #{otherField2,jdbcType=VARCHAR}, other_field3 = #{otherField3,jdbcType=VARCHAR}, enable_serial_number = #{enableSerialNumber,jdbcType=VARCHAR}, enable_batch_number = #{enableBatchNumber,jdbcType=VARCHAR}, tenant_id = #{tenantId,jdbcType=BIGINT}, delete_flag = #{deleteFlag,jdbcType=VARCHAR}, delete_flag = #{deleteFlag,jdbcType=VARCHAR}, moving_pin_reminder_cycle = #{movingPinReminderCycle,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update jsh_material set category_id = #{categoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, mfrs = #{mfrs,jdbcType=VARCHAR}, model = #{model,jdbcType=VARCHAR}, standard = #{standard,jdbcType=VARCHAR}, brand = #{brand,jdbcType=VARCHAR}, mnemonic = #{mnemonic,jdbcType=VARCHAR}, color = #{color,jdbcType=VARCHAR}, unit = #{unit,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, img_name = #{imgName,jdbcType=VARCHAR}, unit_id = #{unitId,jdbcType=BIGINT}, expiry_num = #{expiryNum,jdbcType=INTEGER}, weight = #{weight,jdbcType=DECIMAL}, enabled = #{enabled,jdbcType=BIT}, other_field1 = #{otherField1,jdbcType=VARCHAR}, other_field2 = #{otherField2,jdbcType=VARCHAR}, other_field3 = #{otherField3,jdbcType=VARCHAR}, enable_serial_number = #{enableSerialNumber,jdbcType=VARCHAR}, enable_batch_number = #{enableBatchNumber,jdbcType=VARCHAR}, position = #{position,jdbcType=VARCHAR}, tenant_id = #{tenantId,jdbcType=BIGINT}, delete_flag = #{deleteFlag,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}