Lius
2025-03-03 c89ca4524fa8311ebb415a2f225d2f95da780603
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcWorkshopInfoController.java
@@ -23,6 +23,7 @@
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;
@@ -292,4 +293,17 @@
        }
    }
    /**
     * 查询车间
     */
    @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);
    }
}