fix(firstleg): instantiate PDA progress projection

This commit is contained in:
2026-08-10 14:31:03 +08:00
parent a81f73d835
commit 013de5e921
3 changed files with 39 additions and 7 deletions
@@ -48,12 +48,23 @@ public interface LoadingPickItemMapper extends BaseMapper<LoadingPickItemEntity>
InboundProgress selectInboundProgress(@Param("tenantId") long tenantId,
@Param("inboundId") long inboundId);
interface InboundProgress {
Integer getExpectedCount();
Integer getPickedCount();
Integer getTaskCount();
Integer getCompletedTaskCount();
Integer getUnresolvedCount();
class InboundProgress {
private Integer expectedCount;
private Integer pickedCount;
private Integer taskCount;
private Integer completedTaskCount;
private Integer unresolvedCount;
public Integer getExpectedCount() { return expectedCount; }
public void setExpectedCount(Integer expectedCount) { this.expectedCount = expectedCount; }
public Integer getPickedCount() { return pickedCount; }
public void setPickedCount(Integer pickedCount) { this.pickedCount = pickedCount; }
public Integer getTaskCount() { return taskCount; }
public void setTaskCount(Integer taskCount) { this.taskCount = taskCount; }
public Integer getCompletedTaskCount() { return completedTaskCount; }
public void setCompletedTaskCount(Integer completedTaskCount) { this.completedTaskCount = completedTaskCount; }
public Integer getUnresolvedCount() { return unresolvedCount; }
public void setUnresolvedCount(Integer unresolvedCount) { this.unresolvedCount = unresolvedCount; }
}
@Select("""