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, CategoryId, Name, Mfrs, Packing, SafetyStock, Model, Standard, Color, Unit, Remark, RetailPrice, LowPrice, PresetPriceOne, PresetPriceTwo, UnitId, FirstOutUnit, FirstInUnit, PriceStrategy, Enabled, OtherField1, OtherField2, OtherField3, enableSerialNumber, tenant_id, delete_Flag delete from jsh_material where Id = #{id,jdbcType=BIGINT} delete from jsh_material insert into jsh_material (Id, CategoryId, Name, Mfrs, Packing, SafetyStock, Model, Standard, Color, Unit, Remark, RetailPrice, LowPrice, PresetPriceOne, PresetPriceTwo, UnitId, FirstOutUnit, FirstInUnit, PriceStrategy, Enabled, OtherField1, OtherField2, OtherField3, enableSerialNumber, tenant_id, delete_Flag) values (#{id,jdbcType=BIGINT}, #{categoryid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{mfrs,jdbcType=VARCHAR}, #{packing,jdbcType=DECIMAL}, #{safetystock,jdbcType=DECIMAL}, #{model,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, #{color,jdbcType=VARCHAR}, #{unit,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{retailprice,jdbcType=DECIMAL}, #{lowprice,jdbcType=DECIMAL}, #{presetpriceone,jdbcType=DECIMAL}, #{presetpricetwo,jdbcType=DECIMAL}, #{unitid,jdbcType=BIGINT}, #{firstoutunit,jdbcType=VARCHAR}, #{firstinunit,jdbcType=VARCHAR}, #{pricestrategy,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT}, #{otherfield1,jdbcType=VARCHAR}, #{otherfield2,jdbcType=VARCHAR}, #{otherfield3,jdbcType=VARCHAR}, #{enableserialnumber,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}) insert into jsh_material Id, CategoryId, Name, Mfrs, Packing, SafetyStock, Model, Standard, Color, Unit, Remark, RetailPrice, LowPrice, PresetPriceOne, PresetPriceTwo, UnitId, FirstOutUnit, FirstInUnit, PriceStrategy, Enabled, OtherField1, OtherField2, OtherField3, enableSerialNumber, tenant_id, delete_Flag, #{id,jdbcType=BIGINT}, #{categoryid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{mfrs,jdbcType=VARCHAR}, #{packing,jdbcType=DECIMAL}, #{safetystock,jdbcType=DECIMAL}, #{model,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, #{color,jdbcType=VARCHAR}, #{unit,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{retailprice,jdbcType=DECIMAL}, #{lowprice,jdbcType=DECIMAL}, #{presetpriceone,jdbcType=DECIMAL}, #{presetpricetwo,jdbcType=DECIMAL}, #{unitid,jdbcType=BIGINT}, #{firstoutunit,jdbcType=VARCHAR}, #{firstinunit,jdbcType=VARCHAR}, #{pricestrategy,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT}, #{otherfield1,jdbcType=VARCHAR}, #{otherfield2,jdbcType=VARCHAR}, #{otherfield3,jdbcType=VARCHAR}, #{enableserialnumber,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}, update jsh_material Id = #{record.id,jdbcType=BIGINT}, CategoryId = #{record.categoryid,jdbcType=BIGINT}, Name = #{record.name,jdbcType=VARCHAR}, Mfrs = #{record.mfrs,jdbcType=VARCHAR}, Packing = #{record.packing,jdbcType=DECIMAL}, SafetyStock = #{record.safetystock,jdbcType=DECIMAL}, Model = #{record.model,jdbcType=VARCHAR}, Standard = #{record.standard,jdbcType=VARCHAR}, Color = #{record.color,jdbcType=VARCHAR}, Unit = #{record.unit,jdbcType=VARCHAR}, Remark = #{record.remark,jdbcType=VARCHAR}, RetailPrice = #{record.retailprice,jdbcType=DECIMAL}, LowPrice = #{record.lowprice,jdbcType=DECIMAL}, PresetPriceOne = #{record.presetpriceone,jdbcType=DECIMAL}, PresetPriceTwo = #{record.presetpricetwo,jdbcType=DECIMAL}, UnitId = #{record.unitid,jdbcType=BIGINT}, FirstOutUnit = #{record.firstoutunit,jdbcType=VARCHAR}, FirstInUnit = #{record.firstinunit,jdbcType=VARCHAR}, PriceStrategy = #{record.pricestrategy,jdbcType=VARCHAR}, Enabled = #{record.enabled,jdbcType=BIT}, OtherField1 = #{record.otherfield1,jdbcType=VARCHAR}, OtherField2 = #{record.otherfield2,jdbcType=VARCHAR}, OtherField3 = #{record.otherfield3,jdbcType=VARCHAR}, enableSerialNumber = #{record.enableserialnumber,jdbcType=VARCHAR}, tenant_id = #{record.tenantId,jdbcType=BIGINT}, delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}, update jsh_material set Id = #{record.id,jdbcType=BIGINT}, CategoryId = #{record.categoryid,jdbcType=BIGINT}, Name = #{record.name,jdbcType=VARCHAR}, Mfrs = #{record.mfrs,jdbcType=VARCHAR}, Packing = #{record.packing,jdbcType=DECIMAL}, SafetyStock = #{record.safetystock,jdbcType=DECIMAL}, Model = #{record.model,jdbcType=VARCHAR}, Standard = #{record.standard,jdbcType=VARCHAR}, Color = #{record.color,jdbcType=VARCHAR}, Unit = #{record.unit,jdbcType=VARCHAR}, Remark = #{record.remark,jdbcType=VARCHAR}, RetailPrice = #{record.retailprice,jdbcType=DECIMAL}, LowPrice = #{record.lowprice,jdbcType=DECIMAL}, PresetPriceOne = #{record.presetpriceone,jdbcType=DECIMAL}, PresetPriceTwo = #{record.presetpricetwo,jdbcType=DECIMAL}, UnitId = #{record.unitid,jdbcType=BIGINT}, FirstOutUnit = #{record.firstoutunit,jdbcType=VARCHAR}, FirstInUnit = #{record.firstinunit,jdbcType=VARCHAR}, PriceStrategy = #{record.pricestrategy,jdbcType=VARCHAR}, Enabled = #{record.enabled,jdbcType=BIT}, OtherField1 = #{record.otherfield1,jdbcType=VARCHAR}, OtherField2 = #{record.otherfield2,jdbcType=VARCHAR}, OtherField3 = #{record.otherfield3,jdbcType=VARCHAR}, enableSerialNumber = #{record.enableserialnumber,jdbcType=VARCHAR}, tenant_id = #{record.tenantId,jdbcType=BIGINT}, delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR} update jsh_material CategoryId = #{categoryid,jdbcType=BIGINT}, Name = #{name,jdbcType=VARCHAR}, Mfrs = #{mfrs,jdbcType=VARCHAR}, Packing = #{packing,jdbcType=DECIMAL}, SafetyStock = #{safetystock,jdbcType=DECIMAL}, Model = #{model,jdbcType=VARCHAR}, Standard = #{standard,jdbcType=VARCHAR}, Color = #{color,jdbcType=VARCHAR}, Unit = #{unit,jdbcType=VARCHAR}, Remark = #{remark,jdbcType=VARCHAR}, RetailPrice = #{retailprice,jdbcType=DECIMAL}, LowPrice = #{lowprice,jdbcType=DECIMAL}, PresetPriceOne = #{presetpriceone,jdbcType=DECIMAL}, PresetPriceTwo = #{presetpricetwo,jdbcType=DECIMAL}, UnitId = #{unitid,jdbcType=BIGINT}, FirstOutUnit = #{firstoutunit,jdbcType=VARCHAR}, FirstInUnit = #{firstinunit,jdbcType=VARCHAR}, PriceStrategy = #{pricestrategy,jdbcType=VARCHAR}, Enabled = #{enabled,jdbcType=BIT}, OtherField1 = #{otherfield1,jdbcType=VARCHAR}, OtherField2 = #{otherfield2,jdbcType=VARCHAR}, OtherField3 = #{otherfield3,jdbcType=VARCHAR}, enableSerialNumber = #{enableserialnumber,jdbcType=VARCHAR}, tenant_id = #{tenantId,jdbcType=BIGINT}, delete_Flag = #{deleteFlag,jdbcType=VARCHAR}, where Id = #{id,jdbcType=BIGINT} update jsh_material set CategoryId = #{categoryid,jdbcType=BIGINT}, Name = #{name,jdbcType=VARCHAR}, Mfrs = #{mfrs,jdbcType=VARCHAR}, Packing = #{packing,jdbcType=DECIMAL}, SafetyStock = #{safetystock,jdbcType=DECIMAL}, Model = #{model,jdbcType=VARCHAR}, Standard = #{standard,jdbcType=VARCHAR}, Color = #{color,jdbcType=VARCHAR}, Unit = #{unit,jdbcType=VARCHAR}, Remark = #{remark,jdbcType=VARCHAR}, RetailPrice = #{retailprice,jdbcType=DECIMAL}, LowPrice = #{lowprice,jdbcType=DECIMAL}, PresetPriceOne = #{presetpriceone,jdbcType=DECIMAL}, PresetPriceTwo = #{presetpricetwo,jdbcType=DECIMAL}, UnitId = #{unitid,jdbcType=BIGINT}, FirstOutUnit = #{firstoutunit,jdbcType=VARCHAR}, FirstInUnit = #{firstinunit,jdbcType=VARCHAR}, PriceStrategy = #{pricestrategy,jdbcType=VARCHAR}, Enabled = #{enabled,jdbcType=BIT}, OtherField1 = #{otherfield1,jdbcType=VARCHAR}, OtherField2 = #{otherfield2,jdbcType=VARCHAR}, OtherField3 = #{otherfield3,jdbcType=VARCHAR}, enableSerialNumber = #{enableserialnumber,jdbcType=VARCHAR}, tenant_id = #{tenantId,jdbcType=BIGINT}, delete_Flag = #{deleteFlag,jdbcType=VARCHAR} where Id = #{id,jdbcType=BIGINT}