feat: complete overseas customer and PDA workflows
This commit is contained in:
+3
-3
@@ -60,7 +60,7 @@ public interface InboundPalletAllocationMapper extends BaseMapper<InboundPalletA
|
||||
UPDATE fl_inbound_pallet_allocation
|
||||
SET picked_package_count = picked_package_count + #{count},
|
||||
/* Keep the snapshot confirmed until the atomic warehouse release
|
||||
succeeds. markReleased is the single owner of this transition;
|
||||
succeeds. markBlockReleased is the single owner of this transition;
|
||||
changing it here makes the subsequent idempotent release update
|
||||
affect zero rows and surfaces as S0500 from PDA pick. */
|
||||
allocation_status = 'CONFIRMED',
|
||||
@@ -93,9 +93,9 @@ public interface InboundPalletAllocationMapper extends BaseMapper<InboundPalletA
|
||||
|
||||
@Update("""
|
||||
UPDATE fl_inbound_pallet_allocation
|
||||
SET allocation_status='RELEASED', slot_status='RELEASED', updated_at=CURRENT_TIMESTAMP(3)
|
||||
SET allocation_status = 'RELEASED', slot_status = 'RELEASED', updated_at = CURRENT_TIMESTAMP(3)
|
||||
WHERE tenant_id=#{tenantId} AND inbound_id=#{inboundId} AND block_id=#{blockId}
|
||||
AND allocation_status='CONFIRMED'
|
||||
AND allocation_status = 'CONFIRMED'
|
||||
""")
|
||||
int markBlockReleased(@Param("tenantId") long tenantId, @Param("inboundId") long inboundId,
|
||||
@Param("blockId") long blockId);
|
||||
|
||||
Reference in New Issue
Block a user