| | |
| | | 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); |
| | | } |
| | | |
| | |
| | | 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); |
| | | } |