StringBuilder sql = new StringBuilder("SELECT ID,COMMAND,DESCRIPTION,CONTENT FROM message where 1= 1"); if(command!=null&&!"".equals(command.trim())) { sql.append(" and COMMAND = ? "); }
时间: 2024-10-13 13:02:10
StringBuilder sql = new StringBuilder("SELECT ID,COMMAND,DESCRIPTION,CONTENT FROM message where 1= 1"); if(command!=null&&!"".equals(command.trim())) { sql.append(" and COMMAND = ? "); }