|
@@ -1,6 +1,7 @@
|
|
|
package platform.modules.company.web;
|
|
package platform.modules.company.web;
|
|
|
|
|
|
|
|
import com.github.pagehelper.PageInfo;
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
|
+import org.apache.shiro.authz.annotation.RequiresAuthentication;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.ui.ModelMap;
|
|
import org.springframework.ui.ModelMap;
|
|
@@ -72,6 +73,9 @@ public class ProjectProvincesController extends BaseController {
|
|
|
public String add(ModelMap modelMap, @PathVariable("declarationId") Integer declarationId,
|
|
public String add(ModelMap modelMap, @PathVariable("declarationId") Integer declarationId,
|
|
|
@RequestParam(value = "companyId", required = false) Integer companyId) {
|
|
@RequestParam(value = "companyId", required = false) Integer companyId) {
|
|
|
log.info("跳转到项目省市申报申请新增页面!");
|
|
log.info("跳转到项目省市申报申请新增页面!");
|
|
|
|
|
+ if (!ShiroUtils.isLogin()) {
|
|
|
|
|
+ return "redirect:/home/login";
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
if (ShiroUtils.getUserType().equals(Constant.UserType.COMPANY)) {
|
|
if (ShiroUtils.getUserType().equals(Constant.UserType.COMPANY)) {
|
|
|
companyId = ShiroUtils.getCompanyId();
|
|
companyId = ShiroUtils.getCompanyId();
|