mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-16 00:22:22 +08:00
Merge pull request #932 from CollectBugs/feature/794
#794 调整服务类型点击为空,对后端返回值tags赋值逻辑进行修改,目前修改的逻辑为:查询同机构下,类型为ccsummry 下的服务类型
This commit is contained in:
commit
eba56b2730
@ -1020,12 +1020,14 @@
|
|||||||
map.addAttribute("summary", summaries.get(0));
|
map.addAttribute("summary", summaries.get(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
AgentService service = agentServiceRes.findById(agentserviceid).orElse(null);
|
Organ currentOrgan = super.getOrgan(request);
|
||||||
if (service != null) {
|
if(null!=currentOrgan){
|
||||||
map.addAttribute(
|
map.addAttribute(
|
||||||
"tags", tagRes.findByTagtypeAndSkill(
|
"tags", tagRes.findByTagtypeAndSkill(
|
||||||
MainContext.ModelType.SUMMARY.toString(), service.getSkill()));
|
MainContext.ModelType.CCSUMMARY.toString(), currentOrgan.getParent()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
map.addAttribute("userid", userid);
|
map.addAttribute("userid", userid);
|
||||||
map.addAttribute("agentserviceid", agentserviceid);
|
map.addAttribute("agentserviceid", agentserviceid);
|
||||||
map.addAttribute("agentuserid", agentuserid);
|
map.addAttribute("agentuserid", agentuserid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user