|
@@ -276,8 +276,9 @@ public class D00008Service extends D00008BaseModel implements ExecProcessFlow {
|
|
public void saveMonitorValue(Integer aid,Integer jid) throws FileNotFoundException, BusinessException {
|
|
public void saveMonitorValue(Integer aid,Integer jid) throws FileNotFoundException, BusinessException {
|
|
DJobMapper dJobDao= UtilTools.getBean(DJobMapper.class);
|
|
DJobMapper dJobDao= UtilTools.getBean(DJobMapper.class);
|
|
DJob job =dJobDao.selectByPrimaryKey(jid);
|
|
DJob job =dJobDao.selectByPrimaryKey(jid);
|
|
- Integer stepNum = Integer.valueOf(job.getTotaltime())/Integer.valueOf(job.getReportstep());
|
|
|
|
|
|
+ Double stepDNum = Double.valueOf(job.getTotaltime())/Double.valueOf(job.getReportstep());
|
|
|
|
|
|
|
|
+ Integer stepNum =stepDNum.intValue();
|
|
DAccidentMapper accidentDao = UtilTools.getBean(DAccidentMapper.class);
|
|
DAccidentMapper accidentDao = UtilTools.getBean(DAccidentMapper.class);
|
|
DAccident accident= accidentDao.selectByPrimaryKey(aid);
|
|
DAccident accident= accidentDao.selectByPrimaryKey(aid);
|
|
|
|
|