|
@@ -11,6 +11,7 @@
|
|
|
<result property="forestCategory" column="forest_category"/>
|
|
|
<result property="groundClass" column="ground_class"/>
|
|
|
<result property="hectareTrees" column="hectare_trees"/>
|
|
|
+ <result property="forestryArea" column="forestry_area"/>
|
|
|
<result property="deptId" column="dept_id"/>
|
|
|
<result property="deptName" column="dept_name"/>
|
|
|
<result property="createBy" column="create_by"/>
|
|
@@ -23,12 +24,12 @@
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectCenterdataTForestResourcesVo">
|
|
|
- select id, forest_tenure, dominant_tree_species, forest_category, ground_class, hectare_trees, dept_id, dept_name, create_by, create_time,create_name,update_name, update_by, update_time, data_status from centerdata_t_forest_resources
|
|
|
+ select id, forest_tenure, dominant_tree_species, forest_category, ground_class, hectare_trees,forestry_area, dept_id, dept_name, create_by, create_time,create_name,update_name, update_by, update_time, data_status from centerdata_t_forest_resources
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectCenterdataTForestResourcesList" parameterType="CenterdataTForestResources"
|
|
|
resultMap="CenterdataTForestResourcesResult">
|
|
|
- select a.id, a.forest_tenure, a.dominant_tree_species, a.forest_category, a.ground_class, a.hectare_trees, a.dept_id, a.dept_name, a.create_by, a.create_time,a.create_name,a.update_name, a.update_by, a.update_time,a.data_status
|
|
|
+ select a.id, a.forest_tenure, a.dominant_tree_species, a.forest_category, a.ground_class, a.hectare_trees,a.forestry_area, a.dept_id, a.dept_name, a.create_by, a.create_time,a.create_name,a.update_name, a.update_by, a.update_time,a.data_status
|
|
|
from centerdata_t_forest_resources a
|
|
|
left join ${database_system}.sys_dept d on a.dept_id=d.dept_id
|
|
|
<where>
|
|
@@ -62,7 +63,7 @@
|
|
|
<if test="forestCategory != null">forest_category,</if>
|
|
|
<if test="groundClass != null">ground_class,</if>
|
|
|
<if test="hectareTrees != null">hectare_trees,</if>
|
|
|
-
|
|
|
+ <if test="forestryArea != null">forestry_area,</if>
|
|
|
<if test="deptId != null">dept_id,</if>
|
|
|
<if test="deptName != null">dept_name,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
@@ -81,7 +82,7 @@
|
|
|
<if test="forestCategory != null">#{forestCategory},</if>
|
|
|
<if test="groundClass != null">#{groundClass},</if>
|
|
|
<if test="hectareTrees != null">#{hectareTrees},</if>
|
|
|
-
|
|
|
+ <if test="forestryArea != null">#{forestryArea},</if>
|
|
|
<if test="deptId != null">#{deptId},</if>
|
|
|
<if test="deptName != null">#{deptName},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
@@ -102,6 +103,7 @@
|
|
|
<if test="forestCategory != null">forest_category = #{forestCategory},</if>
|
|
|
<if test="groundClass != null">ground_class = #{groundClass},</if>
|
|
|
<if test="hectareTrees != null">hectare_trees = #{hectareTrees},</if>
|
|
|
+ <if test="forestryArea != null">forestry_area = #{forestryArea},</if>
|
|
|
<if test="deptId != null">dept_id = #{deptId},</if>
|
|
|
<if test="deptName != null">dept_name = #{deptName},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|