linwe
2024-05-28 55bda5300ff455474364395513f6edddcd6cacf8
src/main/java/org/springblade/modules/eCallEventTwo/controller/ECallEventTwoController.java
@@ -29,6 +29,8 @@
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.eCallEventTwo.entity.EcOrder;
import org.springblade.modules.eCallEventTwo.service.EcOrderService;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.eCallEventTwo.entity.ECallEventTwoEntity;
@@ -36,6 +38,8 @@
import org.springblade.modules.eCallEventTwo.wrapper.ECallEventTwoWrapper;
import org.springblade.modules.eCallEventTwo.service.IECallEventTwoService;
import org.springblade.core.boot.ctrl.BladeController;
import java.util.List;
/**
 * 工单 控制器
@@ -50,6 +54,8 @@
public class ECallEventTwoController extends BladeController {
   private final IECallEventTwoService eCallEventTwoService;
   private final EcOrderService ecOrderService;
   /**
    * 工单 详情
@@ -125,4 +131,16 @@
   }
   /**
    * 工单 同步
    */
   @GetMapping("/synchronizeData")
   @ApiOperationSupport(order = 8)
   @ApiOperation(value = "工单 同步")
   public R synchronizeData() {
      boolean b = ecOrderService.SynchronizeData();
      return R.status(b);
   }
}