团购、限时秒杀BUG处理

This commit is contained in:
曹磊 2024-07-22 17:15:24 +08:00
parent 73024993c8
commit 932f9aef00
2 changed files with 7 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class MassagePackageServiceImpl extends ServiceImpl<MassagePackageDao, Ma
} }
} }
} }
entity.setBuyGroupNum(map.size()); entity.setBuyGroupNum(userMap.size());
map.put("groupData",entity); map.put("groupData",entity);
map.put("ordersData",groupNoList); map.put("ordersData",groupNoList);
return Result.success(map); return Result.success(map);

View File

@ -106,6 +106,9 @@
<if test="null != ordersNo and '' != ordersNo"> <if test="null != ordersNo and '' != ordersNo">
orders_no, orders_no,
</if> </if>
<if test="null != groupNo and '' != groupNo">
group_no,
</if>
<if test="null != userId "> <if test="null != userId ">
user_id, user_id,
</if> </if>
@ -150,6 +153,9 @@
<if test="null != ordersNo and '' != ordersNo"> <if test="null != ordersNo and '' != ordersNo">
#{ordersNo}, #{ordersNo},
</if> </if>
<if test="null != groupNo and '' != groupNo">
#{groupNo},
</if>
<if test="null != userId "> <if test="null != userId ">
#{userId}, #{userId},
</if> </if>