sql.append("from CourseInfo c where c.coopCode='exe.com' and c.active='1'"); if(teacherInfo.getId()!=null && teacherInfo.getId().trim().length()>0){ sql.append(" and c.teacher like '%").append(teacherInfo.getId()).append("%' limit 3 ORDER by c.optTime DESC"); }
你好,麻煩請(qǐng)看下我這個(gè)sql語句為啥出錯(cuò)了?
天涯盡頭無女友
2022-06-04 09:05:24