Pārlūkot izejas kodu

求解成功失败

huangxingxing 1 gadu atpakaļ
vecāks
revīzija
7a208c6af6

+ 8 - 6
src/main/java/com/miniframe/bisiness/system/D00008Service.java

@@ -332,10 +332,11 @@ public class D00008Service extends D00008BaseModel implements ExecProcessFlow {
 					LogService.addLog(aid,jid,"Water",line);
 					LogService.addLog(aid,jid,"Water",line);
 					System.out.println(line);
 					System.out.println(line);
 				}
 				}
-				LogService.addLog(aid,jid,"Water","求解——————————————————成功");
-				JobSucces(jid);
-				saveMonitorValue(aid,jid);
 
 
+
+				saveMonitorValue(aid,jid);
+				JobSucces(jid);
+				LogService.addLog(aid,jid,"Water","求解——————————————————成功");
 			} catch (IOException | BusinessException e) {
 			} catch (IOException | BusinessException e) {
 				LogService.addLog(aid,jid,"Water","求解——————————————————失败");
 				LogService.addLog(aid,jid,"Water","求解——————————————————失败");
 				JobError(jid);
 				JobError(jid);
@@ -365,11 +366,12 @@ public class D00008Service extends D00008BaseModel implements ExecProcessFlow {
 				LogService.addLog(aid,jid,"Fire",line);
 				LogService.addLog(aid,jid,"Fire",line);
 				System.out.println(line);
 				System.out.println(line);
 			}
 			}
-			LogService.addLog(aid,jid,"Fire","求解——————————————————成功");
-				JobSucces(jid);
+
+
 				//监测点数据保存
 				//监测点数据保存
 				saveMonitorValue(aid,jid);
 				saveMonitorValue(aid,jid);
-
+				LogService.addLog(aid,jid,"Fire","求解——————————————————成功");
+				JobSucces(jid);
 			} catch (IOException | BusinessException e) {
 			} catch (IOException | BusinessException e) {
 				LogService.addLog(aid,jid,"Fire","求解——————————————————失败");
 				LogService.addLog(aid,jid,"Fire","求解——————————————————失败");
 				e.printStackTrace();
 				e.printStackTrace();