mirror of
https://github.com/chatopera/cosin.git
synced 2025-06-16 18:30:03 +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));
|
||||
}
|
||||
}
|
||||
AgentService service = agentServiceRes.findById(agentserviceid).orElse(null);
|
||||
if (service != null) {
|
||||
Organ currentOrgan = super.getOrgan(request);
|
||||
if(null!=currentOrgan){
|
||||
map.addAttribute(
|
||||
"tags", tagRes.findByTagtypeAndSkill(
|
||||
MainContext.ModelType.SUMMARY.toString(), service.getSkill()));
|
||||
MainContext.ModelType.CCSUMMARY.toString(), currentOrgan.getParent()));
|
||||
}
|
||||
|
||||
|
||||
map.addAttribute("userid", userid);
|
||||
map.addAttribute("agentserviceid", agentserviceid);
|
||||
map.addAttribute("agentuserid", agentuserid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user