我的限时秒杀
This commit is contained in:
parent
01092f6535
commit
7d66194d5c
|
@ -35,10 +35,10 @@ public class AppUserPackageDetailController {
|
|||
}
|
||||
|
||||
@Login
|
||||
@GetMapping("/findMyFlashDetailList")
|
||||
@GetMapping("/findMyFlashDetail")
|
||||
@ApiOperation("查询限时秒杀详情列表")
|
||||
public Result findMyFlashDetailList(Long id){
|
||||
return service.findMyFlashDetailList(id);
|
||||
public Result findMyFlashDetail(Long id){
|
||||
return service.findMyFlashDetail(id);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@ public interface UserPackageDetailDao extends BaseMapper<UserPackageDetail> {
|
|||
|
||||
int deleteDetailByMain(Long mainId);
|
||||
|
||||
UserPackageDetail findMyFlashDetailList(Long id);
|
||||
UserPackageDetail findMyFlashDetail(Long id);
|
||||
|
||||
}
|
|
@ -14,5 +14,5 @@ public interface UserPackageDetailService extends IService<UserPackageDetail> {
|
|||
Result getMyPackageDetail(UserPackageDetail userPackageDetail);
|
||||
UserPackageDetail findMassagePackageDetailsUsed(Long mainId);
|
||||
int deleteDetailByMain(Long mainId);
|
||||
Result findMyFlashDetailList(Long id);
|
||||
Result findMyFlashDetail(Long id);
|
||||
}
|
||||
|
|
|
@ -82,8 +82,8 @@ public class UserPackageDetailServiceImpl extends ServiceImpl<UserPackageDetailD
|
|||
}
|
||||
|
||||
@Override
|
||||
public Result findMyFlashDetailList(Long id){
|
||||
UserPackageDetail userPackageDetail = baseMapper.findMyFlashDetailList(id);
|
||||
public Result findMyFlashDetail(Long id){
|
||||
UserPackageDetail userPackageDetail = baseMapper.findMyFlashDetail(id);
|
||||
return Result.success().put("data",userPackageDetail);
|
||||
|
||||
}
|
||||
|
|
|
@ -223,7 +223,7 @@
|
|||
WHERE main_id = #{mainId}
|
||||
</update>
|
||||
|
||||
<select id="findMyFlashDetailList" resultType="com.sqx.modules.bl.order.entity.UserPackageDetail">
|
||||
<select id="findMyFlashDetail" resultType="com.sqx.modules.bl.order.entity.UserPackageDetail">
|
||||
select
|
||||
a.id,
|
||||
a.main_id,
|
||||
|
|
Loading…
Reference in New Issue