String sql = " DELETE FROM T_AM_PROBLEM_BASIS M WHERE M.PROBLEM_GID=:problemId ";
数据库mysql,执行时报错,改为:
String sql = " DELETE FROM T_AM_PROBLEM_BASIS WHERE PROBLEM_GID=:problemId ";
遇到sql报错时,要直接拿出日志中的sql去执行,不能随意改,不然就会浪费很多时间。
String sql = " DELETE FROM T_AM_PROBLEM_BASIS M WHERE M.PROBLEM_GID=:problemId ";
数据库mysql,执行时报错,改为:
String sql = " DELETE FROM T_AM_PROBLEM_BASIS WHERE PROBLEM_GID=:problemId ";
遇到sql报错时,要直接拿出日志中的sql去执行,不能随意改,不然就会浪费很多时间。