jinlin
2024-07-16 ee2a27313fbf5e7741644f9f3701d243487dbaa4
modules/mainPart/src/main/resources/mapper/baseReliability/ParamDataBasicDao.xml
@@ -51,14 +51,14 @@
        and c.ship_id = ${shipId} and c.product_type = ${productType} and c.is_delete = 0
        and b.ship_id = ${shipId} and b.pid = c.id and b.is_delete = 0
        and a.IS_DELETE = 0 and a.product_id = b.id
        AND (b.product_type =5 AND a.basic_join_compute = 1 ||  b.product_type < 5)
        AND ((a.reliab_distrib_type =1
        AND ( (b.product_type = 5 AND a.basic_join_compute = 1
        and ((
        a.reliab_distrib_type = 1
        AND a.basic_mtbf_regulate > 0
        )
        OR ( a.reliab_distrib_type = 2
        AND a.basic_mtbf_regul_succ_rate > 0
        ))
        OR ( a.reliab_distrib_type = 2 AND a.basic_mtbf_regul_succ_rate > 0 ))
        )
        || (b.product_type < 5 AND a.basic_mtbf_regulate > 0 ) )
        GROUP BY c.id,c.name
        ) c
        )d set f.basic_mtbf_regulate = d.basic_mtbf_regulate,