|
|
|
@@ -63,9 +63,9 @@ public class WxActivityController extends BaseController { |
|
|
|
wxActivity.setStatus(EnumActivityStatus.INJECT_ONLINE.getCode()); |
|
|
|
wxActivity.updateTenantInfo(getTenantInfo()); |
|
|
|
wxActivity.setSortColumns(BaseEntity.SortField.ActivityStartTime_DESC,BaseEntity.SortField.Id_DESC); |
|
|
|
if(wxActivity.getStarttime() == null || wxActivity.getEndtime() == null){ |
|
|
|
wxActivity.setStarttime(DateUtils.getFirstDayForCurrMonth()); |
|
|
|
wxActivity.setEndtime(DateUtils.getLastDayForMonth(new Date())); |
|
|
|
if(wxActivity.getStartDate() == null || wxActivity.getEndDate() == null){ |
|
|
|
wxActivity.setStartDate(DateUtils.getFirstDayForCurrMonth()); |
|
|
|
wxActivity.setEndDate(DateUtils.getLastDayForMonth(new Date())); |
|
|
|
} |
|
|
|
return wxActivityService.getListStatus(wxActivity); |
|
|
|
} |
|
|
|
|