select prodInventoryId, prodId, prodAttrId, mercId, quantity, availQty, delFlag, createUser, createTime, updateUser, updateTime from t_prod_inventory select ${tableAlias}.prodInventoryId, ${tableAlias}.prodId, ${tableAlias}.prodAttrId, ${tableAlias}.mercId, ${tableAlias}.quantity, ${tableAlias}.availQty, ${tableAlias}.delFlag, ${tableAlias}.createUser, ${tableAlias}.createTime, ${tableAlias}.updateUser, ${tableAlias}.updateTime from t_prod_inventory ${tableAlias} insert into t_prod_inventory prodId, prodAttrId, mercId, quantity, availQty, delFlag, createUser, createTime, updateUser, updateTime, #{prodId}, #{prodAttrId}, #{mercId}, #{quantity}, #{availQty}, #{delFlag}, #{createUser}, #{createTime}, #{updateUser}, #{updateTime}, insert into t_prod_inventory( prodId, prodAttrId, mercId, quantity, availQty, delFlag, createUser, createTime, updateUser, updateTime) values ( #{item.prodId}, #{item.prodAttrId}, #{item.mercId}, #{item.quantity}, #{item.availQty}, #{item.delFlag}, #{item.createUser}, #{item.createTime}, #{item.updateUser}, #{item.updateTime}) update t_prod_inventory prodId = #{prodId}, prodAttrId = #{prodAttrId}, mercId = #{mercId}, quantity = #{quantity}, availQty = #{availQty}, delFlag = #{delFlag}, createUser = #{createUser}, createTime = #{createTime}, updateUser = #{updateUser}, updateTime = #{updateTime}, where prodInventoryId = #{prodInventoryId} delete from t_prod_inventory where prodInventoryId = #{prodInventoryId} delete from t_prod_inventory where prodInventoryId in #{prodInventoryId} update t_prod_inventory set delFlag = '1' where prodInventoryId = #{prodInventoryId} update t_prod_inventory set delFlag = '1' where prodInventoryId in #{prodInventoryId} update t_prod_inventory set delFlag = '1' and prodId = #{prodId} and prodAttrId = #{prodAttrId} and mercId = #{mercId} and quantity = #{quantity} and availQty = #{availQty} and delFlag = #{delFlag} and createUser = #{createUser} and createTime = #{createTime} and updateUser = #{updateUser} and updateTime = #{updateTime}