|
|
|
@ -351,13 +351,13 @@ public class ThrProductsAddDiService extends ServiceImpl<ThrProductsAddDiDao, Th
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (StrUtil.isNotEmpty(excelVo.getPurType())) {
|
|
|
|
|
if (excelVo.getPurType().equals("入账")) {
|
|
|
|
|
if (excelVo.getPurType().contains("入账")) {
|
|
|
|
|
thrProductsAdddiEntity.setPurType(1);
|
|
|
|
|
}
|
|
|
|
|
if (excelVo.getPurType().equals("预验收")) {
|
|
|
|
|
}else if (excelVo.getPurType().contains("预验收")) {
|
|
|
|
|
thrProductsAdddiEntity.setPurType(2);
|
|
|
|
|
} else
|
|
|
|
|
}else if (excelVo.getPurType().contains("寄售")) {
|
|
|
|
|
thrProductsAdddiEntity.setPurType(3);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
thrProductsAddDiService.insertThrProducts(thrProductsAdddiEntity);
|
|
|
|
|
});
|
|
|
|
|