wangzhinan hace 3 años
padre
commit
14a1dde1b6

+ 1 - 1
svr/svr-base/src/main/java/com/yihu/jw/base/service/a3service/MedicinedeviceService.java

@ -885,7 +885,7 @@ public class MedicinedeviceService  extends BaseJpaService<Mediicinedevice, Medi
            Integer noOnlineTotal1 = 0;
            if (totalMap!=null){
                if (totalMap.get("cargoCapacity") != null) {
                    noOnlineTotal1 = (int) Double.parseDouble(totalMap.get("cargoCapacity").toString()) + Integer.parseInt(qty);
                    noOnlineTotal1 = (int) Double.parseDouble(totalMap.get("cargoCapacity").toString());
                }
            }
            mediicinedevice.setCapacity(String.valueOf(noOnlineTotal1));