xyc
2024-07-24 413eae5cb4d5fe78fc25258bf7b5e3b53740b1f9
modules/mainPart/src/main/resources/mapper/basicInfo/XhProductModelDao.xml
@@ -121,4 +121,12 @@
          and a.product_type > 2
    </select>
    <select id="getProductTree" resultType="com.zt.life.modules.mainPart.basicInfo.model.XhProductModel">
        select a.*
        from product_model a
        where a.is_delete = 0
        <if test="shipId!=null">
            and a.ship_id = #{shipId}
        </if>
    </select>
</mapper>