Browse Source

aps-技术评审自动匹配技术要求新需求

sucheng 3 months ago
parent
commit
dbbb9d334f

+ 2 - 2
cx-aps/cx-aps-common/src/main/resources/mybatis/ApsProductDetailDao.xml

@@ -147,7 +147,7 @@
             IF(apd.ALLOY = #{alloy},50,0)
                 +IF(apd.ALLOYSTATUS = #{alloystatus},30,0)
                 +IF(aptr.ORDERPRODUCTTYPEID = #{orderProductTypeId},100,0)
-                +IF(aptr.BLAMKTHICKNESS = #{thickness},10,0) AS 'core'
+                +IF(apd.THICKNESS = #{thickness},10,0) AS 'core'
         from
             aps_production_order apo
                 LEFT JOIN aps_product_detail apd ON apo.ID = apd.MAINID
@@ -162,7 +162,7 @@
             apd.ALLOY = #{alloy}
                 OR apd.ALLOYSTATUS = #{alloystatus}
                 OR aptr.ORDERPRODUCTTYPEID = #{orderProductTypeId}
-                OR aptr.BLAMKTHICKNESS = #{thickness}
+                OR apd.THICKNESS = #{thickness}
             )
         ORDER BY core desc,aptr.CREATEDATE desc
         limit 1