yuan
7 天以前 211d2887af4608fbdfd40af1e16e4f58131dfaa2
src/main/resources/mapper/basic/ProductModelMapper.xml
@@ -23,7 +23,7 @@
    </resultMap>
    <select id="listPageProductModel" resultMap="ProductModelVoResultMap">
        select pm.*,p.product_name
        select pm.*,p.product_name, ifnull(p.standard_quantity, 0) as product_standard_quantity
        from product_model pm
        left join product p on pm.product_id = p.id
        <where>