|
|
@ -57,7 +57,7 @@ |
|
|
#{item.toLocation}, #{item.palletId}, #{item.agvCode}, #{item.priority}, #{item.status}, |
|
|
#{item.toLocation}, #{item.palletId}, #{item.agvCode}, #{item.priority}, #{item.status}, |
|
|
#{item.wmsSendTime}, |
|
|
#{item.wmsSendTime}, |
|
|
#{item.errorCode}, #{item.errorMsg}, #{item.createdBy}, #{item.createdTime}, |
|
|
#{item.errorCode}, #{item.errorMsg}, #{item.createdBy}, #{item.createdTime}, |
|
|
#{item.wcsTaskId}, #{item.finishQty}, #{item.wmsStatus}, #{item.itemNo} |
|
|
|
|
|
|
|
|
#{item.wcsTaskId}, #{item.finishQty}, '未执行', #{item.itemNo} |
|
|
) |
|
|
) |
|
|
</foreach> |
|
|
</foreach> |
|
|
</insert> |
|
|
</insert> |
|
|
@ -244,15 +244,15 @@ |
|
|
<!-- 插入单个运输任务 - AI制作 --> |
|
|
<!-- 插入单个运输任务 - AI制作 --> |
|
|
<insert id="insertTransportTask" useGeneratedKeys="true" keyProperty="id"> |
|
|
<insert id="insertTransportTask" useGeneratedKeys="true" keyProperty="id"> |
|
|
INSERT INTO wms_transport_task ( |
|
|
INSERT INTO wms_transport_task ( |
|
|
site, task_no, item_no, source_type, source_bill_no, source_line_id, |
|
|
|
|
|
part_no, qty, batch_no, serial_no, from_location, to_location, |
|
|
|
|
|
pallet_id, agv_code, priority, status, wms_send_time, |
|
|
|
|
|
created_by, created_time, updated_time |
|
|
|
|
|
|
|
|
site, task_no, item_no, source_type, source_bill_no, source_line_id, |
|
|
|
|
|
part_no, qty, batch_no, serial_no, from_location, to_location, |
|
|
|
|
|
pallet_id, agv_code, priority, status, wms_send_time, |
|
|
|
|
|
created_by, created_time, updated_time,wms_status |
|
|
) VALUES ( |
|
|
) VALUES ( |
|
|
#{site}, #{taskNo}, #{itemNo}, #{sourceType}, #{sourceBillNo}, #{sourceLineId}, |
|
|
|
|
|
#{partNo}, #{qty}, #{batchNo}, #{serialNo}, #{fromLocation}, #{toLocation}, |
|
|
|
|
|
#{palletId}, #{agvCode}, #{priority}, #{status}, #{wmsSendTime}, |
|
|
|
|
|
#{createdBy}, #{createdTime}, #{updatedTime} |
|
|
|
|
|
|
|
|
#{site}, #{taskNo}, #{itemNo}, #{sourceType}, #{sourceBillNo}, #{sourceLineId}, |
|
|
|
|
|
#{partNo}, #{qty}, #{batchNo}, #{serialNo}, #{fromLocation}, #{toLocation}, |
|
|
|
|
|
#{palletId}, #{agvCode}, #{priority}, #{status}, #{wmsSendTime}, |
|
|
|
|
|
#{createdBy}, #{createdTime}, #{updatedTime},N'未执行' |
|
|
) |
|
|
) |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|
|