瀏覽代碼

收益提现

liaoyongfei 4 年之前
父節點
當前提交
1f54d90c9e

+ 1 - 1
ymall/src/main/java/com/liangjian11/ymall/mapper/UserAccountProfitMapper.java

@@ -9,7 +9,7 @@ import java.util.List;
 
 public interface UserAccountProfitMapper extends BaseMapper<UserAccountProfit> {
 
-  List<UserAccountProfit> cashOutHome(@Param("unionId") String unionId);
+  List<UserAccountProfit> cashOutHome(@Param("unionid") String unionId);
 
   Integer cashOutById(@Param("cashOutAmount")Integer cashOutAmount, @Param("editTime")Date editTime,@Param("id")Integer id);
 

+ 2 - 2
ymall/src/main/java/com/liangjian11/ymall/model/UserAccountBank.java

@@ -125,11 +125,11 @@ public class UserAccountBank implements Serializable {
   }
 
   public Boolean getIsDefault() {
-    return isDefault;
+    return this.isDefault;
   }
 
   public void setIsDefault(Boolean isDefault) {
-    isDefault = isDefault;
+    this.isDefault = isDefault;
   }
 
   public String getDesc() {

+ 2 - 2
ymall/src/main/java/com/liangjian11/ymall/service/impl/UserAccountBankServiceImpl.java

@@ -72,8 +72,8 @@ public class UserAccountBankServiceImpl extends ServiceImpl<UserAccountBankMappe
 
   @Override
   public ResultData checkUserAccountBank(UserAccountBank userAccountBank) {
-    if (StringUtils.isEmpty(userAccountBank.getUserId()))
-      return ResultData.getParamValidResult("用户信息不能为空");
+//    if (StringUtils.isEmpty(userAccountBank.getUserId()))
+//      return ResultData.getParamValidResult("用户信息不能为空");
     if (StringUtils.isEmpty(userAccountBank.getAccountId()))
       return ResultData.getParamValidResult("账号不能为空");
     if (StringUtils.isEmpty(userAccountBank.getAccountArea()))

+ 1 - 1
ymall/src/main/resources/mapper/UserAccountBankMapper.xml

@@ -17,7 +17,7 @@
     <result property="accountName" column="account_name" />
     <result property="createTime" column="create_time" />
     <result property="editTime" column="edit_time" />
-    <result property="is_Delete" column="is_delete" />
+    <result property="isDelete" column="is_delete" />
   </resultMap>