|
@@ -0,0 +1,56 @@
|
|
|
+package com.github.zuihou.business.controller.productionResourceCenter;
|
|
|
+
|
|
|
+import com.github.zuihou.base.R;
|
|
|
+import com.github.zuihou.base.controller.SuperController;
|
|
|
+import com.github.zuihou.business.externalApi.entity.MesNotice;
|
|
|
+import com.github.zuihou.business.externalApi.entity.MesNoticeLog;
|
|
|
+import com.github.zuihou.business.productionReadyCenter.service.MesNoticeLogService;
|
|
|
+import com.github.zuihou.business.productionResourceCenter.dto.MaintenanceLogPageDTO;
|
|
|
+import com.github.zuihou.business.productionResourceCenter.dto.MaintenanceLogSaveDTO;
|
|
|
+import com.github.zuihou.business.productionResourceCenter.dto.MaintenanceLogUpdateDTO;
|
|
|
+import com.github.zuihou.business.productionResourceCenter.entity.MaintenanceLog;
|
|
|
+import com.github.zuihou.business.productionResourceCenter.service.MaintenanceLogService;
|
|
|
+import com.github.zuihou.log.annotation.SysLog;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+import java.util.stream.Collectors;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Project: imcs-admin-boot
|
|
|
+ * @Package: com.github.zuihou.business.controller.productionResourceCenter
|
|
|
+ * @Author: Lenovo
|
|
|
+ * @Time: 2025 - 07 - 08 14 : 52
|
|
|
+ * @Description:
|
|
|
+ */
|
|
|
+
|
|
|
+@Slf4j
|
|
|
+@Validated
|
|
|
+@RestController
|
|
|
+@RequestMapping("/mesNoticeLog")
|
|
|
+@Api(value = "mesNoticeLog",tags ="代办日志记录")
|
|
|
+@SysLog(enabled = true)
|
|
|
+public class MesNoticeLogController extends SuperController<MesNoticeLogService,Long, MesNoticeLog, MesNoticeLog, MesNoticeLog, MesNoticeLog> {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private MesNoticeLogService mesNoticeLogService;
|
|
|
+
|
|
|
+ @ApiOperation(value = "根据id查询代办日志", notes = "根据id查询代办日志")
|
|
|
+ @PostMapping("/getList")
|
|
|
+ public R<List<MesNoticeLog>> getList(@RequestBody MesNotice dto) {
|
|
|
+
|
|
|
+ List<MesNoticeLog> list = mesNoticeLogService.getList(dto);
|
|
|
+
|
|
|
+ return success(list);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|