增加了 当控制号=999时下一个归1
This commit is contained in:
parent
9e37743044
commit
702781151e
@ -312,6 +312,8 @@ public class HyosungRuntime(
|
||||
control = await hyosungWmsService.GetControlNo(variety, grade);
|
||||
else
|
||||
control = control + 1;
|
||||
if (control == 1000)
|
||||
control = 1;
|
||||
var isEven = control % 2 == 0;
|
||||
await varietyService.SetLastNo(variety.Id, control.Value);
|
||||
await trayService.SetControlNoAsync(arg, control.Value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user