|
@@ -273,7 +273,7 @@
|
|
|
select
|
|
|
a.dept_id deptId,d.ancestors,
|
|
|
<foreach item="item" collection="map.dictList" open="" separator="," close="">
|
|
|
- IFNULL(CASE WHEN a.attribute = #{item.dictValue} THEN a.area END ,0) AS A${item.dictValue}
|
|
|
+ IFNULL(CASE WHEN a.attribute = #{item.dictValue} THEN a.area END ,0) AS #{item.dictValue}
|
|
|
</foreach>
|
|
|
FROM
|
|
|
centerdata_t_farm_basic_farmland a
|