package org.jeecg.modules.mdc.controller; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.api.vo.Result; import org.jeecg.common.aspect.annotation.AutoLog; import org.jeecg.common.system.base.controller.JeecgController; import org.jeecg.modules.mdc.entity.AndonOrder; import org.jeecg.modules.mdc.service.IAndonOrderService; import org.springframework.beans.factory.annotation.Autowired; 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; /** * @Description: andon_order * @Author: jeecg-boot * @Date: 2025-06-11 * @Version: V1.0 */ @Api(tags="andon_order") @RestController @RequestMapping("/AndonOrder/andonOrder") @Slf4j public class AndonOrderController extends JeecgController { @Autowired private IAndonOrderService andonOrderService; /** * 程序呼叫 * * @param andonOrder * @return */ @AutoLog(value = "安灯工单-程序呼叫") @ApiOperation(value = "安灯工单-程序呼叫", notes = "安灯工单-程序呼叫") @PostMapping(value = "/procedureCall") public Result procedureCall(@RequestBody AndonOrder andonOrder) { andonOrderService.procedureCall(andonOrder); return Result.OK("呼叫成功!"); } }