异常上报bug+KPI测量点详情反显bug
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
@ -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(",");
|
||||
//判断权限
|
||||
|
||||
Reference in New Issue
Block a user