逻辑优化, 添加配置(未完成), db记录逻辑接入

This commit is contained in:
2024-07-08 19:25:54 +08:00
parent 8a12c47a1f
commit b2de036c61
11 changed files with 132 additions and 16 deletions

View File

@@ -57,6 +57,10 @@ impl ExcelService {
Ok(())
}
pub fn roll_back(&mut self){
self.current_line -= 1;
}
pub fn get_next_work_model(&mut self) -> Result<WorkModel, String> {
let mut work_model = WorkModel::default();
if let Some(imei) = self.sheet.get((self.current_line, 0)) {