Merge branch 'dev-resources-20181116' into test6.8.2
Showing
1 changed file
with
6 additions
and
6 deletions
@@ -184,27 +184,27 @@ public class CouponServiceImpl implements ICouponService,IBusinessExportService{ | @@ -184,27 +184,27 @@ public class CouponServiceImpl implements ICouponService,IBusinessExportService{ | ||
184 | LOGGER.info("checkSaveOrUpdateCouponParam failed! couponName is blank"); | 184 | LOGGER.info("checkSaveOrUpdateCouponParam failed! couponName is blank"); |
185 | return false; | 185 | return false; |
186 | } | 186 | } |
187 | - if(null == req.getCouponAmount() || req.getCouponAmount()<=0){ | 187 | + if(null == req.getCouponAmount() || req.getCouponAmount()<0){ |
188 | LOGGER.info("checkSaveOrUpdateCouponParam failed! couponAmount error! couponAmount is {}",req.getCouponAmount()); | 188 | LOGGER.info("checkSaveOrUpdateCouponParam failed! couponAmount error! couponAmount is {}",req.getCouponAmount()); |
189 | return false; | 189 | return false; |
190 | } | 190 | } |
191 | - if(null == req.getCouponNum() || req.getCouponNum()<=0){ | 191 | + if(null == req.getCouponNum() || req.getCouponNum()<0){ |
192 | LOGGER.info("checkSaveOrUpdateCouponParam failed! couponNum error! couponNum is {}",req.getCouponNum()); | 192 | LOGGER.info("checkSaveOrUpdateCouponParam failed! couponNum error! couponNum is {}",req.getCouponNum()); |
193 | return false; | 193 | return false; |
194 | } | 194 | } |
195 | - if(null == req.getUseNum() || req.getUseNum()<=0){ | 195 | + if(null == req.getUseNum() || req.getUseNum()<0){ |
196 | LOGGER.info("checkSaveOrUpdateCouponParam failed! useNum error! useNum is {}",req.getUseNum()); | 196 | LOGGER.info("checkSaveOrUpdateCouponParam failed! useNum error! useNum is {}",req.getUseNum()); |
197 | return false; | 197 | return false; |
198 | } | 198 | } |
199 | - if(null == req.getUseLimitType() || req.getUseLimitType()<=0){ | 199 | + if(null == req.getUseLimitType()){ |
200 | LOGGER.info("checkSaveOrUpdateCouponParam failed! useLimitType error! useLimitType is {}",req.getUseLimitType()); | 200 | LOGGER.info("checkSaveOrUpdateCouponParam failed! useLimitType error! useLimitType is {}",req.getUseLimitType()); |
201 | return false; | 201 | return false; |
202 | } | 202 | } |
203 | - if(null == req.getStartTime() || req.getStartTime()<=0){ | 203 | + if(null == req.getStartTime() || req.getStartTime()<0){ |
204 | LOGGER.info("checkSaveOrUpdateCouponParam failed! startTime error! startTime is {}",req.getStartTime()); | 204 | LOGGER.info("checkSaveOrUpdateCouponParam failed! startTime error! startTime is {}",req.getStartTime()); |
205 | return false; | 205 | return false; |
206 | } | 206 | } |
207 | - if(null == req.getEndTime() || req.getEndTime()<=0){ | 207 | + if(null == req.getEndTime() || req.getEndTime()<0){ |
208 | LOGGER.info("checkSaveOrUpdateCouponParam failed! endTime error! endTime is {}",req.getEndTime()); | 208 | LOGGER.info("checkSaveOrUpdateCouponParam failed! endTime error! endTime is {}",req.getEndTime()); |
209 | return false; | 209 | return false; |
210 | } | 210 | } |
-
Please register or login to post a comment