项目立项:项目类别为研究开发类/自主研发类不参与 周报填报及季度考核功能
This commit is contained in:
parent
191191eae2
commit
4877c9a38a
@ -48,6 +48,13 @@ public class ProjectInitListener implements ExecutionListener {
|
|||||||
ProjectInfo projectInfo = projectInfoService.selectOne(wrapper);
|
ProjectInfo projectInfo = projectInfoService.selectOne(wrapper);
|
||||||
if (!ObjectUtils.isEmpty(projectInfo)) {
|
if (!ObjectUtils.isEmpty(projectInfo)) {
|
||||||
JSONObject ext = projectInfo.getExt();
|
JSONObject ext = projectInfo.getExt();
|
||||||
|
|
||||||
|
//研究开发类/自主研发类没有填报直接结项
|
||||||
|
String openRange = String.valueOf(ext.get("openRange"));
|
||||||
|
if("3".equals(openRange) || "7".equals(openRange)){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//根据部门批量添加部门周报填报
|
//根据部门批量添加部门周报填报
|
||||||
JSONArray depts = (JSONArray) ext.get("executeDepts");
|
JSONArray depts = (JSONArray) ext.get("executeDepts");
|
||||||
ArrayList<ProjectWeekly> weeklyArrayList = new ArrayList<>();
|
ArrayList<ProjectWeekly> weeklyArrayList = new ArrayList<>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user