fix (farm): 配置文件,大屏

- 分离wanmao与吉水微信账号配置
- 大屏bug修复
This commit is contained in:
达富斌
2025-10-10 11:11:29 +08:00
parent d25d0d26e3
commit 4af34297e2
9 changed files with 99 additions and 14 deletions

View File

@@ -90,4 +90,25 @@
</select>
<select id="getCultivatingAreaInfo"
resultType="cn.iocoder.yudao.module.farm.controller.admin.digitalcockpit.vo.CropStatisticsRespVO">
SELECT
plant_species_code AS speciesName,
SUM(predicted_area) AS cropArea,
SUM(total_area) AS totalArea
FROM farm_production_plan
<where>
deleted = 0
<if test="baseId != null and baseId != ''">
AND base_id = #{baseId}
</if>
<if test="year != null and year != ''">
AND YEAR(production_start_date) = #{year}
</if>
</where>
GROUP BY plant_species_code
</select>
</mapper>