main
黄海 2 years ago
parent ff18b66e78
commit f0e8a8a019

@ -464,7 +464,7 @@ public class CollectModel {
* @return
*/
public int getSheetCount(String upload_excel_filename) {
String sql = "select * from t_collect_job_sheet where upload_excel_filename_finish=?";
String sql = "select distinct(sheet_index) from t_collect_job_sheet where upload_excel_filename_finish=?";
List<Record> list = Db.find(sql, upload_excel_filename);
return list.size();
}

Loading…
Cancel
Save