From 4dc8a15cb1f1c7b8a70fce95f3f715b472302a9c Mon Sep 17 00:00:00 2001
From: wangwh <2397901735@qq.com>
Date: Fri, 06 Sep 2024 18:20:26 +0800
Subject: [PATCH] 1、联合处置相关接口 2、查询办理结果接口 3、查询档案信息接口 4、修改督办相关接口等

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java
index 556fef0..f9c4a3d 100644
--- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java
+++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/service/CtAccountService.java
@@ -287,7 +287,12 @@
      */
     public ReturnBO webChangeCipher(String userId, CtCipherDTO ctCipherDTO){
         try{
-            CtAccount ctAccount = this.getByAccAndType(userId, UserBaseConsts.ACC_TYPE_1);
+            CtUser loginUser = ctUserService.getById(userId);
+            CtAccount ctAccount = this.getByAccAndType(loginUser.getAcc(), UserBaseConsts.ACC_TYPE_1);
+//            QueryWrapper<CtAccount> ctAccountQueryWrapper = new QueryWrapper<>();
+//            ctAccountQueryWrapper.eq("user_id", loginUser.getId()).
+//                    eq("acc_type", UserBaseConsts.ACC_TYPE_1);
+//            CtAccount ctAccount =mapper.selectOne(ctAccountQueryWrapper);
             if (ObjectUtils.isEmpty(ctAccount)){
                 return ReturnFailUtils.getRepInfo("输入账号或密码不正确,请确认后重试!");
             }

--
Gitblit v1.8.0