|
@@ -168,11 +168,12 @@ public class ExcelServiceImpl implements IExcelService {
|
|
|
String customerAccount = map.get(0);
|
|
|
String endCustomer = map.get(1);
|
|
|
String authSn = map.get(2);
|
|
|
- String distributorName = map.get(3);
|
|
|
- String createDate = map.get(4);
|
|
|
- String acitvated = map.get(5);
|
|
|
- String activateDate = map.get(6);
|
|
|
- String expirationDay = map.get(7);
|
|
|
+ String cameraSn = map.get(3);
|
|
|
+ String distributorName = map.get(4);
|
|
|
+ String createDate = map.get(5);
|
|
|
+ String acitvated = map.get(6);
|
|
|
+ String activateDate = map.get(7);
|
|
|
+ String expirationDay = map.get(8);
|
|
|
if(StringUtils.isBlank(authSn) || StringUtils.isBlank(customerAccount) || StringUtils.isBlank(endCustomer) || StringUtils.isBlank(activateDate) || StringUtils.isBlank(expirationDay)){
|
|
|
log.info("数据错误:{}",map);
|
|
|
errorIndex.add(index);
|
|
@@ -213,6 +214,7 @@ public class ExcelServiceImpl implements IExcelService {
|
|
|
param.setAuthCode(authSn);
|
|
|
param.setCustomerAccount(customerAccount);
|
|
|
param.setEndCustomer(endCustomer);
|
|
|
+ param.setCameraSn(cameraSn);
|
|
|
params.add(param);
|
|
|
|
|
|
}
|