| | |
| | | import org.jeecg.modules.mdc.service.IMdcWorkshopInfoService; |
| | | import org.jeecg.modules.mdc.vo.MdcWorkshopEquipmentVo; |
| | | import org.jeecg.modules.mdc.vo.WorkshopEquipmentVo; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 查询车间 |
| | | */ |
| | | @AutoLog(value = "大屏车间信息-查询车间") |
| | | @ApiOperation(value = "大屏车间信息-查询车间", notes = "大屏车间信息-查询车间") |
| | | @GetMapping(value = "/getProductionList") |
| | | public Result<List<MdcProduction>> getProductionList() { |
| | | LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
| | | String userId = user.getId(); |
| | | List<MdcProduction> list = mdcWorkshopInfoService.productionListByUser(userId); |
| | | return Result.OK(list); |
| | | } |
| | | |
| | | } |