Merge remote-tracking branch 'origin/div' into div
| | |
| | | }
|
| | | }
|
| | |
|
| | | |
| | | |
| | |
|
| | | long count = 0;
|
| | | if (type == 0) {
|
| | |
| | | if (record.getStartTime() != null && record.getEndTime().getTime() <= record.getStartTime().getTime()) |
| | | throw new GoodsEvaluateException(1, "截止时间必须大于开始时间"); |
| | | } else { |
| | | record.setEndTime(DateUtil.plusDayDate(3, new Date())); |
| | | if (record.getStartTime() == null) { |
| | | record.setEndTime(DateUtil.plusDayDate(3, new Date())); |
| | | } else { |
| | | record.setEndTime(DateUtil.plusDayDate(3, record.getStartTime())); |
| | | } |
| | | } |
| | | |
| | | Integer dynamicType = record.getDynamicType(); |