Просмотр исходного кода

订单管理修改删除一行

jk-GitHub-coder 4 лет назад
Родитель
Сommit
6851258b58
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      YijiaRestful/src/main/resources/mapper/AppUserInfoMapper.xml

+ 2 - 2
YijiaRestful/src/main/resources/mapper/AppUserInfoMapper.xml

@@ -103,10 +103,10 @@
     <where>
       user_type = #{userType}
       <if test="userType !=null and userType ==1 ">
-        AND blog_openid = #{openId}
+        AND blog_token = #{token}
       </if>
       <if test="userType !=null and userType ==2 ">
-        AND mina_openid = #{openId}
+        AND mina_token = #{token}
       </if>
     </where>
   </select>