From 441496e2cfa40be3de9b204fd34f0e8de7d5af72 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 13 八月 2024 10:12:15 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
index e54969f..29ec048 100644
--- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -271,6 +271,9 @@
             }
         }
         for (DetlDto detlDto : list) {
+            if (detlDto.getMatnr().substring(0,1).equals("B")) {
+               detlDto.setMatnr(detlDto.getMatnr().substring(1));
+            };
             Mat mat = matService.selectByMatnr(detlDto.getMatnr());
             OrderDetl orderDetl = new OrderDetl();
             if (Cools.isEmpty(mat)) {

--
Gitblit v1.9.1