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

update使用prepare方式还是不行。改为insert ON DUPLICATE KEY UPDATE,使用prepare方式就正常了。