|
@@ -120,10 +120,12 @@ public class ExcelServiceImpl implements IExcelService {
|
|
if(outTypeEnum == null || StringUtils.isBlank(snCode)){
|
|
if(outTypeEnum == null || StringUtils.isBlank(snCode)){
|
|
errorIndex.add(index -3);
|
|
errorIndex.add(index -3);
|
|
}
|
|
}
|
|
- int outType = outTypeEnum.getCode();
|
|
|
|
CameraInOutParam param = new CameraInOutParam();
|
|
CameraInOutParam param = new CameraInOutParam();
|
|
|
|
+ if(outTypeEnum != null){
|
|
|
|
+ int outType = outTypeEnum.getCode();
|
|
|
|
+ param.setOutType(outType);
|
|
|
|
+ }
|
|
param.setCompanyName(companyName);
|
|
param.setCompanyName(companyName);
|
|
- param.setOutType(outType);
|
|
|
|
param.setOrderSn(orderSn);
|
|
param.setOrderSn(orderSn);
|
|
param.setSnCode(snCode);
|
|
param.setSnCode(snCode);
|
|
params.add(param);
|
|
params.add(param);
|