From cc5cf127da76d03ce7086da4d70f34b20e9803e0 Mon Sep 17 00:00:00 2001 From: admin <1101184511@qq.com> Date: 星期三, 30 七月 2025 01:57:55 +0800 Subject: [PATCH] 功能完善 --- src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoController.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoController.java b/src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoController.java index a461bb8..17e8b06 100644 --- a/src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoController.java +++ b/src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoController.java @@ -64,6 +64,7 @@ } query.start = (page-1)*limit; query.count = limit; + query.clientType = ClientInfo.CLIENT_TYPE_AGENT_PAYMENT; query.sortList= Arrays.asList(new String[]{"create_time desc"}); JSONObject data=new JSONObject(); List<ClientInfo> list = clientInfoService.list(query); @@ -90,8 +91,10 @@ return JsonUtil.loadFalseResult("鍗曟鍒涘缓鏈�澶�100涓�"); } for(int i=0;i<count;i++){ - ClientInfo info=new ClientInfo(); - info.setPwd(StringUtil.Md5(pwd)); + ClientInfo info=ClientInfo.builder() + .pwd(StringUtil.Md5(pwd)) + .clientType(ClientInfo.CLIENT_TYPE_AGENT_PAYMENT) + .build(); clientInfoService.add(info); } return JsonUtil.loadTrueResult(""); -- Gitblit v1.8.0