|
|
|
@@ -22,6 +22,8 @@ import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Propagation; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.util.*; |
|
|
|
@@ -54,6 +56,7 @@ public class TtCouponServiceImpl implements TtCouponService { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Transactional(propagation = Propagation.REQUIRED, readOnly = false, rollbackFor = {Exception.class}) |
|
|
|
public ResultData saveOrUpdate(TtCoupon record) { |
|
|
|
|
|
|
|
if (StringUtils.isNotEmpty(record.getSalePriceStr())) { |
|
|
|
|