| 
					
				 | 
			
			
				@@ -0,0 +1,552 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<?xml version="1.0" encoding="UTF-8"?> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<mapper namespace="com.steerinfo.dil.mapper.AmsNotUploadedEasMapper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <resultMap id="BaseResultMap" type="com.steerinfo.dil.model.AmsNotUploadedEas"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <id column="ORDER_ID" jdbcType="VARCHAR" property="orderId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="NO" jdbcType="VARCHAR" property="no" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="RESULT_POUND_NO" jdbcType="VARCHAR" property="resultPoundNo" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="CAPACITY_NUMBER" jdbcType="VARCHAR" property="capacityNumber" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="RESULT_CROSS_CALCULATE_NUMBER" jdbcType="VARCHAR" property="resultCrossCalculateNumber" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="RESULT_TARE_CALCULATE_NUMBER" jdbcType="VARCHAR" property="resultTareCalculateNumber" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="RESULT_CROSS_WEIGHT" jdbcType="VARCHAR" property="resultCrossWeight" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="RESULT_TARE_WEIGHT" jdbcType="VARCHAR" property="resultTareWeight" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="RESULT_NET_WEIGHT" jdbcType="VARCHAR" property="resultNetWeight" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="RESULT_CROSS_WEIGHT_TIME" jdbcType="VARCHAR" property="resultCrossWeightTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="RESULT_TARE_WEIGHT_TIME" jdbcType="VARCHAR" property="resultTareWeightTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="EAS_ENTRY_ID" jdbcType="VARCHAR" property="easEntryId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="INSERT_USERNAME" jdbcType="VARCHAR" property="insertUsername" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="INSERT_TIME" jdbcType="TIMESTAMP" property="insertTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="UPDATE_USERNAME" jdbcType="VARCHAR" property="updateUsername" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="INSERT_UPDATE_REMARK" jdbcType="VARCHAR" property="insertUpdateRemark" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <sql id="columns"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ORDER_ID, NO, RESULT_POUND_NO, CAPACITY_NUMBER, RESULT_CROSS_CALCULATE_NUMBER, RESULT_TARE_CALCULATE_NUMBER,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    RESULT_CROSS_WEIGHT, RESULT_TARE_WEIGHT, RESULT_NET_WEIGHT, RESULT_CROSS_WEIGHT_TIME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    RESULT_TARE_WEIGHT_TIME, EAS_ENTRY_ID, INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    UPDATE_TIME, INSERT_UPDATE_REMARK 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <sql id="columns_alias"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    t.ORDER_ID, t.NO, t.RESULT_POUND_NO, t.CAPACITY_NUMBER, t.RESULT_CROSS_CALCULATE_NUMBER,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    t.RESULT_TARE_CALCULATE_NUMBER, t.RESULT_CROSS_WEIGHT, t.RESULT_TARE_WEIGHT, t.RESULT_NET_WEIGHT,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    t.RESULT_CROSS_WEIGHT_TIME, t.RESULT_TARE_WEIGHT_TIME, t.EAS_ENTRY_ID, t.INSERT_USERNAME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    t.INSERT_TIME, t.UPDATE_USERNAME, t.UPDATE_TIME, t.INSERT_UPDATE_REMARK 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <sql id="select"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    SELECT <include refid="columns" /> FROM AMS_NOT_UPLOADED_EAS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <sql id="select_alias"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    SELECT <include refid="columns_alias" /> FROM AMS_NOT_UPLOADED_EAS t 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <sql id="where"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <where>  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="orderId != null and orderId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and ORDER_ID = #{orderId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="no != null and no != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and NO = #{no} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultPoundNo != null and resultPoundNo != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_POUND_NO = #{resultPoundNo} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="capacityNumber != null and capacityNumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and CAPACITY_NUMBER = #{capacityNumber} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossCalculateNumber != null and resultCrossCalculateNumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_CROSS_CALCULATE_NUMBER = #{resultCrossCalculateNumber} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareCalculateNumber != null and resultTareCalculateNumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_TARE_CALCULATE_NUMBER = #{resultTareCalculateNumber} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeight != null and resultCrossWeight != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_CROSS_WEIGHT = #{resultCrossWeight} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeight != null and resultTareWeight != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_TARE_WEIGHT = #{resultTareWeight} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultNetWeight != null and resultNetWeight != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_NET_WEIGHT = #{resultNetWeight} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeightTime != null and resultCrossWeightTime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_CROSS_WEIGHT_TIME = #{resultCrossWeightTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeightTime != null and resultTareWeightTime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_TARE_WEIGHT_TIME = #{resultTareWeightTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="easEntryId != null and easEntryId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and EAS_ENTRY_ID = #{easEntryId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUsername != null and insertUsername != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and INSERT_USERNAME = #{insertUsername} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = #{insertTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateUsername != null and updateUsername != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and UPDATE_USERNAME = #{updateUsername} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUpdateRemark != null and insertUpdateRemark != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and INSERT_UPDATE_REMARK = #{insertUpdateRemark} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <sql id="whereLike"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <where>  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="orderId != null and orderId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and ORDER_ID LIKE '%${orderId}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="no != null and no != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and NO LIKE '%${no}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultPoundNo != null and resultPoundNo != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_POUND_NO LIKE '%${resultPoundNo}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="capacityNumber != null and capacityNumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and CAPACITY_NUMBER LIKE '%${capacityNumber}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossCalculateNumber != null and resultCrossCalculateNumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_CROSS_CALCULATE_NUMBER LIKE '%${resultCrossCalculateNumber}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareCalculateNumber != null and resultTareCalculateNumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_TARE_CALCULATE_NUMBER LIKE '%${resultTareCalculateNumber}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeight != null and resultCrossWeight != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_CROSS_WEIGHT LIKE '%${resultCrossWeight}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeight != null and resultTareWeight != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_TARE_WEIGHT LIKE '%${resultTareWeight}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultNetWeight != null and resultNetWeight != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_NET_WEIGHT LIKE '%${resultNetWeight}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeightTime != null and resultCrossWeightTime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_CROSS_WEIGHT_TIME LIKE '%${resultCrossWeightTime}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeightTime != null and resultTareWeightTime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and RESULT_TARE_WEIGHT_TIME LIKE '%${resultTareWeightTime}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="easEntryId != null and easEntryId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and EAS_ENTRY_ID LIKE '%${easEntryId}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUsername != null and insertUsername != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and INSERT_USERNAME LIKE '%${insertUsername}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = #{insertTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateUsername != null and updateUsername != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and UPDATE_USERNAME LIKE '%${updateUsername}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUpdateRemark != null and insertUpdateRemark != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        and INSERT_UPDATE_REMARK LIKE '%${insertUpdateRemark}%' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    delete from AMS_NOT_UPLOADED_EAS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where ORDER_ID = #{orderId,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    delete from AMS_NOT_UPLOADED_EAS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where 1!=1  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="no != null and no != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or NO = #{no} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultPoundNo != null and resultPoundNo != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or RESULT_POUND_NO = #{resultPoundNo} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="capacityNumber != null and capacityNumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or CAPACITY_NUMBER = #{capacityNumber} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossCalculateNumber != null and resultCrossCalculateNumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or RESULT_CROSS_CALCULATE_NUMBER = #{resultCrossCalculateNumber} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareCalculateNumber != null and resultTareCalculateNumber != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or RESULT_TARE_CALCULATE_NUMBER = #{resultTareCalculateNumber} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeight != null and resultCrossWeight != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or RESULT_CROSS_WEIGHT = #{resultCrossWeight} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeight != null and resultTareWeight != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or RESULT_TARE_WEIGHT = #{resultTareWeight} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultNetWeight != null and resultNetWeight != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or RESULT_NET_WEIGHT = #{resultNetWeight} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeightTime != null and resultCrossWeightTime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or RESULT_CROSS_WEIGHT_TIME = #{resultCrossWeightTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeightTime != null and resultTareWeightTime != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or RESULT_TARE_WEIGHT_TIME = #{resultTareWeightTime} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="easEntryId != null and easEntryId != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or EAS_ENTRY_ID = #{easEntryId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUsername != null and insertUsername != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or INSERT_USERNAME = #{insertUsername} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = '#{insertTime}' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateUsername != null and updateUsername != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or UPDATE_USERNAME = #{updateUsername} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = '#{updateTime}' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUpdateRemark != null and insertUpdateRemark != ''"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        or INSERT_UPDATE_REMARK = #{insertUpdateRemark} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <insert id="insert" parameterType="com.steerinfo.dil.model.AmsNotUploadedEas"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    insert into AMS_NOT_UPLOADED_EAS (ORDER_ID, NO, RESULT_POUND_NO,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      CAPACITY_NUMBER, RESULT_CROSS_CALCULATE_NUMBER,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_TARE_CALCULATE_NUMBER, RESULT_CROSS_WEIGHT,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_TARE_WEIGHT, RESULT_NET_WEIGHT, RESULT_CROSS_WEIGHT_TIME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_TARE_WEIGHT_TIME, EAS_ENTRY_ID, INSERT_USERNAME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      INSERT_UPDATE_REMARK) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    values (#{orderId,jdbcType=VARCHAR}, #{no,jdbcType=VARCHAR}, #{resultPoundNo,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{capacityNumber,jdbcType=VARCHAR}, #{resultCrossCalculateNumber,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{resultTareCalculateNumber,jdbcType=VARCHAR}, #{resultCrossWeight,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{resultTareWeight,jdbcType=VARCHAR}, #{resultNetWeight,jdbcType=VARCHAR}, #{resultCrossWeightTime,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{resultTareWeightTime,jdbcType=VARCHAR}, #{easEntryId,jdbcType=VARCHAR}, #{insertUsername,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{insertTime,jdbcType=TIMESTAMP}, #{updateUsername,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{insertUpdateRemark,jdbcType=VARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <insert id="insertSelective" parameterType="com.steerinfo.dil.model.AmsNotUploadedEas"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    insert into AMS_NOT_UPLOADED_EAS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <trim prefix="(" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="orderId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ORDER_ID, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="no != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        NO, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultPoundNo != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_POUND_NO, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="capacityNumber != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        CAPACITY_NUMBER, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossCalculateNumber != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_CROSS_CALCULATE_NUMBER, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareCalculateNumber != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_TARE_CALCULATE_NUMBER, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeight != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_CROSS_WEIGHT, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeight != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_TARE_WEIGHT, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultNetWeight != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_NET_WEIGHT, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeightTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_CROSS_WEIGHT_TIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeightTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_TARE_WEIGHT_TIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="easEntryId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        EAS_ENTRY_ID, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUsername != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        INSERT_USERNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        INSERT_TIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateUsername != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        UPDATE_USERNAME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        UPDATE_TIME, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUpdateRemark != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        INSERT_UPDATE_REMARK, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="orderId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{orderId,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="no != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{no,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultPoundNo != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{resultPoundNo,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="capacityNumber != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{capacityNumber,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossCalculateNumber != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{resultCrossCalculateNumber,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareCalculateNumber != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{resultTareCalculateNumber,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeight != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{resultCrossWeight,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeight != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{resultTareWeight,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultNetWeight != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{resultNetWeight,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeightTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{resultCrossWeightTime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeightTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{resultTareWeightTime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="easEntryId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{easEntryId,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUsername != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{insertUsername,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{insertTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateUsername != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{updateUsername,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{updateTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUpdateRemark != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{insertUpdateRemark,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.AmsNotUploadedEas"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    update AMS_NOT_UPLOADED_EAS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    set NO = #{no,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_POUND_NO = #{resultPoundNo,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      CAPACITY_NUMBER = #{capacityNumber,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_CROSS_CALCULATE_NUMBER = #{resultCrossCalculateNumber,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_TARE_CALCULATE_NUMBER = #{resultTareCalculateNumber,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_CROSS_WEIGHT = #{resultCrossWeight,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_TARE_WEIGHT = #{resultTareWeight,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_NET_WEIGHT = #{resultNetWeight,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_CROSS_WEIGHT_TIME = #{resultCrossWeightTime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_TARE_WEIGHT_TIME = #{resultTareWeightTime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      EAS_ENTRY_ID = #{easEntryId,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      INSERT_USERNAME = #{insertUsername,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      INSERT_TIME = #{insertTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      UPDATE_USERNAME = #{updateUsername,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      INSERT_UPDATE_REMARK = #{insertUpdateRemark,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where ORDER_ID = #{orderId,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.AmsNotUploadedEas"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    update AMS_NOT_UPLOADED_EAS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="no != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        NO = #{no,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultPoundNo != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_POUND_NO = #{resultPoundNo,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="capacityNumber != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        CAPACITY_NUMBER = #{capacityNumber,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossCalculateNumber != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_CROSS_CALCULATE_NUMBER = #{resultCrossCalculateNumber,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareCalculateNumber != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_TARE_CALCULATE_NUMBER = #{resultTareCalculateNumber,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeight != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_CROSS_WEIGHT = #{resultCrossWeight,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeight != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_TARE_WEIGHT = #{resultTareWeight,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultNetWeight != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_NET_WEIGHT = #{resultNetWeight,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultCrossWeightTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_CROSS_WEIGHT_TIME = #{resultCrossWeightTime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="resultTareWeightTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        RESULT_TARE_WEIGHT_TIME = #{resultTareWeightTime,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="easEntryId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        EAS_ENTRY_ID = #{easEntryId,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUsername != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        INSERT_USERNAME = #{insertUsername,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        INSERT_TIME = #{insertTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateUsername != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        UPDATE_USERNAME = #{updateUsername,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="updateTime != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="insertUpdateRemark != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        INSERT_UPDATE_REMARK = #{insertUpdateRemark,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where ORDER_ID = #{orderId,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="select" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where ORDER_ID = #{orderId,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="select" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="where" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="select" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <include refid="whereLike" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <insert id="batchInsert" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    insert into AMS_NOT_UPLOADED_EAS  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      (ORDER_ID,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      NO, RESULT_POUND_NO, CAPACITY_NUMBER,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_CROSS_CALCULATE_NUMBER, RESULT_TARE_CALCULATE_NUMBER,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_CROSS_WEIGHT, RESULT_TARE_WEIGHT,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_NET_WEIGHT, RESULT_CROSS_WEIGHT_TIME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      RESULT_TARE_WEIGHT_TIME, EAS_ENTRY_ID,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      INSERT_USERNAME, INSERT_TIME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      UPDATE_USERNAME, UPDATE_TIME,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      INSERT_UPDATE_REMARK) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ( <foreach collection="list" item="item" separator="union all">  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   select   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.orderId,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.no,jdbcType=VARCHAR}, #{item.resultPoundNo,jdbcType=VARCHAR}, #{item.capacityNumber,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.resultCrossCalculateNumber,jdbcType=VARCHAR}, #{item.resultTareCalculateNumber,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.resultCrossWeight,jdbcType=VARCHAR}, #{item.resultTareWeight,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.resultNetWeight,jdbcType=VARCHAR}, #{item.resultCrossWeightTime,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.resultTareWeightTime,jdbcType=VARCHAR}, #{item.easEntryId,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.insertUsername,jdbcType=VARCHAR}, #{item.insertTime,jdbcType=TIMESTAMP},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.updateUsername,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{item.insertUpdateRemark,jdbcType=VARCHAR} from dual   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   </foreach> ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <update id="batchUpdate" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     update AMS_NOT_UPLOADED_EAS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     set 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ORDER_ID= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.orderId,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,NO= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.no,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,RESULT_POUND_NO= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.resultPoundNo,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,CAPACITY_NUMBER= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.capacityNumber,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,RESULT_CROSS_CALCULATE_NUMBER= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.resultCrossCalculateNumber,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,RESULT_TARE_CALCULATE_NUMBER= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.resultTareCalculateNumber,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,RESULT_CROSS_WEIGHT= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.resultCrossWeight,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,RESULT_TARE_WEIGHT= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.resultTareWeight,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,RESULT_NET_WEIGHT= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.resultNetWeight,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,RESULT_CROSS_WEIGHT_TIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.resultCrossWeightTime,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,RESULT_TARE_WEIGHT_TIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.resultTareWeightTime,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,EAS_ENTRY_ID= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.easEntryId,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,INSERT_USERNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.insertUsername,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,INSERT_TIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.insertTime,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,UPDATE_USERNAME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.updateUsername,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,UPDATE_TIME= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       ,INSERT_UPDATE_REMARK= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          when #{item.orderId,jdbcType=VARCHAR} then #{item.insertUpdateRemark,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     where ORDER_ID in  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     <foreach close=")" collection="list" index="index" item="item" open="(" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    #{item.orderId,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     </foreach>  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <delete id="batchDelete" parameterType="java.util.List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    delete from AMS_NOT_UPLOADED_EAS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    where ORDER_ID in  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <foreach close=")" collection="list" item="id" open="(" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{id} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- 友情提示!!!--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<!--  --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <select id="getAllNotUploadedEasMes" resultType="java.util.Map"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.ORDER_ID "orderId", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.NO "no", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.RESULT_POUND_NO    "resultPoundNo", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.CAPACITY_NUMBER    "capacityNumber", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.RESULT_CROSS_CALCULATE_NUMBER  "resultCrossCalculateNumber", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.RESULT_TARE_CALCULATE_NUMBER "resultTareCalculateNumber", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.RESULT_CROSS_WEIGHT "resultCrossWeight", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.RESULT_TARE_WEIGHT "resultTareWeight", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.RESULT_NET_WEIGHT "resultNetWeight", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.RESULT_CROSS_WEIGHT_TIME "resultCrossWeightTime", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.RESULT_TARE_WEIGHT_TIME "resultTareWeightTime", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           t.EAS_ENTRY_ID "easEntryId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    from AMS_NOT_UPLOADED_EAS t 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <select id="getIsExistsOrderId" parameterType="string" resultType="string"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        select a.ORDER_ID from AMS_NOT_UPLOADED_EAS a where a.ORDER_ID = #{orderId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</mapper> 
			 |