|
@@ -1,14 +1,17 @@
|
|
package org.hsweb.web.controller.form;
|
|
package org.hsweb.web.controller.form;
|
|
|
|
|
|
|
|
+import org.hsweb.web.bean.po.history.History;
|
|
import org.hsweb.web.core.authorize.annotation.Authorize;
|
|
import org.hsweb.web.core.authorize.annotation.Authorize;
|
|
import org.hsweb.web.bean.common.PagerResult;
|
|
import org.hsweb.web.bean.common.PagerResult;
|
|
import org.hsweb.web.bean.common.QueryParam;
|
|
import org.hsweb.web.bean.common.QueryParam;
|
|
import org.hsweb.web.bean.po.form.Form;
|
|
import org.hsweb.web.bean.po.form.Form;
|
|
import org.hsweb.web.controller.GenericController;
|
|
import org.hsweb.web.controller.GenericController;
|
|
import org.hsweb.web.core.exception.BusinessException;
|
|
import org.hsweb.web.core.exception.BusinessException;
|
|
|
|
+import org.hsweb.web.core.exception.NotFoundException;
|
|
import org.hsweb.web.core.logger.annotation.AccessLogger;
|
|
import org.hsweb.web.core.logger.annotation.AccessLogger;
|
|
import org.hsweb.web.core.message.ResponseMessage;
|
|
import org.hsweb.web.core.message.ResponseMessage;
|
|
import org.hsweb.web.service.form.FormService;
|
|
import org.hsweb.web.service.form.FormService;
|
|
|
|
+import org.hsweb.web.service.history.HistoryService;
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@@ -29,6 +32,9 @@ public class FormController extends GenericController<Form, String> {
|
|
@Resource
|
|
@Resource
|
|
private FormService formService;
|
|
private FormService formService;
|
|
|
|
|
|
|
|
+ @Resource
|
|
|
|
+ private HistoryService historyService;
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public FormService getService() {
|
|
public FormService getService() {
|
|
return this.formService;
|
|
return this.formService;
|