|
|
|
@ -122,4 +122,18 @@ public class CollectModel {
|
|
|
|
|
String sql = "select * from t_collect_job_sheet where job_id=? order by sheet_index";
|
|
|
|
|
return Db.find(sql, job_id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 功能:获取指定Sheet的表结构,也就是列的信息
|
|
|
|
|
*
|
|
|
|
|
* @param job_id
|
|
|
|
|
* @param sheet_index
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public List<Record> getSheetStruct(int job_id, int sheet_index) {
|
|
|
|
|
String sql = "select * from t_collect_job_sheet_col where job_id=? and sheet_index=? order by column_index";
|
|
|
|
|
return Db.find(sql, job_id, sheet_index);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|