//package com.boman.system.controller;
//
//import com.boman.system.api.RemoteDeptService;
//import com.boman.system.api.RemoteMenuService;
//import com.boman.system.api.RemoteUserService;
//import io.seata.spring.annotation.GlobalTransactional;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//
///**
// * @author shiqian
// * @description
// * @date 2021年03月22日 09:19
// **/
//@RestController
//@RequestMapping
//public class TableController {
//
////    @Autowired
////    private TableServiceCmdService tableServiceCmdService;
//
//    @Autowired
//    private RemoteDeptService remoteDeptService;
//    @Autowired
//    private RemoteUserService remoteUserService;
//
//
//
//    @GetMapping("sq")
//    @GlobalTransactional(rollbackFor = Exception.class)
//    public String getByTableName() {
//        int update = remoteDeptService.update();
//        int update1 = remoteUserService.update();
//        int i = 1/0;
//        return "";
//    }
//
//
//}
