wuxw лет назад: 2
Родитель
Сommit
0623121932

+ 10 - 0
java110-bean/src/main/java/com/java110/po/account/AccountPo.java

@@ -14,6 +14,8 @@ public class AccountPo implements Serializable {
 
     private String link;
 
+    private String oLink;
+
     private String phone;
 
     public String getAmount() {
@@ -87,4 +89,12 @@ public class AccountPo implements Serializable {
     public void setPhone(String phone) {
         this.phone = phone;
     }
+
+    public String getoLink() {
+        return oLink;
+    }
+
+    public void setoLink(String oLink) {
+        this.oLink = oLink;
+    }
 }

+ 5 - 2
java110-db/src/main/resources/mapper/acct/AccountServiceDaoImplMapper.xml

@@ -176,6 +176,9 @@
         <if test="partId !=null and partId != ''">
             , t.obj_type= #{partId}
         </if>
+        <if test="oLink !=null and oLink != ''">
+            , t.link= #{oLink}
+        </if>
         where 1=1
         <if test="acctId !=null and acctId != ''">
             and t.acct_id= #{acctId}
@@ -252,8 +255,8 @@
             <if test="acctName !=null and acctName != ''">
                 t.acct_name= #{acctName},
             </if>
-            <if test="link !=null and link != ''">
-                t.link= #{link},
+            <if test="oLink !=null and oLink != ''">
+                t.link= #{oLink},
             </if>
         </set>
         where 1=1

+ 1 - 1
service-user/src/main/java/com/java110/user/cmd/owner/EditOwnerCmd.java

@@ -272,7 +272,7 @@ public class EditOwnerCmd extends Cmd {
         }
 
         AccountPo accountPo = new AccountPo();
-        accountPo.setLink(ownerDtos.get(0).getLink());
+        accountPo.setoLink(ownerDtos.get(0).getLink());
         accountPo.setAcctId(accountDtos.get(0).getAcctId());
         accountInnerServiceSMOImpl.updateAccount(accountPo);
     }