廖井涛
2024-07-28 dffdcaa14f32c51a63b4ab2cc7a38eebf17f8f44
north-glass-erp/src/main/resources/mapper/sd/ProductMapper.xml
@@ -74,6 +74,14 @@
        ;
    </select>
    <select id="selectProduct">
        select * from sd.product where ${productName}=#{productNameValue}
    </select>
    <select id="selectProductId">
        select * from sd.product where ${productName}=#{productNameValue} and id != #{id}
    </select>
    <select id="getPageTotal" >
        select
            CEILING(count(a.id)/#{pageSize})