| | |
| | | package com.consum.base.service; |
| | | |
| | | import com.consum.base.core.utils.CurrencyUtil; |
| | | import com.consum.base.core.utils.MapUtils; |
| | | import com.consum.base.core.utils.MapperUtil; |
| | | import com.consum.base.core.utils.PageUtil; |
| | |
| | | List<ProcureExcelTemplate> list = Lists.newArrayList(); |
| | | select.forEach(item -> { |
| | | ProcureExcelTemplate templateExcelExport = MapUtils.convertMapToObj(item, ProcureExcelTemplate.class); |
| | | templateExcelExport.setTotalAmount(CurrencyUtil.convertFenToYuan(templateExcelExport.getTotalAmount())); |
| | | templateExcelExport.setPrice(CurrencyUtil.convertFenToYuan(templateExcelExport.getPrice())); |
| | | list.add(templateExcelExport); |
| | | }); |
| | | return list; |