update cup_copy set text_ture =case id when ? then ? when ? then ? end where text_ture in ( ? , ? )
==> Parameters: 2(String), 10(String), 3(String), 93(String), 2(String), 3(String)
格式不对吗?
update cup_copy set text_ture =case id when ? then ? when ? then ? end where text_ture in ( ? , ? )
==> Parameters: 2(String), 10(String), 3(String), 93(String), 2(String), 3(String)
因为你写错了...
正确答案:update cup_copy set text_ture =case id when ? then ? when ? then ? end where id in ( ? , ? )