|
@@ -103,20 +103,25 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -103,20 +103,25 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
103
|
if(userId==null){
|
103
|
if(userId==null){
|
104
|
return Lists.newArrayList();
|
104
|
return Lists.newArrayList();
|
105
|
}
|
105
|
}
|
|
|
106
|
+ CutDownPriceUserRecord record = cutDownPriceUserRecordMapper.selectCutDownPriceUserRecord(userId, activityId, productSkn);
|
|
|
107
|
+ if(record==null){
|
|
|
108
|
+ return Lists.newArrayList();
|
|
|
109
|
+ }
|
|
|
110
|
+ Integer recordId = record.getId();
|
106
|
// 取缓存
|
111
|
// 取缓存
|
107
|
- String redisKeySuffix = userId + ":" + activityId + ":" + productSkn;
|
112
|
+ String redisKeySuffix = userId + ":" + activityId + ":" + productSkn + ":" + recordId;
|
108
|
CutDownPriceProductHelpUserWrapper helpUserWrapper = redisValueCache.get(CacheKeyEnum.CUTDOWN_PRICE_HELP_USERLIST_INFO, redisKeySuffix, CutDownPriceProductHelpUserWrapper.class);
|
113
|
CutDownPriceProductHelpUserWrapper helpUserWrapper = redisValueCache.get(CacheKeyEnum.CUTDOWN_PRICE_HELP_USERLIST_INFO, redisKeySuffix, CutDownPriceProductHelpUserWrapper.class);
|
109
|
if (null != helpUserWrapper){
|
114
|
if (null != helpUserWrapper){
|
110
|
return helpUserWrapper.getHelpUserBoList();
|
115
|
return helpUserWrapper.getHelpUserBoList();
|
111
|
}
|
116
|
}
|
112
|
- List<CutDownPriceProductHelpUser> helpUsers = cutPriceUserHelpMapper.selectHelpInfo(userId, activityId, productSkn);
|
117
|
+ List<CutDownPriceProductHelpUser> helpUsers = cutPriceUserHelpMapper.selectHelpInfo(userId, activityId, productSkn, recordId);
|
113
|
if (CollectionUtils.isEmpty(helpUsers)){
|
118
|
if (CollectionUtils.isEmpty(helpUsers)){
|
114
|
logger.info("CutDownPriceServiceImpl :: queryHelpInfo result is null");
|
119
|
logger.info("CutDownPriceServiceImpl :: queryHelpInfo result is null");
|
115
|
return Lists.newArrayList();
|
120
|
return Lists.newArrayList();
|
116
|
}
|
121
|
}
|
117
|
List<CutDownPriceProductHelpUserBo> helpUsersBoList = convert.convertFromList(helpUsers, CutDownPriceProductHelpUserBo.class);
|
122
|
List<CutDownPriceProductHelpUserBo> helpUsersBoList = convert.convertFromList(helpUsers, CutDownPriceProductHelpUserBo.class);
|
118
|
//获取用户头像
|
123
|
//获取用户头像
|
119
|
- getUserInfo(userId, helpUsersBoList);
|
124
|
+ getUserInfo(helpUsersBoList);
|
120
|
helpUserWrapper = new CutDownPriceProductHelpUserWrapper();
|
125
|
helpUserWrapper = new CutDownPriceProductHelpUserWrapper();
|
121
|
helpUserWrapper.setHelpUserBoList(helpUsersBoList);
|
126
|
helpUserWrapper.setHelpUserBoList(helpUsersBoList);
|
122
|
redisValueCache.set(CacheKeyEnum.CUTDOWN_PRICE_HELP_USERLIST_INFO, redisKeySuffix, helpUserWrapper, 300, TimeUnit.SECONDS);
|
127
|
redisValueCache.set(CacheKeyEnum.CUTDOWN_PRICE_HELP_USERLIST_INFO, redisKeySuffix, helpUserWrapper, 300, TimeUnit.SECONDS);
|
|
@@ -126,7 +131,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -126,7 +131,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
126
|
/**
|
131
|
/**
|
127
|
* 查询某一个用户的帮砍记录
|
132
|
* 查询某一个用户的帮砍记录
|
128
|
*/
|
133
|
*/
|
129
|
- private List<CutDownPriceProductHelpUserBo> queryHelpInfoList(Integer userId, List<CutPriceHelpUserRequestBO> requestList) {
|
134
|
+ private List<CutDownPriceProductHelpUserBo> queryHelpInfoList(List<CutPriceHelpUserRequestBO> requestList) {
|
130
|
List<CutDownPriceProductHelpUser> helpUsers = cutPriceUserHelpMapper.selectHelpInfoList(requestList);
|
135
|
List<CutDownPriceProductHelpUser> helpUsers = cutPriceUserHelpMapper.selectHelpInfoList(requestList);
|
131
|
if (CollectionUtils.isEmpty(helpUsers)){
|
136
|
if (CollectionUtils.isEmpty(helpUsers)){
|
132
|
logger.info("CutDownPriceServiceImpl :: queryHelpInfoList result is null");
|
137
|
logger.info("CutDownPriceServiceImpl :: queryHelpInfoList result is null");
|
|
@@ -134,7 +139,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -134,7 +139,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
134
|
}
|
139
|
}
|
135
|
List<CutDownPriceProductHelpUserBo> helpUsersBoList = convert.convertFromList(helpUsers, CutDownPriceProductHelpUserBo.class);
|
140
|
List<CutDownPriceProductHelpUserBo> helpUsersBoList = convert.convertFromList(helpUsers, CutDownPriceProductHelpUserBo.class);
|
136
|
//获取用户头像
|
141
|
//获取用户头像
|
137
|
- getUserInfo(userId, helpUsersBoList);
|
142
|
+ getUserInfo(helpUsersBoList);
|
138
|
return helpUsersBoList;
|
143
|
return helpUsersBoList;
|
139
|
}
|
144
|
}
|
140
|
|
145
|
|
|
@@ -152,13 +157,20 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -152,13 +157,20 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
152
|
logger.warn(" the cutdown product not exist, activityId is {}, productSkn is {}", activityId, productSkn);
|
157
|
logger.warn(" the cutdown product not exist, activityId is {}, productSkn is {}", activityId, productSkn);
|
153
|
throw new ServiceException(ServiceError.ACTIVITY_CUTDOWNPRICE_PRODUCT_NOTEXIST_ERROR);
|
158
|
throw new ServiceException(ServiceError.ACTIVITY_CUTDOWNPRICE_PRODUCT_NOTEXIST_ERROR);
|
154
|
}
|
159
|
}
|
|
|
160
|
+ CutDownPriceUserRecord record = cutDownPriceUserRecordMapper.selectCutDownPriceUserRecord(userId, cutPriceHelpUserRequestBO.getActivityId(), cutPriceHelpUserRequestBO.getProductSkn());
|
155
|
// 查询已砍价记录
|
161
|
// 查询已砍价记录
|
156
|
List<CutDownPriceProductHelpUserBo> helpUserBos = this.queryHelpInfo(cutPriceHelpUserRequestBO);
|
162
|
List<CutDownPriceProductHelpUserBo> helpUserBos = this.queryHelpInfo(cutPriceHelpUserRequestBO);
|
157
|
// 调product接口查询商品信息
|
163
|
// 调product接口查询商品信息
|
158
|
ProductBo[] productBoArray = invokeBatchQueryNamesAndImageBySkns(Lists.newArrayList(productSkn));
|
164
|
ProductBo[] productBoArray = invokeBatchQueryNamesAndImageBySkns(Lists.newArrayList(productSkn));
|
|
|
165
|
+ // 调uid查询用户头像
|
|
|
166
|
+ UserInfoRspBO[] userInfoBoArray = invokeUicGetUserInfo(userId.toString());
|
159
|
// 组装信息
|
167
|
// 组装信息
|
160
|
CutDownPriceActivityProductBo bo = buildCutDownPriceActivityProductBo(activityBo, cutDownPriceProductBo, helpUserBos, productBoArray);
|
168
|
CutDownPriceActivityProductBo bo = buildCutDownPriceActivityProductBo(activityBo, cutDownPriceProductBo, helpUserBos, productBoArray);
|
161
|
- bo.setCanUseCount(selectCutdownPriceOrderRecordCount(cutPriceHelpUserRequestBO));
|
169
|
+ bo.setUserImgUrl(buildUserImage(userId, userInfoBoArray));
|
|
|
170
|
+ bo.setCanUseCount(record!=null ? record.getUseCount() : 1);
|
|
|
171
|
+ bo.setCutTime(record!=null ? record.getCutTime() : record.getCreateTime());
|
|
|
172
|
+ bo.setCreateTime(record.getCreateTime());
|
|
|
173
|
+ buildCutStatus(bo);
|
162
|
return bo;
|
174
|
return bo;
|
163
|
}
|
175
|
}
|
164
|
|
176
|
|
|
@@ -223,6 +235,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -223,6 +235,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
223
|
bo.setCanUseCount(record.getUseCount());
|
235
|
bo.setCanUseCount(record.getUseCount());
|
224
|
// 设置已砍价记录
|
236
|
// 设置已砍价记录
|
225
|
bo.setHasJoinNum(record.getHelpCount());
|
237
|
bo.setHasJoinNum(record.getHelpCount());
|
|
|
238
|
+ bo.setCutRecordId(record.getId());
|
226
|
}
|
239
|
}
|
227
|
|
240
|
|
228
|
// 校验是否已经砍价成功
|
241
|
// 校验是否已经砍价成功
|
|
@@ -291,7 +304,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -291,7 +304,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
291
|
List<CutDownPriceProductBo> cutProductBoList = cutDownPriceProductService.queryCutDownPriceProductBoListByRecords(cutPriceUserRecordList);
|
304
|
List<CutDownPriceProductBo> cutProductBoList = cutDownPriceProductService.queryCutDownPriceProductBoListByRecords(cutPriceUserRecordList);
|
292
|
// 查询已砍价记录
|
305
|
// 查询已砍价记录
|
293
|
List<CutPriceHelpUserRequestBO> userRequestList = convert.convertFromList(cutPriceUserRecordList, CutPriceHelpUserRequestBO.class);
|
306
|
List<CutPriceHelpUserRequestBO> userRequestList = convert.convertFromList(cutPriceUserRecordList, CutPriceHelpUserRequestBO.class);
|
294
|
- List<CutDownPriceProductHelpUserBo> helpUserBoList = this.queryHelpInfoList(uid, userRequestList);
|
307
|
+ List<CutDownPriceProductHelpUserBo> helpUserBoList = this.queryHelpInfoList(userRequestList);
|
295
|
// 根据skn列表查询商品信息
|
308
|
// 根据skn列表查询商品信息
|
296
|
ProductBo[] productBoArray = invokeBatchQueryNamesAndImageBySkns(Lists.newArrayList(productSkns));
|
309
|
ProductBo[] productBoArray = invokeBatchQueryNamesAndImageBySkns(Lists.newArrayList(productSkns));
|
297
|
// 组装返回值
|
310
|
// 组装返回值
|
|
@@ -305,7 +318,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -305,7 +318,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
305
|
public void addCutPriceUseRecord(CutPriceHelpUserRequestBO requestBO) {
|
318
|
public void addCutPriceUseRecord(CutPriceHelpUserRequestBO requestBO) {
|
306
|
try{
|
319
|
try{
|
307
|
// 扣减可使用次数
|
320
|
// 扣减可使用次数
|
308
|
- int affectRow = cutDownPriceUserRecordMapper.updateDecreaseUseCount(requestBO.getUserId(), requestBO.getActivityId(), requestBO.getProductSkn());
|
321
|
+ int affectRow = cutDownPriceUserRecordMapper.updateDecreaseUseCount(requestBO.getUserId(), requestBO.getActivityId(), requestBO.getProductSkn(), requestBO.getCutRecordId());
|
309
|
if(affectRow<=0){
|
322
|
if(affectRow<=0){
|
310
|
logger.warn("updateDecreaseUseCount success!!!,affectRow is:{} ", affectRow);
|
323
|
logger.warn("updateDecreaseUseCount success!!!,affectRow is:{} ", affectRow);
|
311
|
throw new ServiceException(ServiceError.ACTIVITY_CUTDOWNPRICE_YOU_HAS_USED_CUTDOWNORDER_ERROR);
|
324
|
throw new ServiceException(ServiceError.ACTIVITY_CUTDOWNPRICE_YOU_HAS_USED_CUTDOWNORDER_ERROR);
|
|
@@ -319,7 +332,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -319,7 +332,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
319
|
@Override
|
332
|
@Override
|
320
|
public int cancelCutPriceUseRecord(CutPriceHelpUserRequestBO requestBO) {
|
333
|
public int cancelCutPriceUseRecord(CutPriceHelpUserRequestBO requestBO) {
|
321
|
// 回补可使用次数
|
334
|
// 回补可使用次数
|
322
|
- int result = cutDownPriceUserRecordMapper.updateIncreaseUseCount(requestBO.getUserId(), requestBO.getActivityId(), requestBO.getProductSkn());
|
335
|
+ int result = cutDownPriceUserRecordMapper.updateIncreaseUseCount(requestBO.getUserId(), requestBO.getActivityId(), requestBO.getProductSkn(), requestBO.getCutRecordId());
|
323
|
// 清理缓存
|
336
|
// 清理缓存
|
324
|
return result;
|
337
|
return result;
|
325
|
}
|
338
|
}
|
|
@@ -357,12 +370,20 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -357,12 +370,20 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
357
|
logger.warn(" the cutdown product not exist, activityId is {}, productSkn is {}", activityId, productSkn);
|
370
|
logger.warn(" the cutdown product not exist, activityId is {}, productSkn is {}", activityId, productSkn);
|
358
|
throw new ServiceException(ServiceError.ACTIVITY_CUTDOWNPRICE_PRODUCT_NOTEXIST_ERROR);
|
371
|
throw new ServiceException(ServiceError.ACTIVITY_CUTDOWNPRICE_PRODUCT_NOTEXIST_ERROR);
|
359
|
}
|
372
|
}
|
360
|
- // 查询已砍的价格,判断是否已经砍价成功
|
|
|
361
|
- List<CutDownPriceProductHelpUser> helpUsers = cutPriceUserHelpMapper.selectHelpInfo(userId, activityId, productSkn);
|
|
|
362
|
- if(helpUsers!=null && helpUsers.size()>=cutDownPriceProductBo.getJoinNum()+1){
|
373
|
+ // 查询该用户是否已经发起过(之前发起过,没砍价成功,发起时间超过24小时)
|
|
|
374
|
+ CutDownPriceUserRecord recordDb = cutDownPriceUserRecordMapper.selectCutDownPriceUserRecord(userId, activityId, productSkn);
|
|
|
375
|
+ if(recordDb==null){
|
|
|
376
|
+ logger.warn(" you have not create cutprice, activityId is {}, productSkn is {}", activityId, productSkn);
|
|
|
377
|
+ throw new ServiceException(ServiceError.ACTIVITY_CUTDOWNPRICE_YOU_HASNOT_CREATE_CUTDOWN_ERROR);
|
|
|
378
|
+ }
|
|
|
379
|
+
|
|
|
380
|
+ if(recordDb!=null && (recordDb.getHelpCount()>=cutDownPriceProductBo.getJoinNum()+1)){
|
363
|
logger.warn(" this activity have help full, activityId is {}, productSkn is {}", activityId, productSkn);
|
381
|
logger.warn(" this activity have help full, activityId is {}, productSkn is {}", activityId, productSkn);
|
364
|
throw new ServiceException(ServiceError.ACTIVITY_CUTDOWNPRICE_HAS_HELPED_FULL_ERROR);
|
382
|
throw new ServiceException(ServiceError.ACTIVITY_CUTDOWNPRICE_HAS_HELPED_FULL_ERROR);
|
365
|
}
|
383
|
}
|
|
|
384
|
+ // 查询已砍的价格
|
|
|
385
|
+ List<CutDownPriceProductHelpUser> helpUsers = cutPriceUserHelpMapper.selectHelpInfo(userId, activityId, productSkn, recordDb.getId());
|
|
|
386
|
+
|
366
|
// 计算本次应该砍的价格
|
387
|
// 计算本次应该砍的价格
|
367
|
BigDecimal cutPrice = new BigDecimal(0);
|
388
|
BigDecimal cutPrice = new BigDecimal(0);
|
368
|
if(SYSTEM_HELP_ID.equals(helpUserId)){
|
389
|
if(SYSTEM_HELP_ID.equals(helpUserId)){
|
|
@@ -375,10 +396,11 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -375,10 +396,11 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
375
|
CutDownPriceProductHelpUser helpUser = convertCutDownPriceProductHelpUser(cutPriceHelpUserRequestBO);
|
396
|
CutDownPriceProductHelpUser helpUser = convertCutDownPriceProductHelpUser(cutPriceHelpUserRequestBO);
|
376
|
helpUser.setCutPrice(cutPrice);
|
397
|
helpUser.setCutPrice(cutPrice);
|
377
|
helpUser.setCreateTime(DateUtils.getCurrentTimeSecond());
|
398
|
helpUser.setCreateTime(DateUtils.getCurrentTimeSecond());
|
|
|
399
|
+ helpUser.setCutRecordId(recordDb.getId());
|
378
|
// 插入好友帮砍记录表
|
400
|
// 插入好友帮砍记录表
|
379
|
cutPriceUserHelpMapper.addHelpUserInfo(helpUser);
|
401
|
cutPriceUserHelpMapper.addHelpUserInfo(helpUser);
|
380
|
// 修改用户发起砍价记录表中的帮砍次数
|
402
|
// 修改用户发起砍价记录表中的帮砍次数
|
381
|
- cutDownPriceUserRecordMapper.updateCutDownHelpCount(userId, activityId, productSkn);
|
403
|
+ cutDownPriceUserRecordMapper.updateCutDownHelpCount(userId, activityId, productSkn, recordDb.getId());
|
382
|
// 用户帮忙砍价后,自动发起砍价活动,系统帮助砍价除外
|
404
|
// 用户帮忙砍价后,自动发起砍价活动,系统帮助砍价除外
|
383
|
if(!SYSTEM_HELP_ID.equals(helpUserId)){
|
405
|
if(!SYSTEM_HELP_ID.equals(helpUserId)){
|
384
|
try{
|
406
|
try{
|
|
@@ -503,9 +525,11 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -503,9 +525,11 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
503
|
return new BigDecimal(averagePrice).add(randomPrice);
|
525
|
return new BigDecimal(averagePrice).add(randomPrice);
|
504
|
}
|
526
|
}
|
505
|
|
527
|
|
506
|
- private void getUserInfo(Integer userId, List<CutDownPriceProductHelpUserBo> helpUserBos) {
|
528
|
+ private void getUserInfo(List<CutDownPriceProductHelpUserBo> helpUserBos) {
|
|
|
529
|
+ if(CollectionUtils.isEmpty(helpUserBos)){
|
|
|
530
|
+ return;
|
|
|
531
|
+ }
|
507
|
StringBuilder sb = new StringBuilder();
|
532
|
StringBuilder sb = new StringBuilder();
|
508
|
- sb.append(userId);
|
|
|
509
|
for (CutDownPriceProductHelpUserBo helpUserBo : helpUserBos){
|
533
|
for (CutDownPriceProductHelpUserBo helpUserBo : helpUserBos){
|
510
|
if(null!=helpUserBo.getHelpUserId() && SYSTEM_HELP_ID!=helpUserBo.getHelpUserId()){
|
534
|
if(null!=helpUserBo.getHelpUserId() && SYSTEM_HELP_ID!=helpUserBo.getHelpUserId()){
|
511
|
sb.append(",").append(helpUserBo.getHelpUserId());
|
535
|
sb.append(",").append(helpUserBo.getHelpUserId());
|
|
@@ -525,14 +549,6 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -525,14 +549,6 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
525
|
}
|
549
|
}
|
526
|
}
|
550
|
}
|
527
|
}
|
551
|
}
|
528
|
- for (CutDownPriceProductHelpUserBo helpUserBo : helpUserBos){
|
|
|
529
|
- for (UserInfoRspBO userInfoRspBO : userInfoBoArray){
|
|
|
530
|
- if (userId.equals(userInfoRspBO.getUid())){
|
|
|
531
|
- helpUserBo.setUserImgUrl(userInfoRspBO.getHeadIco());
|
|
|
532
|
- break;
|
|
|
533
|
- }
|
|
|
534
|
- }
|
|
|
535
|
- }
|
|
|
536
|
}
|
552
|
}
|
537
|
|
553
|
|
538
|
private UserInfoRspBO[] invokeUicGetUserInfo(String uids) {
|
554
|
private UserInfoRspBO[] invokeUicGetUserInfo(String uids) {
|
|
@@ -597,11 +613,11 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -597,11 +613,11 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
597
|
BigDecimal hasCutPrice = new BigDecimal(0);
|
613
|
BigDecimal hasCutPrice = new BigDecimal(0);
|
598
|
for(CutDownPriceProductHelpUserBo helpUserBo : helpUserBos){
|
614
|
for(CutDownPriceProductHelpUserBo helpUserBo : helpUserBos){
|
599
|
hasCutPrice = hasCutPrice.add(helpUserBo.getCutPrice());
|
615
|
hasCutPrice = hasCutPrice.add(helpUserBo.getCutPrice());
|
600
|
- activityProductBo.setUserImgUrl(helpUserBo.getUserImgUrl());// 赋值一次就可以了
|
|
|
601
|
}
|
616
|
}
|
602
|
activityProductBo.setHasCutPrice(hasCutPrice);
|
617
|
activityProductBo.setHasCutPrice(hasCutPrice);
|
603
|
activityProductBo.setHasJoinNum(helpUserBos.size());
|
618
|
activityProductBo.setHasJoinNum(helpUserBos.size());
|
604
|
}
|
619
|
}
|
|
|
620
|
+
|
605
|
return activityProductBo;
|
621
|
return activityProductBo;
|
606
|
}
|
622
|
}
|
607
|
|
623
|
|
|
@@ -701,6 +717,21 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
@@ -701,6 +717,21 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
701
|
}
|
717
|
}
|
702
|
}
|
718
|
}
|
703
|
|
719
|
|
|
|
720
|
+ private String buildUserImage(Integer userId, UserInfoRspBO[] userInfoBoArray) {
|
|
|
721
|
+ String imageUrl = null;
|
|
|
722
|
+ if(ArrayUtils.isEmpty(userInfoBoArray)){
|
|
|
723
|
+ return null;
|
|
|
724
|
+ }
|
|
|
725
|
+
|
|
|
726
|
+ for(UserInfoRspBO userInfoRspBO : userInfoBoArray){
|
|
|
727
|
+ if(userInfoRspBO.getUid().equals(userId)){
|
|
|
728
|
+ imageUrl = userInfoRspBO.getHeadIco();
|
|
|
729
|
+ break;
|
|
|
730
|
+ }
|
|
|
731
|
+ }
|
|
|
732
|
+ return imageUrl;
|
|
|
733
|
+ }
|
|
|
734
|
+
|
704
|
private void pushSuccessMessage(Integer userId, CutDownPriceActivityBo activityBo, CutDownPriceProductBo cutDownPriceProductBo) {
|
735
|
private void pushSuccessMessage(Integer userId, CutDownPriceActivityBo activityBo, CutDownPriceProductBo cutDownPriceProductBo) {
|
705
|
executorService.execute(new Runnable() {
|
736
|
executorService.execute(new Runnable() {
|
706
|
@Override
|
737
|
@Override
|