智慧农业后台管理
guoshilong
2022-08-09 da5aa91989a403f01ec9c621468f3bff0c6d4e47
src/main/java/org/springblade/modules/farm/mapper/FarmingRecordMapper.xml
@@ -43,6 +43,7 @@
        <if test="farmingRecord.farmId!=null and farmingRecord.farmId!=''">
            and sl.farm_id = #{farmingRecord.farmId}
        </if>
        ORDER BY sfr.create_time DESC
    </select>
    <!--自定义查询农事记录分页数据-->
@@ -88,6 +89,7 @@
        <if test="farmingRecord.farmId!=null and farmingRecord.farmId!=''">
            and sl.farm_id = #{farmingRecord.farmId}
        </if>
        ORDER BY sfr.create_time DESC
    </select>
    <select id="selectFarmingRecordPages" resultType="org.springblade.modules.farm.vo.FarmingRecordVO">