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,
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,
PRICE_ID, CARRIER_ID, TRIP_ID, ORDER_PRINT_STATUS, DRIVER_TEL, OPTIONER_CODE, CAN_WORK,
PRINTNUMBER, CAPACITYIDS, IS_ACCEPT
t.ORDER_ID, t.ORDER_PLAN_ID, t.ORDER_NUMBER, t.CAPACITY_ID, t.ORDER_ISSUE_TIME, t.ORDER_RECEIVE_STATUS,
t.ORDER_RECEIVE_REFUSE_TIME, t.ORDER_COMMUNICATION_DURATION, t.ORDER_STATUS, t.INSERT_USERNAME,
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.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.PRINTNUMBER, t.CAPACITYIDS, t.IS_ACCEPT
SELECT FROM OMSTRUCK_ORDER
SELECT FROM OMSTRUCK_ORDER t
and ORDER_ID = #{orderId}
and ORDER_PLAN_ID = #{orderPlanId}
and ORDER_NUMBER = #{orderNumber}
and CAPACITY_ID = #{capacityId}
and TO_CHAR(ORDER_ISSUE_TIME,'yyyy-MM-dd') = #{orderIssueTime}
and ORDER_RECEIVE_STATUS = #{orderReceiveStatus}
and TO_CHAR(ORDER_RECEIVE_REFUSE_TIME,'yyyy-MM-dd') = #{orderReceiveRefuseTime}
and ORDER_COMMUNICATION_DURATION = #{orderCommunicationDuration}
and ORDER_STATUS = #{orderStatus}
and INSERT_USERNAME = #{insertUsername}
and TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = #{insertTime}
and UPDATE_USERNAME = #{updateUsername}
and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
and INSERT_UPDATE_REMARK = #{insertUpdateRemark}
and DELETED = #{deleted}
and ORDER_TYPE = #{orderType}
and ORDER_LINE_SEQUENCE = #{orderLineSequence}
and LINE_ID = #{lineId}
and TO_CHAR(ORDER_ENTRY_TIME,'yyyy-MM-dd') = #{orderEntryTime}
and UNLOAD_POINT_ID = #{unloadPointId}
and DRIVER_CONFIRMATION = #{driverConfirmation}
and PRICE_ID = #{priceId}
and CARRIER_ID = #{carrierId}
and TRIP_ID = #{tripId}
and ORDER_PRINT_STATUS = #{orderPrintStatus}
and DRIVER_TEL = #{driverTel}
and OPTIONER_CODE = #{optionerCode}
and CAN_WORK = #{canWork}
and PRINTNUMBER = #{printnumber}
and CAPACITYIDS = #{capacityids}
and IS_ACCEPT = #{isAccept}
and ORDER_ID = #{orderId}
and ORDER_PLAN_ID = #{orderPlanId}
and ORDER_NUMBER LIKE '%${orderNumber}%'
and CAPACITY_ID = #{capacityId}
and TO_CHAR(ORDER_ISSUE_TIME,'yyyy-MM-dd') = #{orderIssueTime}
and ORDER_RECEIVE_STATUS = #{orderReceiveStatus}
and TO_CHAR(ORDER_RECEIVE_REFUSE_TIME,'yyyy-MM-dd') = #{orderReceiveRefuseTime}
and ORDER_COMMUNICATION_DURATION = #{orderCommunicationDuration}
and ORDER_STATUS = #{orderStatus}
and INSERT_USERNAME LIKE '%${insertUsername}%'
and TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = #{insertTime}
and UPDATE_USERNAME LIKE '%${updateUsername}%'
and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
and INSERT_UPDATE_REMARK LIKE '%${insertUpdateRemark}%'
and DELETED = #{deleted}
and ORDER_TYPE = #{orderType}
and ORDER_LINE_SEQUENCE = #{orderLineSequence}
and LINE_ID = #{lineId}
and TO_CHAR(ORDER_ENTRY_TIME,'yyyy-MM-dd') = #{orderEntryTime}
and UNLOAD_POINT_ID = #{unloadPointId}
and DRIVER_CONFIRMATION = #{driverConfirmation}
and PRICE_ID = #{priceId}
and CARRIER_ID = #{carrierId}
and TRIP_ID LIKE '%${tripId}%'
and ORDER_PRINT_STATUS = #{orderPrintStatus}
and DRIVER_TEL LIKE '%${driverTel}%'
and OPTIONER_CODE LIKE '%${optionerCode}%'
and CAN_WORK = #{canWork}
and PRINTNUMBER = #{printnumber}
and CAPACITYIDS LIKE '%${capacityids}%'
and IS_ACCEPT = #{isAccept}
delete from OMSTRUCK_ORDER
where ORDER_ID = #{orderId,jdbcType=DECIMAL}
delete from OMSTRUCK_ORDER
where 1!=1
or ORDER_PLAN_ID = #{orderPlanId}
or ORDER_NUMBER = #{orderNumber}
or CAPACITY_ID = #{capacityId}
or TO_CHAR(ORDER_ISSUE_TIME,'yyyy-MM-dd') = '#{orderIssueTime}'
or ORDER_RECEIVE_STATUS = #{orderReceiveStatus}
or TO_CHAR(ORDER_RECEIVE_REFUSE_TIME,'yyyy-MM-dd') = '#{orderReceiveRefuseTime}'
or ORDER_COMMUNICATION_DURATION = #{orderCommunicationDuration}
or ORDER_STATUS = #{orderStatus}
or INSERT_USERNAME = #{insertUsername}
or TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = '#{insertTime}'
or UPDATE_USERNAME = #{updateUsername}
or TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = '#{updateTime}'
or INSERT_UPDATE_REMARK = #{insertUpdateRemark}
or DELETED = #{deleted}
or ORDER_TYPE = #{orderType}
or ORDER_LINE_SEQUENCE = #{orderLineSequence}
or LINE_ID = #{lineId}
or TO_CHAR(ORDER_ENTRY_TIME,'yyyy-MM-dd') = '#{orderEntryTime}'
or UNLOAD_POINT_ID = #{unloadPointId}
or DRIVER_CONFIRMATION = #{driverConfirmation}
or PRICE_ID = #{priceId}
or CARRIER_ID = #{carrierId}
or TRIP_ID = #{tripId}
or ORDER_PRINT_STATUS = #{orderPrintStatus}
or DRIVER_TEL = #{driverTel}
or OPTIONER_CODE = #{optionerCode}
or CAN_WORK = #{canWork}
or PRINTNUMBER = #{printnumber}
or CAPACITYIDS = #{capacityids}
or IS_ACCEPT = #{isAccept}
insert into OMSTRUCK_ORDER (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, 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, PRICE_ID, CARRIER_ID,
TRIP_ID, ORDER_PRINT_STATUS, DRIVER_TEL,
OPTIONER_CODE, CAN_WORK, PRINTNUMBER,
CAPACITYIDS, IS_ACCEPT)
values (#{orderId,jdbcType=DECIMAL}, #{orderPlanId,jdbcType=DECIMAL}, #{orderNumber,jdbcType=VARCHAR},
#{capacityId,jdbcType=DECIMAL}, #{orderIssueTime,jdbcType=TIMESTAMP}, #{orderReceiveStatus,jdbcType=DECIMAL},
#{orderReceiveRefuseTime,jdbcType=TIMESTAMP}, #{orderCommunicationDuration,jdbcType=DECIMAL},
#{orderStatus,jdbcType=DECIMAL}, #{insertUsername,jdbcType=VARCHAR}, #{insertTime,jdbcType=TIMESTAMP},
#{updateUsername,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{insertUpdateRemark,jdbcType=VARCHAR},
#{deleted,jdbcType=DECIMAL}, #{orderType,jdbcType=DECIMAL}, #{orderLineSequence,jdbcType=DECIMAL},
#{lineId,jdbcType=DECIMAL}, #{orderEntryTime,jdbcType=TIMESTAMP}, #{unloadPointId,jdbcType=DECIMAL},
#{driverConfirmation,jdbcType=DECIMAL}, #{priceId,jdbcType=DECIMAL}, #{carrierId,jdbcType=DECIMAL},
#{tripId,jdbcType=VARCHAR}, #{orderPrintStatus,jdbcType=DECIMAL}, #{driverTel,jdbcType=VARCHAR},
#{optionerCode,jdbcType=VARCHAR}, #{canWork,jdbcType=DECIMAL}, #{printnumber,jdbcType=DECIMAL},
#{capacityids,jdbcType=VARCHAR}, #{isAccept,jdbcType=DECIMAL})
insert into OMSTRUCK_ORDER
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,
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,
PRICE_ID,
CARRIER_ID,
TRIP_ID,
ORDER_PRINT_STATUS,
DRIVER_TEL,
OPTIONER_CODE,
CAN_WORK,
PRINTNUMBER,
CAPACITYIDS,
IS_ACCEPT,
#{orderId,jdbcType=DECIMAL},
#{orderPlanId,jdbcType=DECIMAL},
#{orderNumber,jdbcType=VARCHAR},
#{capacityId,jdbcType=DECIMAL},
#{orderIssueTime,jdbcType=TIMESTAMP},
#{orderReceiveStatus,jdbcType=DECIMAL},
#{orderReceiveRefuseTime,jdbcType=TIMESTAMP},
#{orderCommunicationDuration,jdbcType=DECIMAL},
#{orderStatus,jdbcType=DECIMAL},
#{insertUsername,jdbcType=VARCHAR},
#{insertTime,jdbcType=TIMESTAMP},
#{updateUsername,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{insertUpdateRemark,jdbcType=VARCHAR},
#{deleted,jdbcType=DECIMAL},
#{orderType,jdbcType=DECIMAL},
#{orderLineSequence,jdbcType=DECIMAL},
#{lineId,jdbcType=DECIMAL},
#{orderEntryTime,jdbcType=TIMESTAMP},
#{unloadPointId,jdbcType=DECIMAL},
#{driverConfirmation,jdbcType=DECIMAL},
#{priceId,jdbcType=DECIMAL},
#{carrierId,jdbcType=DECIMAL},
#{tripId,jdbcType=VARCHAR},
#{orderPrintStatus,jdbcType=DECIMAL},
#{driverTel,jdbcType=VARCHAR},
#{optionerCode,jdbcType=VARCHAR},
#{canWork,jdbcType=DECIMAL},
#{printnumber,jdbcType=DECIMAL},
#{capacityids,jdbcType=VARCHAR},
#{isAccept,jdbcType=DECIMAL},
update OMSTRUCK_ORDER
set ORDER_PLAN_ID = #{orderPlanId,jdbcType=DECIMAL},
ORDER_NUMBER = #{orderNumber,jdbcType=VARCHAR},
CAPACITY_ID = #{capacityId,jdbcType=DECIMAL},
ORDER_ISSUE_TIME = #{orderIssueTime,jdbcType=TIMESTAMP},
ORDER_RECEIVE_STATUS = #{orderReceiveStatus,jdbcType=DECIMAL},
ORDER_RECEIVE_REFUSE_TIME = #{orderReceiveRefuseTime,jdbcType=TIMESTAMP},
ORDER_COMMUNICATION_DURATION = #{orderCommunicationDuration,jdbcType=DECIMAL},
ORDER_STATUS = #{orderStatus,jdbcType=DECIMAL},
INSERT_USERNAME = #{insertUsername,jdbcType=VARCHAR},
INSERT_TIME = #{insertTime,jdbcType=TIMESTAMP},
UPDATE_USERNAME = #{updateUsername,jdbcType=VARCHAR},
UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
INSERT_UPDATE_REMARK = #{insertUpdateRemark,jdbcType=VARCHAR},
DELETED = #{deleted,jdbcType=DECIMAL},
ORDER_TYPE = #{orderType,jdbcType=DECIMAL},
ORDER_LINE_SEQUENCE = #{orderLineSequence,jdbcType=DECIMAL},
LINE_ID = #{lineId,jdbcType=DECIMAL},
ORDER_ENTRY_TIME = #{orderEntryTime,jdbcType=TIMESTAMP},
UNLOAD_POINT_ID = #{unloadPointId,jdbcType=DECIMAL},
DRIVER_CONFIRMATION = #{driverConfirmation,jdbcType=DECIMAL},
PRICE_ID = #{priceId,jdbcType=DECIMAL},
CARRIER_ID = #{carrierId,jdbcType=DECIMAL},
TRIP_ID = #{tripId,jdbcType=VARCHAR},
ORDER_PRINT_STATUS = #{orderPrintStatus,jdbcType=DECIMAL},
DRIVER_TEL = #{driverTel,jdbcType=VARCHAR},
OPTIONER_CODE = #{optionerCode,jdbcType=VARCHAR},
CAN_WORK = #{canWork,jdbcType=DECIMAL},
PRINTNUMBER = #{printnumber,jdbcType=DECIMAL},
CAPACITYIDS = #{capacityids,jdbcType=VARCHAR},
IS_ACCEPT = #{isAccept,jdbcType=DECIMAL}
where ORDER_ID = #{orderId,jdbcType=DECIMAL}
update OMSTRUCK_ORDER
ORDER_PLAN_ID = #{orderPlanId,jdbcType=DECIMAL},
ORDER_NUMBER = #{orderNumber,jdbcType=VARCHAR},
CAPACITY_ID = #{capacityId,jdbcType=DECIMAL},
ORDER_ISSUE_TIME = #{orderIssueTime,jdbcType=TIMESTAMP},
ORDER_RECEIVE_STATUS = #{orderReceiveStatus,jdbcType=DECIMAL},
ORDER_RECEIVE_REFUSE_TIME = #{orderReceiveRefuseTime,jdbcType=TIMESTAMP},
ORDER_COMMUNICATION_DURATION = #{orderCommunicationDuration,jdbcType=DECIMAL},
ORDER_STATUS = #{orderStatus,jdbcType=DECIMAL},
INSERT_USERNAME = #{insertUsername,jdbcType=VARCHAR},
INSERT_TIME = #{insertTime,jdbcType=TIMESTAMP},
UPDATE_USERNAME = #{updateUsername,jdbcType=VARCHAR},
UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
INSERT_UPDATE_REMARK = #{insertUpdateRemark,jdbcType=VARCHAR},
DELETED = #{deleted,jdbcType=DECIMAL},
ORDER_TYPE = #{orderType,jdbcType=DECIMAL},
ORDER_LINE_SEQUENCE = #{orderLineSequence,jdbcType=DECIMAL},
LINE_ID = #{lineId,jdbcType=DECIMAL},
ORDER_ENTRY_TIME = #{orderEntryTime,jdbcType=TIMESTAMP},
UNLOAD_POINT_ID = #{unloadPointId,jdbcType=DECIMAL},
DRIVER_CONFIRMATION = #{driverConfirmation,jdbcType=DECIMAL},
PRICE_ID = #{priceId,jdbcType=DECIMAL},
CARRIER_ID = #{carrierId,jdbcType=DECIMAL},
TRIP_ID = #{tripId,jdbcType=VARCHAR},
ORDER_PRINT_STATUS = #{orderPrintStatus,jdbcType=DECIMAL},
DRIVER_TEL = #{driverTel,jdbcType=VARCHAR},
OPTIONER_CODE = #{optionerCode,jdbcType=VARCHAR},
CAN_WORK = #{canWork,jdbcType=DECIMAL},
PRINTNUMBER = #{printnumber,jdbcType=DECIMAL},
CAPACITYIDS = #{capacityids,jdbcType=VARCHAR},
IS_ACCEPT = #{isAccept,jdbcType=DECIMAL},
where ORDER_ID = #{orderId,jdbcType=DECIMAL}
insert into OMSTRUCK_ORDER
(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,
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, PRICE_ID,
CARRIER_ID, TRIP_ID, ORDER_PRINT_STATUS,
DRIVER_TEL, OPTIONER_CODE, CAN_WORK,
PRINTNUMBER, CAPACITYIDS, IS_ACCEPT
)
(
select
#{item.orderId,jdbcType=DECIMAL},
#{item.orderPlanId,jdbcType=DECIMAL}, #{item.orderNumber,jdbcType=VARCHAR}, #{item.capacityId,jdbcType=DECIMAL},
#{item.orderIssueTime,jdbcType=TIMESTAMP}, #{item.orderReceiveStatus,jdbcType=DECIMAL},
#{item.orderReceiveRefuseTime,jdbcType=TIMESTAMP}, #{item.orderCommunicationDuration,jdbcType=DECIMAL},
#{item.orderStatus,jdbcType=DECIMAL}, #{item.insertUsername,jdbcType=VARCHAR},
#{item.insertTime,jdbcType=TIMESTAMP}, #{item.updateUsername,jdbcType=VARCHAR},
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.insertUpdateRemark,jdbcType=VARCHAR},
#{item.deleted,jdbcType=DECIMAL}, #{item.orderType,jdbcType=DECIMAL}, #{item.orderLineSequence,jdbcType=DECIMAL},
#{item.lineId,jdbcType=DECIMAL}, #{item.orderEntryTime,jdbcType=TIMESTAMP}, #{item.unloadPointId,jdbcType=DECIMAL},
#{item.driverConfirmation,jdbcType=DECIMAL}, #{item.priceId,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.printnumber,jdbcType=DECIMAL}, #{item.capacityids,jdbcType=VARCHAR}, #{item.isAccept,jdbcType=DECIMAL}
from dual
)
update OMSTRUCK_ORDER
set
ORDER_ID=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderId,jdbcType=DECIMAL}
,ORDER_PLAN_ID=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderPlanId,jdbcType=DECIMAL}
,ORDER_NUMBER=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderNumber,jdbcType=VARCHAR}
,CAPACITY_ID=
when #{item.orderId,jdbcType=DECIMAL} then #{item.capacityId,jdbcType=DECIMAL}
,ORDER_ISSUE_TIME=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderIssueTime,jdbcType=TIMESTAMP}
,ORDER_RECEIVE_STATUS=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderReceiveStatus,jdbcType=DECIMAL}
,ORDER_RECEIVE_REFUSE_TIME=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderReceiveRefuseTime,jdbcType=TIMESTAMP}
,ORDER_COMMUNICATION_DURATION=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderCommunicationDuration,jdbcType=DECIMAL}
,ORDER_STATUS=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderStatus,jdbcType=DECIMAL}
,INSERT_USERNAME=
when #{item.orderId,jdbcType=DECIMAL} then #{item.insertUsername,jdbcType=VARCHAR}
,INSERT_TIME=
when #{item.orderId,jdbcType=DECIMAL} then #{item.insertTime,jdbcType=TIMESTAMP}
,UPDATE_USERNAME=
when #{item.orderId,jdbcType=DECIMAL} then #{item.updateUsername,jdbcType=VARCHAR}
,UPDATE_TIME=
when #{item.orderId,jdbcType=DECIMAL} then #{item.updateTime,jdbcType=TIMESTAMP}
,INSERT_UPDATE_REMARK=
when #{item.orderId,jdbcType=DECIMAL} then #{item.insertUpdateRemark,jdbcType=VARCHAR}
,DELETED=
when #{item.orderId,jdbcType=DECIMAL} then #{item.deleted,jdbcType=DECIMAL}
,ORDER_TYPE=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderType,jdbcType=DECIMAL}
,ORDER_LINE_SEQUENCE=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderLineSequence,jdbcType=DECIMAL}
,LINE_ID=
when #{item.orderId,jdbcType=DECIMAL} then #{item.lineId,jdbcType=DECIMAL}
,ORDER_ENTRY_TIME=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderEntryTime,jdbcType=TIMESTAMP}
,UNLOAD_POINT_ID=
when #{item.orderId,jdbcType=DECIMAL} then #{item.unloadPointId,jdbcType=DECIMAL}
,DRIVER_CONFIRMATION=
when #{item.orderId,jdbcType=DECIMAL} then #{item.driverConfirmation,jdbcType=DECIMAL}
,PRICE_ID=
when #{item.orderId,jdbcType=DECIMAL} then #{item.priceId,jdbcType=DECIMAL}
,CARRIER_ID=
when #{item.orderId,jdbcType=DECIMAL} then #{item.carrierId,jdbcType=DECIMAL}
,TRIP_ID=
when #{item.orderId,jdbcType=DECIMAL} then #{item.tripId,jdbcType=VARCHAR}
,ORDER_PRINT_STATUS=
when #{item.orderId,jdbcType=DECIMAL} then #{item.orderPrintStatus,jdbcType=DECIMAL}
,DRIVER_TEL=
when #{item.orderId,jdbcType=DECIMAL} then #{item.driverTel,jdbcType=VARCHAR}
,OPTIONER_CODE=
when #{item.orderId,jdbcType=DECIMAL} then #{item.optionerCode,jdbcType=VARCHAR}
,CAN_WORK=
when #{item.orderId,jdbcType=DECIMAL} then #{item.canWork,jdbcType=DECIMAL}
,PRINTNUMBER=
when #{item.orderId,jdbcType=DECIMAL} then #{item.printnumber,jdbcType=DECIMAL}
,CAPACITYIDS=
when #{item.orderId,jdbcType=DECIMAL} then #{item.capacityids,jdbcType=VARCHAR}
,IS_ACCEPT=
when #{item.orderId,jdbcType=DECIMAL} then #{item.isAccept,jdbcType=DECIMAL}
where ORDER_ID in
#{item.orderId,jdbcType=DECIMAL}
delete from OMSTRUCK_ORDER
where ORDER_ID in
#{id}
UPDATE OMSTRUCK_ORDER_MATERIAL OOM
SET OOM.MATERIAL_PRIORITY = 71
WHERE OOM.ORDER_ID = #{orderId}
and OOM.MATERIAL_ID = #{materialId}
UPDATE OMSTRUCK_ORDER_MATERIAL OOM
SET OOM.MATERIAL_PRIORITY = null
WHERE OOM.ORDER_ID = #{orderId}
and OOM.MATERIAL_ID = #{materialId}