智慧农业后台管理
zengh
2022-07-13 fd7f3ca20edaf87407334e7ab4fb772839885ea0
src/main/java/org/springblade/modules/farmplant/mapper/FarmPlantMapper.xml
@@ -12,6 +12,9 @@
        <if test="farmPlant.plant!=null and farmPlant.plant!=''">
            and sfp.plant = #{farmPlant.plant}
        </if>
        <if test="farmPlant.year!=null and farmPlant.year!=''">
            and sfp.create_time like concat('%',#{farmPlant.year},'%')
        </if>
        <if test="farmPlant.landId!=null and farmPlant.landId!=''">
            and sfp.land_id = #{farmPlant.landId}
        </if>