Ver Fonte

机构类型

TRX há 1 ano atrás
pai
commit
9112c03ed6

+ 10 - 0
FullCardServer/src/main/java/com/zhongshu/card/server/core/domain/payment/Wallet.java

@@ -0,0 +1,10 @@
+package com.zhongshu.card.server.core.domain.payment;
+
+/**
+ * 个人钱包
+ *
+ * @author TRX
+ * @date 2024/6/28
+ */
+public class Wallet {
+}

+ 5 - 2
FullCardServer/src/main/java/com/zhongshu/card/server/core/service/org/UserAccountServiceImpl.java

@@ -162,7 +162,10 @@ public class UserAccountServiceImpl extends SuperService implements UserAccountS
                 temp.setIsUpdatedPsw(Boolean.FALSE);
                 userCountDao.save(temp);
             } else {
-
+                // 编辑用户
+                BeanUtils.copyProperties(param, temp, "id", "loginName","userId", "userType", "loginType");
+                temp.setSpellCode(CommonUtil.getPinyin(param.getName()));
+                userCountDao.save(temp);
             }
         } else {
             OrganizationUser organizationUser = organizationUserDao.findTopById(param.getId());
@@ -508,7 +511,7 @@ public class UserAccountServiceImpl extends SuperService implements UserAccountS
         UserAccount userAccount = userCountDao.findTopByUserId(getCurrentUserId());
         if (ObjectUtils.isNotEmpty(userAccount)) {
             UserCountModel model1 = toModel(userAccount);
-            BeanUtils.copyProperties(model1, model);
+            BeanUtils.copyProperties(model1, model, "oid");
         }
         return ResultContent.buildSuccess(model);
     }