batch update 用prepare,只更新部分数据

正式因为标准语句慢,所以才想起用prepare的方式。