dos 1 ヶ月 前
コミット
12c6b9db3a

+ 1 - 0
game-business/src/main/java/com/game/business/service/impl/AppUsersCashrecordServiceImpl.java

@@ -103,6 +103,7 @@ public class AppUsersCashrecordServiceImpl extends ServiceImpl<AppUsersCashrecor
         LambdaQueryWrapper<AppUsersCashrecord> queryWrapper = new LambdaQueryWrapper<>();
         queryWrapper.eq(AppUsersCashrecord::getStatus,"1");
         queryWrapper.eq(AppUsersCashrecord::getCashType,"7");//余额提现
+        queryWrapper.eq(AppUsersCashrecord::getUid,userId);
         queryWrapper.between(AppUsersCashrecord::getAddtime,beginTime,endTime);
         return appUsersCashrecordMapper.selectList(queryWrapper);
     }

+ 1 - 0
game-business/src/main/resources/mapper/business/AppGameBettingMapper.xml

@@ -151,6 +151,7 @@
             <if test="beginTime != null  and beginTime != ''"> and create_time &gt; CONCAT(#{beginTime},' 00:00:00')</if>
             <if test="endTime != null  and endTime != ''"> and create_time &lt; CONCAT(#{endTime},' 23:59:59')</if>
         </where>
+        order by create_time desc
     </select>
 
     <select id="selectAppGameBettingById" parameterType="Long" resultMap="AppGameBettingResult">