|
@@ -5,6 +5,7 @@ import java.util.List;
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -27,6 +28,7 @@ import cn.com.qmth.examcloud.core.basic.dao.entity.Org;
|
|
import cn.com.qmth.examcloud.core.basic.service.impl.OrgService;
|
|
import cn.com.qmth.examcloud.core.basic.service.impl.OrgService;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
|
|
+@Transactional
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("${$rmp.cloud.basic}" + "org")
|
|
@RequestMapping("${$rmp.cloud.basic}" + "org")
|
|
public class OrgCloudServiceProvider extends ControllerSupport implements OrgCloudService {
|
|
public class OrgCloudServiceProvider extends ControllerSupport implements OrgCloudService {
|