fix (farm): 配置文件,大屏
- 分离wanmao与吉水微信账号配置 - 大屏bug修复
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user