|
@@ -0,0 +1,40 @@
|
|
|
|
|
+package com.linkwechat.coal.modules.bdshdb.customer.controller;
|
|
|
|
|
+
|
|
|
|
|
+import com.linkwechat.coal.modules.bdshdb.customer.domain.entity.LocalAppUser;
|
|
|
|
|
+import com.linkwechat.coal.modules.bdshdb.customer.mapper.LocalAppUserMapper;
|
|
|
|
|
+import com.linkwechat.coal.modules.bdshdb.customer.service.ILocalAppUserService;
|
|
|
|
|
+import com.linkwechat.common.core.domain.AjaxResult;
|
|
|
|
|
+import com.linkwechat.common.core.page.TableDataInfo;
|
|
|
|
|
+import com.linkwechat.common.core.page.TableSupport;
|
|
|
|
|
+import com.linkwechat.domain.customer.query.WeCuUserQuery;
|
|
|
|
|
+import com.linkwechat.domain.customer.vo.WeUserVo;
|
|
|
|
|
+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.web.bind.annotation.GetMapping;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
+
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
+
|
|
|
|
|
+@Slf4j
|
|
|
|
|
+@RestController
|
|
|
|
|
+@RequestMapping("/test")
|
|
|
|
|
+@Api(tags = "测试")
|
|
|
|
|
+public class TestController {
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private LocalAppUserMapper localAppUserMapper;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询同步用户列表(分页),索引优化用户列表,未使用默认分页
|
|
|
|
|
+ */
|
|
|
|
|
+ @GetMapping("/test")
|
|
|
|
|
+ @ApiOperation(value = "测试",httpMethod = "GET")
|
|
|
|
|
+ public AjaxResult test() {
|
|
|
|
|
+ LocalAppUser localAppUser = localAppUserMapper.selectLocalAppUserById();
|
|
|
|
|
+ System.out.println(localAppUser.getUserType());
|
|
|
|
|
+ return AjaxResult.success(localAppUser);
|
|
|
|
|
+ }
|
|
|
|
|
+}
|