| 
					
				 | 
			
			
				@@ -21,23 +21,26 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="WAGON_NUMBER" jdbcType="DECIMAL" property="wagonNumber" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="MAKE_TIME" jdbcType="TIMESTAMP" property="makeTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="PORT_ID" jdbcType="DECIMAL" property="portId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="PORT_NUM" jdbcType="DECIMAL" property="portNum" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="SHIP_NUM" jdbcType="DECIMAL" property="shipNum" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="columns"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     RESULT_ID, FEE, FEE_TYPE, PURCHASE_ORDER_ID, BATCH_ID, REAL_TONNAGE, UNIT_PRICE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     UNIT_PRICE_ID, RESULT_REMARKS, INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    INSERT_UPDATE_REMARK, DELETED, IMAGE, WAGON_NUMBER, MAKE_TIME, PORT_ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    INSERT_UPDATE_REMARK, DELETED, IMAGE, WAGON_NUMBER, MAKE_TIME, PORT_ID, PORT_NUM, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    SHIP_NUM 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="columns_alias"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     t.RESULT_ID, t.FEE, t.FEE_TYPE, t.PURCHASE_ORDER_ID, t.BATCH_ID, t.REAL_TONNAGE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     t.UNIT_PRICE, t.UNIT_PRICE_ID, t.RESULT_REMARKS, t.INSERT_USERNAME, t.INSERT_TIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     t.UPDATE_USERNAME, t.UPDATE_TIME, t.INSERT_UPDATE_REMARK, t.DELETED, t.IMAGE, t.WAGON_NUMBER, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    t.MAKE_TIME, t.PORT_ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    t.MAKE_TIME, t.PORT_ID, t.PORT_NUM, t.SHIP_NUM 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="select"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    SELECT <include refid="columns"/> FROM BMSSHIP_FEE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    SELECT <include refid="columns" /> FROM BMSSHIP_FEE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="select_alias"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    SELECT <include refid="columns_alias"/> FROM BMSSHIP_FEE t 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    SELECT <include refid="columns_alias" /> FROM BMSSHIP_FEE t 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="where"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <where> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -98,6 +101,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="portId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and PORT_ID = #{portId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="portNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and PORT_NUM = #{portNum} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="shipNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and SHIP_NUM = #{shipNum} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="whereLike"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -159,9 +168,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="portId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         and PORT_ID = #{portId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="portNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and PORT_NUM = #{portNum} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="shipNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and SHIP_NUM = #{shipNum} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     delete from BMSSHIP_FEE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where RESULT_ID = #{resultId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </delete> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -222,6 +237,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="portId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       or PORT_ID = #{portId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="portNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or PORT_NUM = #{portNum} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <if test="shipNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      or SHIP_NUM = #{shipNum} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insert" parameterType="com.steerinfo.dil.model.BmsshipFee"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     insert into BMSSHIP_FEE (RESULT_ID, FEE, FEE_TYPE, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -230,14 +251,16 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                              INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                              UPDATE_TIME, INSERT_UPDATE_REMARK, DELETED, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                              IMAGE, WAGON_NUMBER, MAKE_TIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                             PORT_ID) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                             PORT_ID, PORT_NUM, SHIP_NUM 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     values (#{resultId,jdbcType=DECIMAL}, #{fee,jdbcType=DECIMAL}, #{feeType,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             #{purchaseOrderId,jdbcType=DECIMAL}, #{batchId,jdbcType=DECIMAL}, #{realTonnage,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             #{unitPrice,jdbcType=DECIMAL}, #{unitPriceId,jdbcType=DECIMAL}, #{resultRemarks,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             #{insertUsername,jdbcType=VARCHAR}, #{insertTime,jdbcType=TIMESTAMP}, #{updateUsername,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             #{updateTime,jdbcType=TIMESTAMP}, #{insertUpdateRemark,jdbcType=VARCHAR}, #{deleted,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             #{image,jdbcType=VARCHAR}, #{wagonNumber,jdbcType=DECIMAL}, #{makeTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            #{portId,jdbcType=DECIMAL}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            #{portId,jdbcType=DECIMAL}, #{portNum,jdbcType=DECIMAL}, #{shipNum,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insertSelective" parameterType="com.steerinfo.dil.model.BmsshipFee"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     insert into BMSSHIP_FEE 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -299,6 +322,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="portId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         PORT_ID, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="portNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PORT_NUM, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="shipNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SHIP_NUM, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="resultId != null"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -358,6 +387,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="portId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{portId,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="portNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{portNum,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="shipNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{shipNum,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.BmsshipFee"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -379,7 +414,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         IMAGE = #{image,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         WAGON_NUMBER = #{wagonNumber,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         MAKE_TIME = #{makeTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        PORT_ID = #{portId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PORT_ID = #{portId,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PORT_NUM = #{portNum,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SHIP_NUM = #{shipNum,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where RESULT_ID = #{resultId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.BmsshipFee"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -439,20 +476,26 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="portId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         PORT_ID = #{portId,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="portNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PORT_NUM = #{portNum,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="shipNum != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SHIP_NUM = #{shipNum,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where RESULT_ID = #{resultId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <include refid="select"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <select id="selectByPrimaryKey" parameterType="java.lang.Short" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="select" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where RESULT_ID = #{resultId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <include refid="select"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <include refid="where"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="select" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="where" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <include refid="select"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <include refid="whereLike"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="select" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="whereLike" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="batchInsert" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     insert into BMSSHIP_FEE 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -463,7 +506,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     INSERT_TIME, UPDATE_USERNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     UPDATE_TIME, INSERT_UPDATE_REMARK, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     DELETED, IMAGE, WAGON_NUMBER, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    MAKE_TIME, PORT_ID) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    MAKE_TIME, PORT_ID, PORT_NUM, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    SHIP_NUM) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ( <foreach collection="list" item="item" separator="union all"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     #{item.resultId,jdbcType=DECIMAL}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -473,97 +517,106 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     #{item.insertTime,jdbcType=TIMESTAMP}, #{item.updateUsername,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     #{item.updateTime,jdbcType=TIMESTAMP}, #{item.insertUpdateRemark,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     #{item.deleted,jdbcType=DECIMAL}, #{item.image,jdbcType=VARCHAR}, #{item.wagonNumber,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    #{item.makeTime,jdbcType=TIMESTAMP}, #{item.portId,jdbcType=DECIMAL} from dual 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.makeTime,jdbcType=TIMESTAMP}, #{item.portId,jdbcType=DECIMAL}, #{item.portNum,jdbcType=DECIMAL}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.shipNum,jdbcType=DECIMAL} from dual 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </foreach> ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="batchUpdate" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update BMSSHIP_FEE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     set 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     RESULT_ID= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.resultId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,FEE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.fee,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,FEE_TYPE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.feeType,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,PURCHASE_ORDER_ID= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.purchaseOrderId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,BATCH_ID= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.batchId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,REAL_TONNAGE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.realTonnage,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,UNIT_PRICE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.unitPrice,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,UNIT_PRICE_ID= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.unitPriceId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,RESULT_REMARKS= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.resultRemarks,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,INSERT_USERNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.insertUsername,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,INSERT_TIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.insertTime,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,UPDATE_USERNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.updateUsername,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,UPDATE_TIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.updateTime,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,INSERT_UPDATE_REMARK= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.insertUpdateRemark,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,DELETED= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.deleted,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,IMAGE= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.image,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,WAGON_NUMBER= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.wagonNumber,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,MAKE_TIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.makeTime,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ,PORT_ID= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="item" index="index" separator=" " open="case RESULT_ID" close="end"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       when #{item.resultId,jdbcType=DECIMAL} then #{item.portId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,PORT_NUM= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.resultId,jdbcType=DECIMAL} then #{item.portNum,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ,SHIP_NUM= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close="end" collection="list" index="index" item="item" open="case RESULT_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      when #{item.resultId,jdbcType=DECIMAL} then #{item.shipNum,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where RESULT_ID in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" index="index" item="item" separator="," open="(" close=")"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close=")" collection="list" index="index" item="item" open="(" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{item.resultId,jdbcType=DECIMAL} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <delete id="batchDelete" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     delete from BMSSHIP_FEE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where RESULT_ID in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <foreach collection="list" item="id" open="(" close=")" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close=")" collection="list" item="id" open="(" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </delete> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -576,4 +629,5 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     WHERE  RP.PERSONNEL_SSO_ID =#{userId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </mapper> 
			 |