|
@@ -4,6 +4,7 @@ import java.util.Map;
|
|
import com.miniframe.core.ExecProcessFlow;
|
|
import com.miniframe.core.ExecProcessFlow;
|
|
import com.miniframe.core.exception.BusinessException;
|
|
import com.miniframe.core.exception.BusinessException;
|
|
import com.miniframe.core.ext.UtilTools;
|
|
import com.miniframe.core.ext.UtilTools;
|
|
|
|
+import com.miniframe.disaster.service.LogService;
|
|
import com.miniframe.generate.business.system.model.D30004BaseModel;
|
|
import com.miniframe.generate.business.system.model.D30004BaseModel;
|
|
import com.miniframe.model.system.DAccident;
|
|
import com.miniframe.model.system.DAccident;
|
|
import com.miniframe.model.system.dao.DAccidentMapper;
|
|
import com.miniframe.model.system.dao.DAccidentMapper;
|
|
@@ -27,6 +28,7 @@ public class D30004Service extends D30004BaseModel implements ExecProcessFlow {
|
|
if(acc==null){
|
|
if(acc==null){
|
|
throw new BusinessException("EB3100038",new String[]{aid.toString()});
|
|
throw new BusinessException("EB3100038",new String[]{aid.toString()});
|
|
}
|
|
}
|
|
|
|
+
|
|
String stype="gass";
|
|
String stype="gass";
|
|
if(acc.getStype().equals("Water")){
|
|
if(acc.getStype().equals("Water")){
|
|
stype="Water";
|
|
stype="Water";
|
|
@@ -37,6 +39,7 @@ public class D30004Service extends D30004BaseModel implements ExecProcessFlow {
|
|
}else if(acc.getStype().equals("Gass1")){
|
|
}else if(acc.getStype().equals("Gass1")){
|
|
stype ="gass";
|
|
stype ="gass";
|
|
}
|
|
}
|
|
|
|
+ LogService.addLog(aid,acc.getJid(),stype,"求解——————————————————停止");
|
|
DockerExe.stopDocker(aid,stype);
|
|
DockerExe.stopDocker(aid,stype);
|
|
|
|
|
|
}
|
|
}
|