|
@@ -5572,6 +5572,35 @@ public class MaterialReportDetailsController extends BaseController {
|
|
|
exportList.add(details);
|
|
|
}
|
|
|
}
|
|
|
+ //利库基础数据更新库存
|
|
|
+ List<LiKuResourcePool> replaceList = new ArrayList<>();
|
|
|
+ if (bBNonPoolList.size() > 0) {
|
|
|
+ replaceList.addAll(bBNonPoolList);
|
|
|
+ }
|
|
|
+ if (yZNonPoolList.size() > 0) {
|
|
|
+ replaceList.addAll(yZNonPoolList);
|
|
|
+ }
|
|
|
+ if (dYNonPoolList.size() > 0) {
|
|
|
+ replaceList.addAll(dYNonPoolList);
|
|
|
+ }
|
|
|
+ if (dYNonPoolList.size() > 0) {
|
|
|
+ replaceList.addAll(dYNonPoolList);
|
|
|
+ }
|
|
|
+ if (bBPoolList.size() > 0) {
|
|
|
+ replaceList.addAll(bBPoolList);
|
|
|
+ }
|
|
|
+ if (yZPoolList.size() > 0) {
|
|
|
+ replaceList.addAll(yZPoolList);
|
|
|
+ }
|
|
|
+ if (dYPoolList.size() > 0) {
|
|
|
+ replaceList.addAll(dYPoolList);
|
|
|
+ }
|
|
|
+ if (jRPoolList.size() > 0) {
|
|
|
+ replaceList.addAll(jRPoolList);
|
|
|
+ }
|
|
|
+ if (replaceList.size() > 0) {
|
|
|
+ poolService.updateAllList(replaceList);
|
|
|
+ }
|
|
|
|
|
|
if (exportList.size() > 0) {
|
|
|
service.delAll();
|