|
@@ -18,6 +18,8 @@ import com.jeeplus.modules.act.entity.Act;
|
|
import com.jeeplus.modules.act.service.ActTaskService;
|
|
import com.jeeplus.modules.act.service.ActTaskService;
|
|
import com.jeeplus.modules.act.utils.ActUtils;
|
|
import com.jeeplus.modules.act.utils.ActUtils;
|
|
import com.jeeplus.modules.projectAccessory.entity.ProjectTemplateInfo;
|
|
import com.jeeplus.modules.projectAccessory.entity.ProjectTemplateInfo;
|
|
|
|
+import com.jeeplus.modules.projectEngineering.entity.ProjectEngineeringInfo;
|
|
|
|
+import com.jeeplus.modules.projectEngineering.service.ProjectEngineeringService;
|
|
import com.jeeplus.modules.projectFilingBatch.entity.ProjectFilingBatch;
|
|
import com.jeeplus.modules.projectFilingBatch.entity.ProjectFilingBatch;
|
|
import com.jeeplus.modules.projectcontentinfo.entity.ProjectReportData;
|
|
import com.jeeplus.modules.projectcontentinfo.entity.ProjectReportData;
|
|
import com.jeeplus.modules.projectcontentinfo.entity.ProjectReportRecord;
|
|
import com.jeeplus.modules.projectcontentinfo.entity.ProjectReportRecord;
|
|
@@ -49,6 +51,7 @@ import org.activiti.engine.runtime.ProcessInstance;
|
|
import org.activiti.engine.task.Task;
|
|
import org.activiti.engine.task.Task;
|
|
import org.apache.shiro.authz.annotation.Logical;
|
|
import org.apache.shiro.authz.annotation.Logical;
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
|
+import org.checkerframework.checker.units.qual.A;
|
|
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.Model;
|
|
import org.springframework.ui.Model;
|
|
@@ -77,7 +80,8 @@ public class RuralProjectRecordsController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private RuralProjectRecordsService projectRecordsService;
|
|
private RuralProjectRecordsService projectRecordsService;
|
|
-
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private ProjectEngineeringService engineeringService;
|
|
@Autowired
|
|
@Autowired
|
|
private WorkContractInfoService contractInfoService;
|
|
private WorkContractInfoService contractInfoService;
|
|
@Autowired
|
|
@Autowired
|
|
@@ -196,6 +200,9 @@ public class RuralProjectRecordsController extends BaseController {
|
|
projectRecords.setLeaderIds(UserUtils.getUser().getId());
|
|
projectRecords.setLeaderIds(UserUtils.getUser().getId());
|
|
projectRecords.setLeaderNameStr(UserUtils.getUser().getName());
|
|
projectRecords.setLeaderNameStr(UserUtils.getUser().getName());
|
|
}
|
|
}
|
|
|
|
+ //查询所有的工程分类
|
|
|
|
+ List<ProjectEngineeringInfo> engineeringInfos=engineeringService.findList(new ProjectEngineeringInfo());
|
|
|
|
+ model.addAttribute("engineeringInfo", engineeringInfos);
|
|
model.addAttribute("ruralProjectRecords", projectRecords);
|
|
model.addAttribute("ruralProjectRecords", projectRecords);
|
|
return "modules/ruralprojectrecords/ruralProjectRecordsForm";
|
|
return "modules/ruralprojectrecords/ruralProjectRecordsForm";
|
|
}
|
|
}
|
|
@@ -360,6 +367,9 @@ public class RuralProjectRecordsController extends BaseController {
|
|
act.setTask(taskInfok);
|
|
act.setTask(taskInfok);
|
|
projectRecords.setAct(act);
|
|
projectRecords.setAct(act);
|
|
}
|
|
}
|
|
|
|
+ //查询所有的工程分类
|
|
|
|
+ List<ProjectEngineeringInfo> engineeringInfos=engineeringService.findList(new ProjectEngineeringInfo());
|
|
|
|
+ model.addAttribute("engineeringInfo", engineeringInfos);
|
|
projectRecordsService.queryProjectDetail(projectRecords);
|
|
projectRecordsService.queryProjectDetail(projectRecords);
|
|
model.addAttribute("projectRecords", projectRecords);
|
|
model.addAttribute("projectRecords", projectRecords);
|
|
return "modules/ruralprojectrecords/ruralProjectRecordsModify";
|
|
return "modules/ruralprojectrecords/ruralProjectRecordsModify";
|
|
@@ -1055,4 +1065,19 @@ public class RuralProjectRecordsController extends BaseController {
|
|
}
|
|
}
|
|
return map;
|
|
return map;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+// /**
|
|
|
|
+// * 查询其他文件树形信息
|
|
|
|
+// */
|
|
|
|
+// @RequestMapping(value = "engineeringTreeMenu")
|
|
|
|
+// @ResponseBody
|
|
|
|
+// public JSONObject engineeringTreeMenu(){
|
|
|
|
+//// List<>
|
|
|
|
+// //查询所有工程分类的父类
|
|
|
|
+// List<ProjectEngineeringInfo> parents=engineeringService.getParentInfo();
|
|
|
|
+// for(ProjectEngineeringInfo engineeringInfo:parents){
|
|
|
|
+// ProjectEngineeringInfo child=engineeringService.get(engineeringInfo.getId());
|
|
|
|
+// }
|
|
|
|
+// return null;
|
|
|
|
+// }
|
|
}
|
|
}
|