智慧农业后台管理
guoshilong
2022-08-05 cfb7666e7952cca8b59437ae155329947e6a3df0
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">