智慧农业后台管理
tangzy
2022-06-27 568b782afa3be4b55f617e7330aa1f2c0e54e693
src/main/java/org/springblade/modules/farmplant/mapper/FarmPlantMapper.xml
@@ -15,6 +15,9 @@
        <if test="farmPlant.landId!=null and farmPlant.landId!=''">
            and sfp.land_id = #{farmPlant.landId}
        </if>
        <if test="farmPlant.strainId!=null and farmPlant.strainId!=''">
            and sfp.strain_id = #{farmPlant.strainId}
        </if>
        <if test="farmPlant.plantingWay!=null and farmPlant.plantingWay!=''">
            and sfp.planting_way = #{farmPlant.plantingWay}
        </if>
@@ -181,9 +184,6 @@
    </select>
    <!--种植采收监管 产品等级(0:一等品)-->
    <select id="selectProduct" resultType="java.util.HashMap">
        SELECT
@@ -300,4 +300,5 @@
        </if>
        group by sfp.strain_id,strain_name,land_unit
    </select>
</mapper>