8 天以前 4ea1509f0e88ee331e821459d4eefb0c9902b3e7
src/main/resources/mapper/basic/ProductModelMapper.xml
@@ -9,7 +9,6 @@
        <result column="product_id" property="productId" />
        <result column="model" property="model" />
        <result column="unit" property="unit" />
        <result column="speculative_trading_name" property="speculativeTradingName" />
        <result column="tenant_id" property="tenantId" />
        <result column="product_name" property="productName" />
        <result column="product_id" property="productId" />
@@ -24,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>