ソースを参照

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

release_toaliyun_real
hupeng 7年前
コミット
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());


読み込み中…
キャンセル
保存