Explorar o código

储罐运营数据增加当前储量数据

Memory_LG hai 9 meses
pai
achega
b8b1875a39

+ 6 - 0
src/main/java/com/sooka/sponest/data/housingconstruction/domain/CenterdataTHousingconstructionStoragetankLog.java

@@ -46,6 +46,12 @@ public class CenterdataTHousingconstructionStoragetankLog extends BaseBusinessEn
     private String storagetankName;
 
     /**
+     * 当前储量
+     */
+    @Excel(name = "当前储量")
+    private String storageCapacity;
+
+    /**
      * 液体液位
      */
     @Excel(name = "液体液位(单位: m)")

+ 7 - 1
src/main/resources/mapper/housingconstruction/CenterdataTHousingconstructionStoragetankLogMapper.xml

@@ -17,6 +17,7 @@
         <result property="deptName" column="dept_name"/>
         <result property="storagetankId" column="storagetank_id"/>
         <result property="storagetankName" column="storagetank_name"/>
+        <result property="storageCapacity" column="storage_capacity"/>
         <result property="level" column="level"/>
         <result property="heat" column="heat"/>
         <result property="pressure" column="pressure"/>
@@ -43,7 +44,8 @@
                a.pressure,
                a.gas_leak,
                a.security_state,
-               a.run_state
+               a.run_state,
+               a.storage_capacity
         from centerdata_t_housingconstruction_storagetank_log a
     </sql>
 
@@ -67,6 +69,7 @@
             a.gas_leak,
             a.security_state,
             a.run_state,
+            a.storage_capacity,
             hs.enterprise_name
         from centerdata_t_housingconstruction_storagetank_log a
         left join ${database_system}.sys_dept d on a.dept_id = d.dept_id
@@ -102,6 +105,7 @@
             <if test="deptName != null">dept_name,</if>
             <if test="storagetankId != null">storagetank_id,</if>
             <if test="storagetankName != null">storagetank_name,</if>
+            <if test="storageCapacity != null">storage_capacity,</if>
             <if test="level != null">level,</if>
             <if test="heat != null">heat,</if>
             <if test="pressure != null">pressure,</if>
@@ -121,6 +125,7 @@
             <if test="deptName != null">#{deptName},</if>
             <if test="storagetankId != null">#{storagetankId},</if>
             <if test="storagetankName != null">#{storagetankName},</if>
+            <if test="storageCapacity != null">#{storageCapacity},</if>
             <if test="level != null">#{level},</if>
             <if test="heat != null">#{heat},</if>
             <if test="pressure != null">#{pressure},</if>
@@ -144,6 +149,7 @@
             <if test="deptName != null">dept_name = #{deptName},</if>
             <if test="storagetankId != null">storagetank_id = #{storagetankId},</if>
             <if test="storagetankName != null">storagetank_name = #{storagetankName},</if>
+            <if test="storageCapacity != null">storage_capacity = #{storageCapacity},</if>
             <if test="level != null">level = #{level},</if>
             <if test="heat != null">heat = #{heat},</if>
             <if test="pressure != null">pressure = #{pressure},</if>