|
@@ -1,5 +1,6 @@
|
|
|
package com.kxs.adminap.controller;
|
|
|
|
|
|
+import java.sql.Ref;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Date;
|
|
|
import java.util.Dictionary;
|
|
@@ -12,6 +13,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.kxs.adminap.config.Base;
|
|
|
import com.kxs.adminap.dao.main.UserRankWhiteMapper;
|
|
|
+import com.kxs.adminap.enity.ListParam;
|
|
|
import com.kxs.adminap.model.main.UserAccount;
|
|
|
import com.kxs.adminap.model.main.UserRankWhite;
|
|
|
import com.kxs.adminap.model.main.Users;
|
|
@@ -68,9 +70,12 @@ public class TestController {
|
|
|
|
|
|
result += Util.DateFormat(new Date(), "yyyy-MM-dd HH:mm:ss.SSS") + "<br>";
|
|
|
// Long count = 0L;
|
|
|
- // List<Dictionary<String, Object>> obj = UsersService.List(new ArrayList<>(), " and Id<100", count, 1, 20, "Id desc");
|
|
|
+ // List<Dictionary<String, Object>> obj = UsersService.List(new ArrayList<>(), " and Id<100", count, 1, 20, "Id desc").get("list");
|
|
|
// result += JSONObject.toJSONString(obj) + "<br>";
|
|
|
- List<Users> user = UsersService.List();
|
|
|
+ // List<Users> user = UsersService.List(10, 10);
|
|
|
+ Users data = new Users();
|
|
|
+ data.setMakerCode("K00000000");
|
|
|
+ Users user = UsersService.Query(data);
|
|
|
result += JSONObject.toJSONString(user) + "<br>";
|
|
|
result += Util.DateFormat(new Date(), "yyyy-MM-dd HH:mm:ss.SSS") + "<br>";
|
|
|
|