| 
														
															@@ -30,13 +30,22 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <result column="DRIVER_TEL" jdbcType="VARCHAR" property="driverTel" /> 
														 | 
														
														 | 
														
															         <result column="DRIVER_TEL" jdbcType="VARCHAR" property="driverTel" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <result column="OPTIONER_CODE" jdbcType="VARCHAR" property="optionerCode" /> 
														 | 
														
														 | 
														
															         <result column="OPTIONER_CODE" jdbcType="VARCHAR" property="optionerCode" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <result column="CAN_WORK" jdbcType="DECIMAL" property="canWork" /> 
														 | 
														
														 | 
														
															         <result column="CAN_WORK" jdbcType="DECIMAL" property="canWork" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="PRINTNUMBER" jdbcType="DECIMAL" property="printnumber" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="CAPACITYIDS" jdbcType="VARCHAR" property="capacityids" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="IS_ACCEPT" jdbcType="DECIMAL" property="isAccept" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="RECORD_USERNAME" jdbcType="VARCHAR" property="recordUsername" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="PRINTDATE" jdbcType="TIMESTAMP" property="printdate" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="REMARK" jdbcType="VARCHAR" property="remark" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="URL" jdbcType="VARCHAR" property="url" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <result column="ARRIVAL_FLAG" jdbcType="DECIMAL" property="arrivalFlag" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </resultMap> 
														 | 
														
														 | 
														
															     </resultMap> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <sql id="columns"> 
														 | 
														
														 | 
														
															     <sql id="columns"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         ORDER_ID, ORDER_PLAN_ID, ORDER_NUMBER, CAPACITY_ID, ORDER_ISSUE_TIME, ORDER_RECEIVE_STATUS, 
														 | 
														
														 | 
														
															         ORDER_ID, ORDER_PLAN_ID, ORDER_NUMBER, CAPACITY_ID, ORDER_ISSUE_TIME, ORDER_RECEIVE_STATUS, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     ORDER_RECEIVE_REFUSE_TIME, ORDER_COMMUNICATION_DURATION, ORDER_STATUS, INSERT_USERNAME, 
														 | 
														
														 | 
														
															     ORDER_RECEIVE_REFUSE_TIME, ORDER_COMMUNICATION_DURATION, ORDER_STATUS, INSERT_USERNAME, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, INSERT_UPDATE_REMARK, DELETED, ORDER_TYPE, 
														 | 
														
														 | 
														
															     INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, INSERT_UPDATE_REMARK, DELETED, ORDER_TYPE, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     ORDER_LINE_SEQUENCE, LINE_ID, ORDER_ENTRY_TIME, UNLOAD_POINT_ID, DRIVER_CONFIRMATION, 
														 | 
														
														 | 
														
															     ORDER_LINE_SEQUENCE, LINE_ID, ORDER_ENTRY_TIME, UNLOAD_POINT_ID, DRIVER_CONFIRMATION, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    PRICE_ID, CARRIER_ID, TRIP_ID, ORDER_PRINT_STATUS, DRIVER_TEL, OPTIONER_CODE, CAN_WORK 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    PRICE_ID, CARRIER_ID, TRIP_ID, ORDER_PRINT_STATUS, DRIVER_TEL, OPTIONER_CODE, CAN_WORK, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    PRINTNUMBER, CAPACITYIDS, IS_ACCEPT, RECORD_USERNAME, PRINTDATE, REMARK, URL, ARRIVAL_FLAG 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </sql> 
														 | 
														
														 | 
														
															     </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <sql id="columns_alias"> 
														 | 
														
														 | 
														
															     <sql id="columns_alias"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         t.ORDER_ID, t.ORDER_PLAN_ID, t.ORDER_NUMBER, t.CAPACITY_ID, t.ORDER_ISSUE_TIME, t.ORDER_RECEIVE_STATUS, 
														 | 
														
														 | 
														
															         t.ORDER_ID, t.ORDER_PLAN_ID, t.ORDER_NUMBER, t.CAPACITY_ID, t.ORDER_ISSUE_TIME, t.ORDER_RECEIVE_STATUS, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -44,7 +53,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     t.INSERT_TIME, t.UPDATE_USERNAME, t.UPDATE_TIME, t.INSERT_UPDATE_REMARK, t.DELETED, 
														 | 
														
														 | 
														
															     t.INSERT_TIME, t.UPDATE_USERNAME, t.UPDATE_TIME, t.INSERT_UPDATE_REMARK, t.DELETED, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     t.ORDER_TYPE, t.ORDER_LINE_SEQUENCE, t.LINE_ID, t.ORDER_ENTRY_TIME, t.UNLOAD_POINT_ID, 
														 | 
														
														 | 
														
															     t.ORDER_TYPE, t.ORDER_LINE_SEQUENCE, t.LINE_ID, t.ORDER_ENTRY_TIME, t.UNLOAD_POINT_ID, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     t.DRIVER_CONFIRMATION, t.PRICE_ID, t.CARRIER_ID, t.TRIP_ID, t.ORDER_PRINT_STATUS, 
														 | 
														
														 | 
														
															     t.DRIVER_CONFIRMATION, t.PRICE_ID, t.CARRIER_ID, t.TRIP_ID, t.ORDER_PRINT_STATUS, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    t.DRIVER_TEL, t.OPTIONER_CODE, t.CAN_WORK 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    t.DRIVER_TEL, t.OPTIONER_CODE, t.CAN_WORK, t.PRINTNUMBER, t.CAPACITYIDS, t.IS_ACCEPT, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    t.RECORD_USERNAME, t.PRINTDATE, t.REMARK, t.URL, t.ARRIVAL_FLAG 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </sql> 
														 | 
														
														 | 
														
															     </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <sql id="select"> 
														 | 
														
														 | 
														
															     <sql id="select"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         SELECT <include refid="columns" /> FROM OMSTRUCK_ORDER 
														 | 
														
														 | 
														
															         SELECT <include refid="columns" /> FROM OMSTRUCK_ORDER 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -138,6 +148,30 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="canWork != null"> 
														 | 
														
														 | 
														
															             <if test="canWork != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 and CAN_WORK = #{canWork} 
														 | 
														
														 | 
														
															                 and CAN_WORK = #{canWork} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printnumber != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and PRINTNUMBER = #{printnumber} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="capacityids != null and capacityids != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and CAPACITYIDS = #{capacityids} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="isAccept != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and IS_ACCEPT = #{isAccept} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="recordUsername != null and recordUsername != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and RECORD_USERNAME = #{recordUsername} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printdate != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and TO_CHAR(PRINTDATE,'yyyy-MM-dd') = #{printdate} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="remark != null and remark != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and REMARK = #{remark} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="url != null and url != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and URL = #{url} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="arrivalFlag != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and ARRIVAL_FLAG = #{arrivalFlag} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </where> 
														 | 
														
														 | 
														
															         </where> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </sql> 
														 | 
														
														 | 
														
															     </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <sql id="whereLike"> 
														 | 
														
														 | 
														
															     <sql id="whereLike"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -226,9 +260,33 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="canWork != null"> 
														 | 
														
														 | 
														
															             <if test="canWork != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 and CAN_WORK = #{canWork} 
														 | 
														
														 | 
														
															                 and CAN_WORK = #{canWork} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printnumber != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and PRINTNUMBER = #{printnumber} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="capacityids != null and capacityids != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and CAPACITYIDS LIKE '%${capacityids}%' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="isAccept != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and IS_ACCEPT = #{isAccept} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="recordUsername != null and recordUsername != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and RECORD_USERNAME LIKE '%${recordUsername}%' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printdate != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and TO_CHAR(PRINTDATE,'yyyy-MM-dd') = #{printdate} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="remark != null and remark != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and REMARK LIKE '%${remark}%' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="url != null and url != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and URL LIKE '%${url}%' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="arrivalFlag != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                and ARRIVAL_FLAG = #{arrivalFlag} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </where> 
														 | 
														
														 | 
														
															         </where> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </sql> 
														 | 
														
														 | 
														
															     </sql> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    <delete id="deleteByPrimaryKey" parameterType="DECIMAL"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <delete id="deleteByPrimaryKey" parameterType="decimal"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         delete from OMSTRUCK_ORDER 
														 | 
														
														 | 
														
															         delete from OMSTRUCK_ORDER 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         where ORDER_ID = #{orderId,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															         where ORDER_ID = #{orderId,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </delete> 
														 | 
														
														 | 
														
															     </delete> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -316,6 +374,30 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <if test="canWork != null"> 
														 | 
														
														 | 
														
															         <if test="canWork != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             or CAN_WORK = #{canWork} 
														 | 
														
														 | 
														
															             or CAN_WORK = #{canWork} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </if> 
														 | 
														
														 | 
														
															         </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="printnumber != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or PRINTNUMBER = #{printnumber} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="capacityids != null and capacityids != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or CAPACITYIDS = #{capacityids} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="isAccept != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or IS_ACCEPT = #{isAccept} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="recordUsername != null and recordUsername != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or RECORD_USERNAME = #{recordUsername} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="printdate != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or TO_CHAR(PRINTDATE,'yyyy-MM-dd') = '#{printdate}' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="remark != null and remark != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or REMARK = #{remark} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="url != null and url != ''"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or URL = #{url} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <if test="arrivalFlag != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            or ARRIVAL_FLAG = #{arrivalFlag} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </delete> 
														 | 
														
														 | 
														
															     </delete> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <insert id="insert" parameterType="com.steerinfo.dil.model.OmstruckOrder"> 
														 | 
														
														 | 
														
															     <insert id="insert" parameterType="com.steerinfo.dil.model.OmstruckOrder"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         insert into OMSTRUCK_ORDER (ORDER_ID, ORDER_PLAN_ID, ORDER_NUMBER, 
														 | 
														
														 | 
														
															         insert into OMSTRUCK_ORDER (ORDER_ID, ORDER_PLAN_ID, ORDER_NUMBER, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -327,7 +409,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     LINE_ID, ORDER_ENTRY_TIME, UNLOAD_POINT_ID, 
														 | 
														
														 | 
														
															                                     LINE_ID, ORDER_ENTRY_TIME, UNLOAD_POINT_ID, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     DRIVER_CONFIRMATION, PRICE_ID, CARRIER_ID, 
														 | 
														
														 | 
														
															                                     DRIVER_CONFIRMATION, PRICE_ID, CARRIER_ID, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                     TRIP_ID, ORDER_PRINT_STATUS, DRIVER_TEL, 
														 | 
														
														 | 
														
															                                     TRIP_ID, ORDER_PRINT_STATUS, DRIVER_TEL, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                    OPTIONER_CODE, CAN_WORK) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                                    OPTIONER_CODE, CAN_WORK, PRINTNUMBER, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                                    CAPACITYIDS, IS_ACCEPT, RECORD_USERNAME, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                                    PRINTDATE, REMARK, URL, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                                    ARRIVAL_FLAG) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         values (#{orderId,jdbcType=DECIMAL}, #{orderPlanId,jdbcType=DECIMAL}, #{orderNumber,jdbcType=VARCHAR}, 
														 | 
														
														 | 
														
															         values (#{orderId,jdbcType=DECIMAL}, #{orderPlanId,jdbcType=DECIMAL}, #{orderNumber,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{capacityId,jdbcType=DECIMAL}, #{orderIssueTime,jdbcType=TIMESTAMP}, #{orderReceiveStatus,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															                 #{capacityId,jdbcType=DECIMAL}, #{orderIssueTime,jdbcType=TIMESTAMP}, #{orderReceiveStatus,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{orderReceiveRefuseTime,jdbcType=TIMESTAMP}, #{orderCommunicationDuration,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															                 #{orderReceiveRefuseTime,jdbcType=TIMESTAMP}, #{orderCommunicationDuration,jdbcType=DECIMAL}, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -337,7 +422,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{lineId,jdbcType=DECIMAL}, #{orderEntryTime,jdbcType=TIMESTAMP}, #{unloadPointId,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															                 #{lineId,jdbcType=DECIMAL}, #{orderEntryTime,jdbcType=TIMESTAMP}, #{unloadPointId,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{driverConfirmation,jdbcType=DECIMAL}, #{priceId,jdbcType=DECIMAL}, #{carrierId,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															                 #{driverConfirmation,jdbcType=DECIMAL}, #{priceId,jdbcType=DECIMAL}, #{carrierId,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{tripId,jdbcType=VARCHAR}, #{orderPrintStatus,jdbcType=DECIMAL}, #{driverTel,jdbcType=VARCHAR}, 
														 | 
														
														 | 
														
															                 #{tripId,jdbcType=VARCHAR}, #{orderPrintStatus,jdbcType=DECIMAL}, #{driverTel,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                #{optionerCode,jdbcType=VARCHAR}, #{canWork,jdbcType=DECIMAL}) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{optionerCode,jdbcType=VARCHAR}, #{canWork,jdbcType=DECIMAL}, #{printnumber,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{capacityids,jdbcType=VARCHAR}, #{isAccept,jdbcType=DECIMAL}, #{recordUsername,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{printdate,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{arrivalFlag,jdbcType=DECIMAL}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </insert> 
														 | 
														
														 | 
														
															     </insert> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <insert id="insertSelective" parameterType="com.steerinfo.dil.model.OmstruckOrder"> 
														 | 
														
														 | 
														
															     <insert id="insertSelective" parameterType="com.steerinfo.dil.model.OmstruckOrder"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         insert into OMSTRUCK_ORDER 
														 | 
														
														 | 
														
															         insert into OMSTRUCK_ORDER 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -426,6 +514,30 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="canWork != null"> 
														 | 
														
														 | 
														
															             <if test="canWork != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 CAN_WORK, 
														 | 
														
														 | 
														
															                 CAN_WORK, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printnumber != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                PRINTNUMBER, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="capacityids != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                CAPACITYIDS, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="isAccept != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                IS_ACCEPT, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="recordUsername != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                RECORD_USERNAME, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printdate != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                PRINTDATE, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="remark != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                REMARK, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="url != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                URL, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="arrivalFlag != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                ARRIVAL_FLAG, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </trim> 
														 | 
														
														 | 
														
															         </trim> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <trim prefix="values (" suffix=")" suffixOverrides=","> 
														 | 
														
														 | 
														
															         <trim prefix="values (" suffix=")" suffixOverrides=","> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="orderId != null"> 
														 | 
														
														 | 
														
															             <if test="orderId != null"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -512,6 +624,30 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="canWork != null"> 
														 | 
														
														 | 
														
															             <if test="canWork != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 #{canWork,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															                 #{canWork,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printnumber != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{printnumber,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="capacityids != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{capacityids,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="isAccept != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{isAccept,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="recordUsername != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{recordUsername,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printdate != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{printdate,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="remark != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{remark,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="url != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{url,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="arrivalFlag != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                #{arrivalFlag,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </trim> 
														 | 
														
														 | 
														
															         </trim> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </insert> 
														 | 
														
														 | 
														
															     </insert> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.OmstruckOrder"> 
														 | 
														
														 | 
														
															     <update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.OmstruckOrder"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -542,7 +678,15 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             ORDER_PRINT_STATUS = #{orderPrintStatus,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															             ORDER_PRINT_STATUS = #{orderPrintStatus,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             DRIVER_TEL = #{driverTel,jdbcType=VARCHAR}, 
														 | 
														
														 | 
														
															             DRIVER_TEL = #{driverTel,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             OPTIONER_CODE = #{optionerCode,jdbcType=VARCHAR}, 
														 | 
														
														 | 
														
															             OPTIONER_CODE = #{optionerCode,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            CAN_WORK = #{canWork,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            CAN_WORK = #{canWork,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            PRINTNUMBER = #{printnumber,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            CAPACITYIDS = #{capacityids,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            IS_ACCEPT = #{isAccept,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            RECORD_USERNAME = #{recordUsername,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            PRINTDATE = #{printdate,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            REMARK = #{remark,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            URL = #{url,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            ARRIVAL_FLAG = #{arrivalFlag,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         where ORDER_ID = #{orderId,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															         where ORDER_ID = #{orderId,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </update> 
														 | 
														
														 | 
														
															     </update> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.OmstruckOrder"> 
														 | 
														
														 | 
														
															     <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.OmstruckOrder"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -629,10 +773,34 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <if test="canWork != null"> 
														 | 
														
														 | 
														
															             <if test="canWork != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 CAN_WORK = #{canWork,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															                 CAN_WORK = #{canWork,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             </if> 
														 | 
														
														 | 
														
															             </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printnumber != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                PRINTNUMBER = #{printnumber,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="capacityids != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                CAPACITYIDS = #{capacityids,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="isAccept != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                IS_ACCEPT = #{isAccept,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="recordUsername != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                RECORD_USERNAME = #{recordUsername,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="printdate != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                PRINTDATE = #{printdate,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="remark != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                REMARK = #{remark,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="url != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                URL = #{url,jdbcType=VARCHAR}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            <if test="arrivalFlag != null"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                ARRIVAL_FLAG = #{arrivalFlag,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            </if> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </set> 
														 | 
														
														 | 
														
															         </set> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         where ORDER_ID = #{orderId,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															         where ORDER_ID = #{orderId,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </update> 
														 | 
														
														 | 
														
															     </update> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    <select id="selectByPrimaryKey" parameterType="DECIMAL" resultMap="BaseResultMap"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <select id="selectByPrimaryKey" parameterType="decimal" resultMap="BaseResultMap"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <include refid="select" /> 
														 | 
														
														 | 
														
															         <include refid="select" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         where ORDER_ID = #{orderId,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															         where ORDER_ID = #{orderId,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </select> 
														 | 
														
														 | 
														
															     </select> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -657,7 +825,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         LINE_ID, ORDER_ENTRY_TIME, UNLOAD_POINT_ID, 
														 | 
														
														 | 
														
															         LINE_ID, ORDER_ENTRY_TIME, UNLOAD_POINT_ID, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         DRIVER_CONFIRMATION, PRICE_ID, 
														 | 
														
														 | 
														
															         DRIVER_CONFIRMATION, PRICE_ID, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         CARRIER_ID, TRIP_ID, ORDER_PRINT_STATUS, 
														 | 
														
														 | 
														
															         CARRIER_ID, TRIP_ID, ORDER_PRINT_STATUS, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        DRIVER_TEL, OPTIONER_CODE, CAN_WORK 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        DRIVER_TEL, OPTIONER_CODE, CAN_WORK, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        PRINTNUMBER, CAPACITYIDS, IS_ACCEPT, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        RECORD_USERNAME, PRINTDATE, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        REMARK, URL, ARRIVAL_FLAG 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         ) 
														 | 
														
														 | 
														
															         ) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         ( <foreach collection="list" item="item" separator="union all"> 
														 | 
														
														 | 
														
															         ( <foreach collection="list" item="item" separator="union all"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         select 
														 | 
														
														 | 
														
															         select 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -672,7 +843,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{item.lineId,jdbcType=DECIMAL}, #{item.orderEntryTime,jdbcType=TIMESTAMP}, #{item.unloadPointId,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															         #{item.lineId,jdbcType=DECIMAL}, #{item.orderEntryTime,jdbcType=TIMESTAMP}, #{item.unloadPointId,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{item.driverConfirmation,jdbcType=DECIMAL}, #{item.priceId,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															         #{item.driverConfirmation,jdbcType=DECIMAL}, #{item.priceId,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         #{item.carrierId,jdbcType=DECIMAL}, #{item.tripId,jdbcType=VARCHAR}, #{item.orderPrintStatus,jdbcType=DECIMAL}, 
														 | 
														
														 | 
														
															         #{item.carrierId,jdbcType=DECIMAL}, #{item.tripId,jdbcType=VARCHAR}, #{item.orderPrintStatus,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        #{item.driverTel,jdbcType=VARCHAR}, #{item.optionerCode,jdbcType=VARCHAR}, #{item.canWork,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        #{item.driverTel,jdbcType=VARCHAR}, #{item.optionerCode,jdbcType=VARCHAR}, #{item.canWork,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        #{item.printnumber,jdbcType=DECIMAL}, #{item.capacityids,jdbcType=VARCHAR}, #{item.isAccept,jdbcType=DECIMAL}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        #{item.recordUsername,jdbcType=VARCHAR}, #{item.printdate,jdbcType=TIMESTAMP}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        #{item.remark,jdbcType=VARCHAR}, #{item.url,jdbcType=VARCHAR}, #{item.arrivalFlag,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         from dual 
														 | 
														
														 | 
														
															         from dual 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </foreach> ) 
														 | 
														
														 | 
														
															     </foreach> ) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </insert> 
														 | 
														
														 | 
														
															     </insert> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -791,12 +965,43 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
														
														 | 
														
															         <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             when #{item.orderId,jdbcType=DECIMAL} then #{item.canWork,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															             when #{item.orderId,jdbcType=DECIMAL} then #{item.canWork,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </foreach> 
														 | 
														
														 | 
														
															         </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,PRINTNUMBER= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.orderId,jdbcType=DECIMAL} then #{item.printnumber,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,CAPACITYIDS= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.orderId,jdbcType=DECIMAL} then #{item.capacityids,jdbcType=VARCHAR} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,IS_ACCEPT= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.orderId,jdbcType=DECIMAL} then #{item.isAccept,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,RECORD_USERNAME= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.orderId,jdbcType=DECIMAL} then #{item.recordUsername,jdbcType=VARCHAR} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,PRINTDATE= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.orderId,jdbcType=DECIMAL} then #{item.printdate,jdbcType=TIMESTAMP} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,REMARK= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.orderId,jdbcType=DECIMAL} then #{item.remark,jdbcType=VARCHAR} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,URL= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.orderId,jdbcType=DECIMAL} then #{item.url,jdbcType=VARCHAR} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        ,ARRIVAL_FLAG= 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <foreach close="end" collection="list" index="index" item="item" open="case ORDER_ID" separator=" "> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            when #{item.orderId,jdbcType=DECIMAL} then #{item.arrivalFlag,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         where ORDER_ID in 
														 | 
														
														 | 
														
															         where ORDER_ID in 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <foreach close=")" collection="list" index="index" item="item" open="(" separator=","> 
														 | 
														
														 | 
														
															         <foreach close=")" collection="list" index="index" item="item" open="(" separator=","> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             #{item.orderId,jdbcType=DECIMAL} 
														 | 
														
														 | 
														
															             #{item.orderId,jdbcType=DECIMAL} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </foreach> 
														 | 
														
														 | 
														
															         </foreach> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </update> 
														 | 
														
														 | 
														
															     </update> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <delete id="batchDelete" parameterType="java.util.List"> 
														 | 
														
														 | 
														
															     <delete id="batchDelete" parameterType="java.util.List"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         delete from OMSTRUCK_ORDER 
														 | 
														
														 | 
														
															         delete from OMSTRUCK_ORDER 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         where ORDER_ID in 
														 | 
														
														 | 
														
															         where ORDER_ID in 
														 |