方式之一
要点:1.XML中不使用parameterType。2.XML的参数中直接使用param1.param2.param3(对应Mapper的入参顺序)、、、、、
//Mapper文件
int deleteByUpId(String maintainUser,String maintainTime,String[] ids);
//XML文件
<update id="deleteByUpId">
update table_name set flage = '02' , maintain_user = #{param1} , maintain_time = #{param2}
where up_id in
<foreach item = "item" collection="param3" open="(" separator="," close=")">
#{item,jdbcType=VARCHAR}
</foreach>
</uodate>