Commit 66e14201 authored by Quxl's avatar Quxl

修改SQL BUG

parent 13d9ff7f
...@@ -199,7 +199,7 @@ public class MemberServiceImpl implements MemberService { ...@@ -199,7 +199,7 @@ public class MemberServiceImpl implements MemberService {
String en_name, String en_name,
String intro) { String intro) {
Long last_modify_time = System.currentTimeMillis(); Long last_modify_time = System.currentTimeMillis();
String sql = "update fc_member_film set enroll_type_name_other = ?, cn_name = ?, en_name = ?, intro = ?, last_modify_time = ? and where member_id = ? id = ?"; String sql = "update fc_member_film set enroll_type_name_other = ?, cn_name = ?, en_name = ?, intro = ?, last_modify_time = ? where member_id = ? and id = ?";
String str = StringUtil.join(",", "", "", "", enroll_type_name_other); String str = StringUtil.join(",", "", "", "", enroll_type_name_other);
Object[] args = new Object[]{str, cn_name, en_name, intro, last_modify_time, member_id, member_film_id}; Object[] args = new Object[]{str, cn_name, en_name, intro, last_modify_time, member_id, member_film_id};
jdbcTemplate.executeUpdate(sql, args); jdbcTemplate.executeUpdate(sql, args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment