|
@@ -17,6 +17,7 @@ import com.jeeplus.modules.ruralprojectrecords.entity.RuralProjectRecords;
|
|
|
import com.jeeplus.modules.ruralprojectrecords.service.RuralProjectRecordsService;
|
|
|
import com.jeeplus.modules.sys.utils.UserUtils;
|
|
|
import com.jeeplus.modules.workreceiptsregister.entity.ResponseEntity;
|
|
|
+import org.apache.shiro.authz.annotation.Logical;
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
@@ -77,7 +78,7 @@ public class ProjectMaterialStorageController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
- //@RequiresPermissions(value={"project:projectMaterialStorage:add","project:projectMaterialStorage:edit"},logical=Logical.OR)
|
|
|
+ @RequiresPermissions(value={"project:projectMaterialStorage:add","project:projectMaterialStorage:edit"},logical = Logical.OR)
|
|
|
@RequestMapping(value = "save")
|
|
|
public String save(ProjectMaterialStorage projectMaterialStorage, Model model, RedirectAttributes redirectAttributes,String pageId) throws Exception {
|
|
|
int i = 1;
|