1
0
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:
Hai Liang W 2023-09-02 11:07:35 +08:00 committed by GitHub
commit eba56b2730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);