参数赋值
map.put("wanos",wanos.split(",")); //字符串数组
map.put("createusrno",usrno);
map.put("issend","0");
csCaseMapper.batchUpdate(map);
mapper.xml
<update id="batchUpdate" parameterType="map">
update rzxcscase
set createusrno=#{createusrno},issend=#{issend}
where wano in
<foreach item="wano" collection="wanos" open="(" separator="," close=")">
#{wano}
</foreach>
</update>