| | |
| | | import org.jeecg.modules.eam.entity.EamEquipment; |
| | | import org.jeecg.modules.eam.entity.EamEquipmentExtend; |
| | | import org.jeecg.modules.eam.request.EamEquipmentQuery; |
| | | import org.jeecg.modules.eam.dto.EquipmentCategoryStatistics; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentExtendService; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.vo.EamEquipmentTree; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 设备台账-台账统计 |
| | | * |
| | | * @return |
| | | */ |
| | | // @AutoLog(value = "设备台账-分页列表查询") |
| | | @ApiOperation(value = "设备台账-台账统计", notes = "设备台账-台账统计") |
| | | @GetMapping(value = "/queryLedgerStatistics") |
| | | public Result<?> queryLedgerStatistics() { |
| | | List<EquipmentCategoryStatistics> list = eamEquipmentService.queryLedgerStatistics(); |
| | | return Result.OK(list); |
| | | } |
| | | |
| | | /** |
| | | * 导出台账统计excel |
| | | * |
| | | * @param request |
| | | */ |
| | | @RequestMapping(value = "/exportLedgerStatisticsXls") |
| | | public ModelAndView exportLedgerStatisticsXls(HttpServletRequest request) { |
| | | return eamEquipmentService.exportLedgerStatisticsXls(request, EquipmentCategoryStatistics.class, "台账统计"); |
| | | } |
| | | |
| | | /** |
| | | * 添加 |
| | | * |
| | | * @param eamEquipment |