异常上报bug+KPI测量点详情反显bug

This commit is contained in:
Timer
2026-03-10 22:14:10 +08:00
parent 061ededef9
commit a8f246c026
3 changed files with 8 additions and 5 deletions

View File

@ -144,15 +144,17 @@ public class KPIPointController {
public String doview(HttpServletRequest request,Model model){
String userId = request.getParameter("id");
KPIPoint kPIPoint = this.kPIPointService.selectById(userId);
// 保存原始bizid用于MPoint查询
String originalBizid = kPIPoint.getBizid();
ProcessSection processSection = this.processSectionService.selectById(kPIPoint.getProcesssectionid());
if (processSection != null) {
kPIPoint.setProcessectionname(processSection.getName());
}
Company company = this.unitService.getCompById(kPIPoint.getBizid());
Company company = this.unitService.getCompById(originalBizid);
if (company != null) {
kPIPoint.setBizid(company.getName());
}
MPoint mPoint = this.mPointService.selectById(kPIPoint.getBizid(),kPIPoint.getMpointid());
MPoint mPoint = this.mPointService.selectById(originalBizid,kPIPoint.getMpointid());
if (mPoint != null) {
kPIPoint.setMpointname(mPoint.getParmname());
}

View File

@ -454,7 +454,8 @@ public class MsgServiceImpl implements MsgService {
String mtypeid = "";
int result = 0;
MsgType mtype = new MsgType();
mtype = this.msgtypeService.getMsgType(" where T.id='" + msgtypeid + "' order by T.insdt").get(0);
List<MsgType> msgType = this.msgtypeService.getMsgType(" where T.id='" + msgtypeid + "' order by T.insdt");
mtype = msgType.get(0);
String sendway = mtype.getSendway();
String[] recvids = recvid.split(",");
//判断权限