|
|
|
@ -35,8 +35,8 @@ public class MaterialClassificationServiceImpl extends BaseServiceImpl<MaterialC |
|
|
|
|
public List<MaterialClassExcel> export(MaterialClassificationVO materialClassificationVO) { |
|
|
|
|
List<MaterialClassExcel> list = baseMapper.exportData(materialClassificationVO); |
|
|
|
|
list.forEach(item -> { |
|
|
|
|
if (StringUtils.isNotEmpty(item.getApprovalStatus())) |
|
|
|
|
item.setApprovalStatus(dictService.getValue("check_status", Integer.parseInt(item.getApprovalStatus()))); |
|
|
|
|
if (StringUtils.isNotEmpty(item.getType())) |
|
|
|
|
item.setType(dictService.getValue("supplies_type", Integer.parseInt(item.getType()))); |
|
|
|
|
}); |
|
|
|
|
return list; |
|
|
|
|
} |
|
|
|
|