Pārlūkot izejas kodu

修改MAC地址写入接口

callm 2 mēneši atpakaļ
vecāks
revīzija
a91eb75f67

+ 6 - 1
src/main/java/com/uas/eis/serviceImpl/MESHelperServiceImpl.java

@@ -549,6 +549,7 @@ public class MESHelperServiceImpl implements MESHelperService {
 		String iSN=map.get("iSN").toString();
 		String iWIFI = null;
 		String iBT = null;
+		String iNetCard=null;
 		String iCode1 = null;
 		String iCode2 = null;
 		String iCode3 = null;
@@ -561,6 +562,9 @@ public class MESHelperServiceImpl implements MESHelperService {
 		if(map.get("iBT")!=null){
 			iBT=map.get("iBT").toString();
 		}
+		if(map.get("iNetCard")!=null){
+			iNetCard=map.get("iNetCard").toString();
+		}
 		if(map.get("iCode1")!=null){
 			iCode1=map.get("iCode1").toString();
 		}
@@ -571,10 +575,11 @@ public class MESHelperServiceImpl implements MESHelperService {
 			iCode3=map.get("iCode3").toString();
 		}
 		List<String> list = new ArrayList<String>();
-		list = baseDao.callProcedureWithOut(Master+".CS_SETADDRESSINFO", new Object[]{
+		list = baseDao.callProcedureWithOut(Master+".CS_SETADDRESSINFO_TOOL", new Object[]{
 				String.valueOf(iSN),
 				String.valueOf(iWIFI),
 				String.valueOf(iBT),
+				String.valueOf(iNetCard),
 				String.valueOf(iCode1),
 				String.valueOf(iCode2),
 				String.valueOf(iCode3)