|
楼主 |
发表于 2020-3-10 09:09:43
|
显示全部楼层
public static Table queryTSP_PLAN_MAIN_YEAR(String majorId){
String sql = "select WORK_NAME,WORK_CONT_REQ,CLASSIFY from tsp_plan_main where classify='定期计划' and major_code='"+majorId+"' and IS_ENABLE_CH='启动' union all select WORK_NAME,WORK_CONT_REQ,CLASSIFY from tsp_plan_main where classify='不定期计划' and start_time >='2019-01-01' and major_code='"+majorId+"'";
Map<String, String> sqlMap = new HashMap<String, String>();
sqlMap.put(SQL.DEFAULT_DB_NAME, sql);
Table table = SQL.select(sqlMap, null, "/TSP/PlanManage/data");
return table;
}
是这么写吗 我报错了
编码: JUSTEP001007; 提示: data[dialogData]的query action参数idColumn没有定义
|
|