feat: 导入入院物资修改

dev_ksck_axxyy
chenhc 1 year ago
parent f327aac379
commit 3a52a67c49

@ -351,14 +351,14 @@ 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);
});
}

Loading…
Cancel
Save