luobang hai 1 ano
pai
achega
754bb2ff6d

+ 1 - 0
src/main/java/com/steerinfo/dil/service/impl/AmstruckInwardRequirementServiceImpl.java

@@ -211,6 +211,7 @@ public class AmstruckInwardRequirementServiceImpl extends BaseServiceImpl<Amstru
                 rmsMaterial.setMaterialName("钢坯");
                 rmsMaterial.setMaterialSpecification((String)mapValue.get("type"));
                 rmsMaterial.setMaterialModel((String)mapValue.get("model"));
+                rmsMaterial.setDeleted(new BigDecimal(0));
                 rmsMaterialMapper.insertSelective(rmsMaterial);
             }
         }catch (Exception e){

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

@@ -4650,6 +4650,7 @@
     WHERE RC.CONSIGNEE_COMPANY_NAME = #{receiveName}
     AND RC.CONSIGNEE_CODE IS NOT NULL
     AND RC.EAS_CONSIGNEE_ID IS NOT NULL
+    AND RC.DELETED = 0
   </select>
 
   <select id="findSalerId" parameterType="java.lang.String" resultType="DECIMAL" >
@@ -4663,6 +4664,7 @@
     FROM RMS_MATERIAL RM
     WHERE RM.MATERIAL_NAME = #{name}
     AND RM.MATERIAL_SPECIFICATION = #{specification}
+    AND RM.DELETED = 0
     <if test="model != null">
       AND RM.MATERIAL_MODEL = #{model}
     </if>