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

[A端][修复]:修复已存在的couponchannel重复建立问题

release_toaliyun_real
hupeng 7 лет назад
Родитель
Сommit
9d870bd378
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      mallinkService/src/main/java/com/simple/service/impl/WxCampaignServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/simple/service/impl/WxCampaignServiceImpl.java Просмотреть файл

@@ -120,7 +120,7 @@ public class WxCampaignServiceImpl implements WxCampaignService {

if(wxCouponChannels.size()>0) {
for (int i = 0; i < wxCouponChannels.size(); i++) {
if (wxCouponChannels.get(i).getId() == couponId) {
if (wxCouponChannels.get(i).getId().longValue() == couponId.longValue()) {
wxCouponChannels.get(i).setStatus(EnumCouponChannelStatus.STATUS_THROW_IN.getCode());
wxCouponChannels.get(i).setBeginTime(record.getValidStartDate());
wxCouponChannels.get(i).setEndTime(record.getValidEndDate());


Загрузка…
Отмена
Сохранить