| 
														
															@@ -17,17 +17,20 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <result column="EAS_AMOUNT" jdbcType="DECIMAL" property="easAmount" /> 
														 | 
														
														 | 
														
															         <result column="EAS_AMOUNT" jdbcType="DECIMAL" property="easAmount" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <result column="TOTAL_WET_TON" jdbcType="DECIMAL" property="totalWetTon" /> 
														 | 
														
														 | 
														
															         <result column="TOTAL_WET_TON" jdbcType="DECIMAL" property="totalWetTon" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <result column="STATEMENT_STATUS" jdbcType="DECIMAL" property="statementStatus" /> 
														 | 
														
														 | 
														
															         <result column="STATEMENT_STATUS" jdbcType="DECIMAL" property="statementStatus" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="TOTAL_PREVIEW_TON" jdbcType="DECIMAL" property="totalPreviewTon" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="TOTAL_PREVIEW_FEE" jdbcType="DECIMAL" property="totalPreviewFee" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </resultMap> 
														 | 
														
														 | 
														
															     </resultMap> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <sql id="columns"> 
														 | 
														
														 | 
														
															     <sql id="columns"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        STATEMENT_ID, STATEMENT_NO, STATEMENT_SHIPPER_ID, STATEMENT_TOTAL_AMOUNT, STATEMENT_DATE, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, INSERT_UPDATE_REMARK, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    STATEMENT_TYPE, BATCH_ID, EAS_AMOUNT, TOTAL_WET_TON, STATEMENT_STATUS 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        STATEMENT_ID, STATEMENT_NO, STATEMENT_SHIPPER_ID, STATEMENT_TOTAL_AMOUNT, STATEMENT_DATE,  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, INSERT_UPDATE_REMARK,  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    STATEMENT_TYPE, BATCH_ID, EAS_AMOUNT, TOTAL_WET_TON, STATEMENT_STATUS, TOTAL_PREVIEW_TON,  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    TOTAL_PREVIEW_FEE 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </sql> 
														 | 
														
														 | 
														
															     </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <sql id="columns_alias"> 
														 | 
														
														 | 
														
															     <sql id="columns_alias"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        t.STATEMENT_ID, t.STATEMENT_NO, t.STATEMENT_SHIPPER_ID, t.STATEMENT_TOTAL_AMOUNT, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    t.STATEMENT_DATE, t.INSERT_USERNAME, t.INSERT_TIME, t.UPDATE_USERNAME, t.UPDATE_TIME, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    t.INSERT_UPDATE_REMARK, t.STATEMENT_TYPE, t.BATCH_ID, t.EAS_AMOUNT, t.TOTAL_WET_TON, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    t.STATEMENT_STATUS 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        t.STATEMENT_ID, t.STATEMENT_NO, t.STATEMENT_SHIPPER_ID, t.STATEMENT_TOTAL_AMOUNT,  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    t.STATEMENT_DATE, t.INSERT_USERNAME, t.INSERT_TIME, t.UPDATE_USERNAME, t.UPDATE_TIME,  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    t.INSERT_UPDATE_REMARK, t.STATEMENT_TYPE, t.BATCH_ID, t.EAS_AMOUNT, t.TOTAL_WET_TON,  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    t.STATEMENT_STATUS, t.TOTAL_PREVIEW_TON, t.TOTAL_PREVIEW_FEE 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </sql> 
														 | 
														
														 | 
														
															     </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <sql id="select"> 
														 | 
														
														 | 
														
															     <sql id="select"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         SELECT <include refid="columns" /> FROM BMSSHIP_STATEMENT 
														 | 
														
														 | 
														
															         SELECT <include refid="columns" /> FROM BMSSHIP_STATEMENT 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -82,6 +85,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
														
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 and STATEMENT_STATUS = #{statementStatus} 
														 | 
														
														 | 
														
															                 and STATEMENT_STATUS = #{statementStatus} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewTon != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and TOTAL_PREVIEW_TON = #{totalPreviewTon} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewFee != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and TOTAL_PREVIEW_FEE = #{totalPreviewFee} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </where> 
														 | 
														
														 | 
														
															         </where> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </sql> 
														 | 
														
														 | 
														
															     </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <sql id="whereLike"> 
														 | 
														
														 | 
														
															     <sql id="whereLike"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -131,6 +140,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
														
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 and STATEMENT_STATUS = #{statementStatus} 
														 | 
														
														 | 
														
															                 and STATEMENT_STATUS = #{statementStatus} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewTon != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and TOTAL_PREVIEW_TON = #{totalPreviewTon} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewFee != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and TOTAL_PREVIEW_FEE = #{totalPreviewFee} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </where> 
														 | 
														
														 | 
														
															         </where> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </sql> 
														 | 
														
														 | 
														
															     </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> 
														 | 
														
														 | 
														
															     <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -182,6 +197,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <if test="statementStatus != null"> 
														 | 
														
														 | 
														
															         <if test="statementStatus != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             or STATEMENT_STATUS = #{statementStatus} 
														 | 
														
														 | 
														
															             or STATEMENT_STATUS = #{statementStatus} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </if> 
														 | 
														
														 | 
														
															         </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="totalPreviewTon != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or TOTAL_PREVIEW_TON = #{totalPreviewTon} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="totalPreviewFee != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or TOTAL_PREVIEW_FEE = #{totalPreviewFee} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </delete> 
														 | 
														
														 | 
														
															     </delete> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <insert id="insert" parameterType="com.steerinfo.dil.model.BmsshipStatement"> 
														 | 
														
														 | 
														
															     <insert id="insert" parameterType="com.steerinfo.dil.model.BmsshipStatement"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         insert into BMSSHIP_STATEMENT (STATEMENT_ID, STATEMENT_NO, STATEMENT_SHIPPER_ID, 
														 | 
														
														 | 
														
															         insert into BMSSHIP_STATEMENT (STATEMENT_ID, STATEMENT_NO, STATEMENT_SHIPPER_ID, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -189,13 +210,15 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                        INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, 
														 | 
														
														 | 
														
															                                        INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                        UPDATE_TIME, INSERT_UPDATE_REMARK, STATEMENT_TYPE, 
														 | 
														
														 | 
														
															                                        UPDATE_TIME, INSERT_UPDATE_REMARK, STATEMENT_TYPE, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                        BATCH_ID, EAS_AMOUNT, TOTAL_WET_TON, 
														 | 
														
														 | 
														
															                                        BATCH_ID, EAS_AMOUNT, TOTAL_WET_TON, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                       STATEMENT_STATUS) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                                       STATEMENT_STATUS, TOTAL_PREVIEW_TON, TOTAL_PREVIEW_FEE 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         values (#{statementId,jdbcType=DECIMAL}, #{statementNo,jdbcType=VARCHAR}, #{statementShipperId,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															         values (#{statementId,jdbcType=DECIMAL}, #{statementNo,jdbcType=VARCHAR}, #{statementShipperId,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{statementTotalAmount,jdbcType=DECIMAL}, #{statementDate,jdbcType=TIMESTAMP}, 
														 | 
														
														 | 
														
															                 #{statementTotalAmount,jdbcType=DECIMAL}, #{statementDate,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{insertUsername,jdbcType=VARCHAR}, #{insertTime,jdbcType=TIMESTAMP}, #{updateUsername,jdbcType=VARCHAR}, 
														 | 
														
														 | 
														
															                 #{insertUsername,jdbcType=VARCHAR}, #{insertTime,jdbcType=TIMESTAMP}, #{updateUsername,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{updateTime,jdbcType=TIMESTAMP}, #{insertUpdateRemark,jdbcType=VARCHAR}, #{statementType,jdbcType=VARCHAR}, 
														 | 
														
														 | 
														
															                 #{updateTime,jdbcType=TIMESTAMP}, #{insertUpdateRemark,jdbcType=VARCHAR}, #{statementType,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{batchId,jdbcType=DECIMAL}, #{easAmount,jdbcType=DECIMAL}, #{totalWetTon,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															                 #{batchId,jdbcType=DECIMAL}, #{easAmount,jdbcType=DECIMAL}, #{totalWetTon,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                #{statementStatus,jdbcType=DECIMAL}) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{statementStatus,jdbcType=DECIMAL}, #{totalPreviewTon,jdbcType=DECIMAL}, #{totalPreviewFee,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+               ) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </insert> 
														 | 
														
														 | 
														
															     </insert> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <insert id="insertSelective" parameterType="com.steerinfo.dil.model.BmsshipStatement"> 
														 | 
														
														 | 
														
															     <insert id="insertSelective" parameterType="com.steerinfo.dil.model.BmsshipStatement"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         insert into BMSSHIP_STATEMENT 
														 | 
														
														 | 
														
															         insert into BMSSHIP_STATEMENT 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -245,6 +268,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
														
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 STATEMENT_STATUS, 
														 | 
														
														 | 
														
															                 STATEMENT_STATUS, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewTon != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                TOTAL_PREVIEW_TON, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewFee != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                TOTAL_PREVIEW_FEE, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </trim> 
														 | 
														
														 | 
														
															         </trim> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <trim prefix="values (" suffix=")" suffixOverrides=","> 
														 | 
														
														 | 
														
															         <trim prefix="values (" suffix=")" suffixOverrides=","> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="statementId != null"> 
														 | 
														
														 | 
														
															             <if test="statementId != null"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -292,6 +321,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
														
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{statementStatus,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															                 #{statementStatus,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewTon != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{totalPreviewTon,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewFee != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{totalPreviewFee,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </trim> 
														 | 
														
														 | 
														
															         </trim> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </insert> 
														 | 
														
														 | 
														
															     </insert> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.BmsshipStatement"> 
														 | 
														
														 | 
														
															     <update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.BmsshipStatement"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -309,7 +344,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             BATCH_ID = #{batchId,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															             BATCH_ID = #{batchId,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             EAS_AMOUNT = #{easAmount,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															             EAS_AMOUNT = #{easAmount,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             TOTAL_WET_TON = #{totalWetTon,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															             TOTAL_WET_TON = #{totalWetTon,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            STATEMENT_STATUS = #{statementStatus,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            STATEMENT_STATUS = #{statementStatus,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            TOTAL_PREVIEW_TON = #{totalPreviewTon,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            TOTAL_PREVIEW_FEE = #{totalPreviewFee,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         where STATEMENT_ID = #{statementId,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															         where STATEMENT_ID = #{statementId,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </update> 
														 | 
														
														 | 
														
															     </update> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.BmsshipStatement"> 
														 | 
														
														 | 
														
															     <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.BmsshipStatement"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -357,6 +394,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
														
														 | 
														
															             <if test="statementStatus != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 STATEMENT_STATUS = #{statementStatus,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															                 STATEMENT_STATUS = #{statementStatus,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewTon != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                TOTAL_PREVIEW_TON = #{totalPreviewTon,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="totalPreviewFee != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                TOTAL_PREVIEW_FEE = #{totalPreviewFee,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </set> 
														 | 
														
														 | 
														
															         </set> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         where STATEMENT_ID = #{statementId,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															         where STATEMENT_ID = #{statementId,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </update> 
														 | 
														
														 | 
														
															     </update> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -381,7 +424,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         UPDATE_USERNAME, UPDATE_TIME, 
														 | 
														
														 | 
														
															         UPDATE_USERNAME, UPDATE_TIME, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         INSERT_UPDATE_REMARK, STATEMENT_TYPE, 
														 | 
														
														 | 
														
															         INSERT_UPDATE_REMARK, STATEMENT_TYPE, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         BATCH_ID, EAS_AMOUNT, TOTAL_WET_TON, 
														 | 
														
														 | 
														
															         BATCH_ID, EAS_AMOUNT, TOTAL_WET_TON, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        STATEMENT_STATUS) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        STATEMENT_STATUS, TOTAL_PREVIEW_TON, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        TOTAL_PREVIEW_FEE) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         ( <foreach collection="list" item="item" separator="union all"> 
														 | 
														
														 | 
														
															         ( <foreach collection="list" item="item" separator="union all"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         select 
														 | 
														
														 | 
														
															         select 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{item.statementId,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															         #{item.statementId,jdbcType=DECIMAL}, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -391,7 +435,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{item.updateUsername,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, 
														 | 
														
														 | 
														
															         #{item.updateUsername,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{item.insertUpdateRemark,jdbcType=VARCHAR}, #{item.statementType,jdbcType=VARCHAR}, 
														 | 
														
														 | 
														
															         #{item.insertUpdateRemark,jdbcType=VARCHAR}, #{item.statementType,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{item.batchId,jdbcType=DECIMAL}, #{item.easAmount,jdbcType=DECIMAL}, #{item.totalWetTon,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															         #{item.batchId,jdbcType=DECIMAL}, #{item.easAmount,jdbcType=DECIMAL}, #{item.totalWetTon,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        #{item.statementStatus,jdbcType=DECIMAL} from dual 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        #{item.statementStatus,jdbcType=DECIMAL}, #{item.totalPreviewTon,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        #{item.totalPreviewFee,jdbcType=DECIMAL} from dual 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </foreach> ) 
														 | 
														
														 | 
														
															     </foreach> ) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </insert> 
														 | 
														
														 | 
														
															     </insert> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <update id="batchUpdate" parameterType="java.util.List"> 
														 | 
														
														 | 
														
															     <update id="batchUpdate" parameterType="java.util.List"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -457,6 +502,14 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <foreach close="end" collection="list" index="index" item="item" open="case STATEMENT_ID" separator=" "> 
														 | 
														
														 | 
														
															         <foreach close="end" collection="list" index="index" item="item" open="case STATEMENT_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             when #{item.statementId,jdbcType=DECIMAL} then #{item.statementStatus,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															             when #{item.statementId,jdbcType=DECIMAL} then #{item.statementStatus,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </foreach> 
														 | 
														
														 | 
														
															         </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,TOTAL_PREVIEW_TON= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case STATEMENT_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.statementId,jdbcType=DECIMAL} then #{item.totalPreviewTon,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,TOTAL_PREVIEW_FEE= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case STATEMENT_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.statementId,jdbcType=DECIMAL} then #{item.totalPreviewFee,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         where STATEMENT_ID in 
														 | 
														
														 | 
														
															         where STATEMENT_ID in 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <foreach close=")" collection="list" index="index" item="item" open="(" separator=","> 
														 | 
														
														 | 
														
															         <foreach close=")" collection="list" index="index" item="item" open="(" separator=","> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             #{item.statementId,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															             #{item.statementId,jdbcType=DECIMAL} 
														 |