|
|
|
@ -20,6 +20,7 @@ import org.apache.commons.collections4.MapUtils; |
|
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
|
import org.apache.poi.util.StringUtil; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
import org.springframework.transaction.annotation.Isolation; |
|
|
|
|
import org.springframework.transaction.annotation.Propagation; |
|
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
@ -92,7 +93,9 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
private HighActivityUserLotteryNumService highActivityUserLotteryNumService; |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Transactional(propagation= Propagation.REQUIRES_NEW) |
|
|
|
|
@Transactional( |
|
|
|
|
isolation = Isolation.SERIALIZABLE, |
|
|
|
|
propagation= Propagation.REQUIRES_NEW) |
|
|
|
|
public void insertOrder(HighOrder highOrder) throws Exception { |
|
|
|
|
highOrderMapper.insert(highOrder); |
|
|
|
|
|
|
|
|
@ -129,6 +132,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
childOrder.setExt1(list.get(0).getExt1()); |
|
|
|
|
highChildOrderMapper.updateByPrimaryKey(childOrder); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(!childOrder.getGiveawayType()) { |
|
|
|
|
// 查看是否需要赠送卡卷
|
|
|
|
|
List<HighCouponHandselModel> handselListByCoupon = highCouponHandselService.getHandselListByCoupon(childOrder.getGoodsId()); |
|
|
|
|