智慧农业后台管理
zengh
2022-07-12 3efd7f01cba4aaa09f75662e287bfa4c780990cf
src/main/java/org/springblade/modules/stock/mapper/StockMapper.xml
@@ -63,6 +63,9 @@
        <if test="stock.specsValue1!=null and stock.specsValue1 != ''">
            and st.specs_value1 = #{stock.specsValue1}
        </if>
        <if test="stock.year!=null and stock.year != ''">
            and st.create_time like concat('%',#{stock.year},'%')
        </if>
        <if test="stock.specsValue2!=null and stock.specsValue2 != ''">
            and st.specs_value2 = #{stock.specsValue2}
        </if>