|
@@ -24,9 +24,9 @@ import com.jeeplus.modules.sys.entity.Workattachment;
|
|
|
import com.jeeplus.modules.sys.utils.DictUtils;
|
|
|
import com.jeeplus.modules.sys.utils.UserUtils;
|
|
|
import com.jeeplus.modules.workactivity.service.WorkActivityProcessService;
|
|
|
+import com.jeeplus.modules.workcontent.common.WorkContentDetailFactory;
|
|
|
import com.jeeplus.modules.workcontent.entity.WorkContentType;
|
|
|
import com.jeeplus.modules.workcontent.service.WorkContentDetailBaseService;
|
|
|
-import com.jeeplus.modules.workcontent.common.WorkContentDetailFactory;
|
|
|
import com.jeeplus.modules.workcontent.service.WorkContentTypeService;
|
|
|
import com.jeeplus.modules.workprojectnotify.entity.WorkProjectNotify;
|
|
|
import com.jeeplus.modules.workprojectnotify.service.WorkProjectNotifyService;
|
|
@@ -37,7 +37,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
-import java.io.UnsupportedEncodingException;
|
|
|
import java.net.URLDecoder;
|
|
|
import java.util.*;
|
|
|
|
|
@@ -135,6 +134,9 @@ public class ProjectcontentinfoService extends CrudService<ProjectcontentinfoDao
|
|
|
page.setList(findList(projectcontentinfo));
|
|
|
return super.findPage(page, projectcontentinfo);
|
|
|
}
|
|
|
+ public Page<ProjectContractContentAlterData> getContractContentAlterDataInfo(Page<ProjectContractContentAlterData> page, ProjectContractContentAlterData projectContractContentAlterData){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
|
|
|
@Transactional(readOnly = false)
|
|
|
public void save(Projectcontentinfo projectcontentinfo) {
|
|
@@ -150,6 +152,10 @@ public class ProjectcontentinfoService extends CrudService<ProjectcontentinfoDao
|
|
|
projectContentChangeDao.deleteChange(projectcontentinfo);
|
|
|
}
|
|
|
@Transactional(readOnly = false)
|
|
|
+ public void saveProjectContentDataRelevanceInfo(ProjectContentDataRelevance projectContentDataRelevance) {
|
|
|
+ projectContentChangeDao.saveProjectContentDataRelevanceInfo(projectContentDataRelevance);
|
|
|
+ }
|
|
|
+ @Transactional(readOnly = false)
|
|
|
public String saveData(Projectcontentinfo projectcontentinfo,int type) throws Exception {
|
|
|
List<ProjectControlTable> projectControlTableList = null;
|
|
|
List<ProjectBasedData> projectBasedDataList = null;
|
|
@@ -164,6 +170,7 @@ public class ProjectcontentinfoService extends CrudService<ProjectcontentinfoDao
|
|
|
Projectcontentinfo s = new Projectcontentinfo();
|
|
|
s.setParentIds("0,");
|
|
|
s.setProject(projectcontentinfo.getProject());
|
|
|
+ //根据项目id查询相关工作内容信息的数据 并将其存为父级数据
|
|
|
Projectcontentinfo contentinfo = dao.findListByProject(s).get(0);
|
|
|
String parentIds = projectcontentinfo.getParentIds();
|
|
|
String parentId = projectcontentinfo.getParentId();
|
|
@@ -401,6 +408,7 @@ public class ProjectcontentinfoService extends CrudService<ProjectcontentinfoDao
|
|
|
select.setParentIds(parentIds);
|
|
|
select.setType(count);
|
|
|
select.setProject(projectcontentinfo.getProject());
|
|
|
+ //根据项目信息查找添加的数据的上级节点信息
|
|
|
List<Projectcontentinfo> infos = dao.findListByProjectAndType(select);
|
|
|
if (infos == null || infos.size()==0) {
|
|
|
select.setParent(parent);
|
|
@@ -432,6 +440,7 @@ public class ProjectcontentinfoService extends CrudService<ProjectcontentinfoDao
|
|
|
}
|
|
|
}
|
|
|
if (!count.equals("8")) {
|
|
|
+ //根据项目id查询工作内容信息并塞入树形图结构中
|
|
|
Projectcontentinfo select1 = new Projectcontentinfo();
|
|
|
List<Projectcontentinfo> projectcontentinfos = dao.findType(projectcontentinfo.getProject().getId(),name);
|
|
|
if(projectcontentinfos.size()>0){
|