Commit 4a802f4b authored by 赵啸非's avatar 赵啸非

添加照片海康下载

parent 562da3b7
...@@ -86,8 +86,6 @@ public class FeedbackApiController extends AbstractBaseController<FeedbackReq> { ...@@ -86,8 +86,6 @@ public class FeedbackApiController extends AbstractBaseController<FeedbackReq> {
feedbackQuery.setIdList(feedbackIdList); feedbackQuery.setIdList(feedbackIdList);
Result<FeedbackEntity> result = feedbackService.find(feedbackQuery, pageAllInfo, null); Result<FeedbackEntity> result = feedbackService.find(feedbackQuery, pageAllInfo, null);
model.put(PAGEINFO_KEY, result.getPageInfo()); model.put(PAGEINFO_KEY, result.getPageInfo());
model.put(KEY_RESULT_DATA, result.getList()); model.put(KEY_RESULT_DATA, result.getList());
parsePageInfo(model, result.getPageInfo()); parsePageInfo(model, result.getPageInfo());
...@@ -135,6 +133,7 @@ public class FeedbackApiController extends AbstractBaseController<FeedbackReq> { ...@@ -135,6 +133,7 @@ public class FeedbackApiController extends AbstractBaseController<FeedbackReq> {
//如果时间已经结束 则不能再提交 //如果时间已经结束 则不能再提交
FeedbackEntity feedbackEntity = feedbackService.get(req.getFeedbackId(), context); FeedbackEntity feedbackEntity = feedbackService.get(req.getFeedbackId(), context);
if(ObjectUtils.isEmpty(feedbackEntity)) throw new AppException("未找到当前问卷,请联系管理员!");
if (DateUtil.compare(new Date(), feedbackEntity.getFeedbackTimeStart()) < 0) if (DateUtil.compare(new Date(), feedbackEntity.getFeedbackTimeStart()) < 0)
throw new AppException("当前反馈问卷信息还未开始!"); throw new AppException("当前反馈问卷信息还未开始!");
if (DateUtil.compare(new Date(), feedbackEntity.getFeedbackTimeEnd()) > 0) if (DateUtil.compare(new Date(), feedbackEntity.getFeedbackTimeEnd()) > 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment