feat(production): 修改订单加工位置不一致问题
-创建订单时解除所有占用 -修改数据库位置唯一约束 -严格按照订单起始位置分配 -订单启动时重新初始化位置
This commit is contained in:
@@ -15,6 +15,8 @@ public:
|
||||
QString *error = nullptr);
|
||||
bool assignSlot(int trayId, int rowNo, int columnNo, int workpieceId,
|
||||
const QString &state, QString *error = nullptr);
|
||||
bool clearAllSlots(int *releasedCount = nullptr,
|
||||
QString *error = nullptr);
|
||||
bool refreshStats(int trayId, QString *error = nullptr);
|
||||
bool upsertTray(const Tray &tray, QString *error = nullptr);
|
||||
bool updateSlotState(int trayId, int rowNo, int columnNo, const QString &state,
|
||||
|
||||
Reference in New Issue
Block a user