智慧农业后台管理
guoshilong
2022-08-22 32e81fa68cf76e2331eb88a2299ee0ecd8faa7b3
src/main/java/org/springblade/modules/stock/mapper/StockMapper.xml
@@ -158,7 +158,7 @@
                 sys_stockrecord st
            LEFT JOIN (SELECT id, agricultural_name, factory_name,type FROM sys_stockfactory) stf
            ON st.stock_id1 = stf.id
        <if test="stock.stockType !=null and stock.stockType != '' ">
        <if test="stock.stockType !=null and stock.stockType !=''">
            WHERE stf.type =#{stock.stockType}
        </if>
        GROUP BY