|
|
|
@ -27,12 +27,11 @@ import cokr.xit.fims.crdn.Crdn;
|
|
|
|
|
import cokr.xit.fims.crdn.CrdnQuery;
|
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnInstMapper;
|
|
|
|
|
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.EquipmentEnterprise;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.HiteCom;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.Ino;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.Knl;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.LayoutParser;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.HiteComParser;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.InoParser;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.ParsingUtil;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.XitRecommend;
|
|
|
|
|
import cokr.xit.fims.crdn.parsing.XitParser;
|
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnService;
|
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnStngService;
|
|
|
|
|
import cokr.xit.fims.crdn.service.ImportService;
|
|
|
|
@ -130,12 +129,12 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
|
boolean saved = false;
|
|
|
|
|
|
|
|
|
|
String entType = hReq.getParameter("entType");
|
|
|
|
|
EquipmentEnterprise enterprise = null;
|
|
|
|
|
LayoutParser enterprise = null;
|
|
|
|
|
switch(entType){
|
|
|
|
|
case "ino": enterprise = new Ino(); break;
|
|
|
|
|
case "knl": enterprise = new Knl(); break;
|
|
|
|
|
case "hitecom": enterprise = new HiteCom(); break;
|
|
|
|
|
case "xit": enterprise = new XitRecommend(); break;
|
|
|
|
|
case "ino": enterprise = new InoParser(); break;
|
|
|
|
|
//case "knl": break;
|
|
|
|
|
case "hitecom": enterprise = new HiteComParser(); break;
|
|
|
|
|
case "xit": enterprise = new XitParser(); break;
|
|
|
|
|
//case "": enterprise = new (); break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -186,12 +185,12 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
|
boolean saved = false;
|
|
|
|
|
|
|
|
|
|
String entType = hReq.getParameter("entType");
|
|
|
|
|
EquipmentEnterprise enterprise = null;
|
|
|
|
|
LayoutParser enterprise = null;
|
|
|
|
|
switch(entType){
|
|
|
|
|
case "ino": enterprise = new Ino(); break;
|
|
|
|
|
case "knl": enterprise = new Knl(); break;
|
|
|
|
|
case "hitecom": enterprise = new HiteCom(); break;
|
|
|
|
|
case "xit": enterprise = new XitRecommend(); break;
|
|
|
|
|
case "ino": enterprise = new InoParser(); break;
|
|
|
|
|
//case "knl": break;
|
|
|
|
|
case "hitecom": enterprise = new HiteComParser(); break;
|
|
|
|
|
case "xit": enterprise = new XitParser(); break;
|
|
|
|
|
//case "": enterprise = new (); break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -225,12 +224,12 @@ public class Crdn05Controller extends ApplicationController {
|
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
|
|
|
|
|
|
String entType = hReq.getParameter("entType");
|
|
|
|
|
EquipmentEnterprise enterprise = null;
|
|
|
|
|
LayoutParser enterprise = null;
|
|
|
|
|
switch(entType){
|
|
|
|
|
case "ino": enterprise = new Ino(); break;
|
|
|
|
|
case "knl": enterprise = new Knl(); break;
|
|
|
|
|
case "hitecom": enterprise = new HiteCom(); break;
|
|
|
|
|
case "xit": enterprise = new XitRecommend(); break;
|
|
|
|
|
case "ino": enterprise = new InoParser(); break;
|
|
|
|
|
//case "knl": break;
|
|
|
|
|
case "hitecom": enterprise = new HiteComParser(); break;
|
|
|
|
|
case "xit": enterprise = new XitParser(); break;
|
|
|
|
|
//case "": enterprise = new (); break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|