luobang 6 месяцев назад
Родитель
Сommit
8156c38ae3
2 измененных файлов с 3 добавлено и 1 удалено
  1. 1 1
      pom.xml
  2. 2 0
      src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

+ 1 - 1
pom.xml

@@ -6,7 +6,7 @@
 
     <groupId>org.example</groupId>
     <artifactId>antai-api</artifactId>
-    <version>1.1</version>
+    <version>1.0</version>
 
     <parent>
         <groupId>org.springframework.boot</groupId>

+ 2 - 0
src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

@@ -1405,6 +1405,7 @@
         left join rms_material_map t
         on t.prod_code_l = b.material_code
         <where>
+            b.deleted = 0
             <if test="prodCode != null and prodCode != ''">
                 and REGEXP_LIKE(t.prod_code, #{prodCode})
             </if>
@@ -1439,6 +1440,7 @@
         END * b.material_theoretical_weight / 1000 as "weight"
         from rms_material b
         <where>
+            b.deleted = 0
             <if test="prodCode != null and prodCode != ''">
                 and REGEXP_LIKE(b.material_code, #{prodCode})
             </if>