yhluo 1 день назад
Родитель
Сommit
976aeeced5
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/main/java/com/uas/eis/serviceImpl/MESHelperServiceImpl.java

+ 2 - 2
src/main/java/com/uas/eis/serviceImpl/MESHelperServiceImpl.java

@@ -222,8 +222,8 @@ public class MESHelperServiceImpl implements MESHelperService {
 
 		Object st_maxusecount = baseDao.getFieldDataByCondition("stencil", "nvl(st_maxusecount, 0)", "st_code = '"+MeshCode+"'");
 		Object st_usecount = baseDao.getFieldDataByCondition("stencil", "nvl(st_usecount, 0)", "st_code = '"+MeshCode+"'");
-		int stMaxusecount = Integer.parseInt(st_maxusecount.toString());
-		int stusecount = Integer.parseInt(st_usecount.toString());
+		double stMaxusecount = Integer.parseInt(st_maxusecount.toString());
+		double stusecount = Integer.parseInt(st_usecount.toString());
 		if (stMaxusecount - stusecount <= 0)
 		{
 			rmap.put("Result","NG");