智慧农业后台管理
zengh
2022-07-11 05dbe39d762b9fc6845884f5978ff4a688c55b7a
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>