逻辑修改, 日志服务添加

This commit is contained in:
2024-07-08 17:54:31 +08:00
parent f1908d1fc4
commit 3ead5ce0b6
5 changed files with 126 additions and 10 deletions

View File

@@ -52,6 +52,11 @@ impl ExcelService {
current_line
}
pub fn set_current_line(&mut self, line: usize)->Result<(), String>{
self.current_line = line;
Ok(())
}
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)) {