YYC
2023-06-15 a8da7c463224b9a5bc4628197afe4d9f7d05361c
igds-api-phone/src/main/java/com/ld/igds/phone35/service/impl/Phone35ServiceImpl5204.java
@@ -75,7 +75,7 @@
        param.setProgress(InoutConstant.PROGRESS_RECORD);
        List<InoutRecord> list = hPhoneService.listInoutRecord(param);
        if(null == list || list.isEmpty()){
        if (null == list || list.isEmpty()) {
            return PhoneRespUtil.success(dto, req);
        }
@@ -88,6 +88,9 @@
            BeanUtils.copyProperties(record, inoutData);
            inoutData.setDepotName(phone35Util.getDepotName(phone35AuthUser.getCompanyId(), record.getDepotId()));
            inoutData.setFoodVarietyName(FoodVariety.getMsg(record.getFoodVariety()));
            if (inoutData.getRecordWeight() == null) {
                inoutData.setRecordWeight(0.0);
            }
            sum += inoutData.getRecordWeight();
            listDto.add(inoutData);
        }