jinlin
2024-07-17 442a635882a5973c9f3401a30bcfa0a43434fa74
modules/mainPart/src/main/resources/mapper/basicInfo/TyProductModelDao.xml
@@ -20,7 +20,7 @@
                          AND is_delete = 0
                    )
            )
        and ((node_type = 1) or (node_type <> 1 and id not in (select src_id from product_model where pid =
        and ((node_type > ${nodeType}) or ( id not in (select src_id from product_model where pid =
        ${pid} and is_delete=0)))
        ORDER BY
            node_type,sort
@@ -30,6 +30,8 @@
        from product_model_common a
        where a.is_delete = 0
          and a.node_type <> 1
        ORDER BY
            node_type,sort
    </select>
    <select id="getNo" resultType="java.lang.Integer">
        SELECT COUNT(*)