|
|
@@ -107,7 +107,10 @@ public class TaskDetailsServiceImpl extends BaseMybatisDao<TaskDetailsMapper> im
|
|
|
map.put("serviceYear", e.getServiceYear());
|
|
|
map.put("taskName", e.getCommodityName());
|
|
|
map.put("id",e.getId());
|
|
|
- //如果没有项目进度,查询同年份的项目进度
|
|
|
+ //第一次进来是查本项目,没有的情况下查询同项目
|
|
|
+ if (taskDetails==null){
|
|
|
+ taskDetails=taskDetailsMapper.selectByTid(id);
|
|
|
+ }
|
|
|
if (taskDetails==null&&!e.getId().equals(id)&&e.getcSort()==6){
|
|
|
taskDetails=taskDetailsMapper.selectByTid(e.getId());
|
|
|
tid=e.getId();
|