t.id as id, t.mix_material_id as mixMaterialId, t.material_name as materialName, t.material_value as materialValue t.mix_material_id = #{mixMaterialId} AND t.material_name = #{materialName} AND t.material_value = #{materialValue} AND insert into t_mix_material_info mix_material_id, id, material_name, material_value, #{mixMaterialId}, #{id}, #{materialName}, #{materialValue}, update t_mix_material_info mix_material_id=#{mixMaterialId}, material_name=#{materialName}, material_value=#{materialValue}, where id=#{id} update t_mix_material_info SET is_use = 0 where id=#{id} delete from t_mix_material_info where id=#{id} delete from t_mix_material_info where mix_material_id = #{mixMaterialId}