Commit c09349eb zshaohui

1.没有可用库位提示语进行修改

1 个父辈 9d8a8a35
......@@ -34,6 +34,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.*;
import java.util.stream.Collectors;
/**
* Created by sunke on 2021/7/13.
......@@ -786,7 +787,8 @@ public class TaskService {
}
if (availbleStorageList.isEmpty()) {
throw new ValidateException("smfcore.noValidStorage", "料仓列表中未找到可用的料仓");
String storageNames = storageList.stream().map(Storage::getName).collect(Collectors.joining(","));
throw new ValidateException("smfcore.noValidStorage", "料仓{0}中未找到可用的[{1}x{2}]库位",new String[]{storageNames,barcode.getPlateSize()+"",barcode.getHeight()+""});
}
availbleStorageList.sort(new Comparator<Storage>() {
......@@ -903,7 +905,9 @@ public class TaskService {
}
if (availbleStorageList.isEmpty()) {
throw new ValidateException("smfcore.noValidStorage", "料仓列表中未找到可用的料仓");
String storageNames = storageList.stream().map(Storage::getName).collect(Collectors.joining(","));
throw new ValidateException("smfcore.noValidStorage", "料仓{0}中未找到可用的[{1}x{2}]库位",new String[]{storageNames,barcode.getPlateSize()+"",barcode.getHeight()+""});
}
availbleStorageList.sort(new Comparator<Storage>() {
......
......@@ -79,7 +79,7 @@ smfcore.user=\u7528\u6237\u7BA1\u7406
smfcore.peoples=\u8D26\u53F7\u7BA1\u7406
smfcore.role=\u89D2\u8272\u7BA1\u7406
smfcore.menuNotExist=\u83DC\u5355{0}\u4E0D\u5B58\u5728
smfcore.noValidStorage=\u6599\u4ED3\u5217\u8868\u4E2D\u672A\u627E\u5230\u53EF\u7528\u7684\u6599\u4ED3
smfcore.noValidStorage=\u6599\u4ED3{0}\u4E2D\u672A\u627E\u5230\u53EF\u7528\u7684[{1}x{2}]\u5E93\u4F4D
smfcore.error.barcode.exist=[{0}}]\u5DF2\u5728{1}}[{2}}]\u4E2D
smfcore.barcodeSetting=\u6761\u7801\u8BBE\u7F6E
smfcore.posNotExist=\u4ED3\u4F4D\u4E0D\u5B58\u5728
......
......@@ -79,7 +79,7 @@ smfcore.user=Benutzerverwaltung
smfcore.peoples=Kontoverwaltung
smfcore.role=Rollenverwaltung
smfcore.menuNotExist=Men\u00FC{0} existiert nicht
smfcore.noValidStorage=Kein verf\u00FCgbares Lagerhaus in der Lagerhausliste gefunden
smfcore.noValidStorage=Kein verf\u00FCgbarer [{1}x{2}] Lagerplatz im Silo {0} gefunden
smfcore.error.barcode.exist=[{0}}] ist bereits in {1}}[{2}}] vorhanden
smfcore.barcodeSetting=Barcodeeinstellungen
smfcore.posNotExist=Lagerplatz existiert nicht
......
......@@ -80,7 +80,7 @@ smfcore.user=Users
smfcore.peoples=Account Management
smfcore.role=Authority
smfcore.menuNotExist=Menu{0} does not exist
smfcore.noValidStorage=No available bin found in bin list
smfcore.noValidStorage=No available [{1}x{2}] storage location found in silo {0}
smfcore.error.barcode.exist=[{0}}] is already in {1}}[{2}}]
smfcore.barcodeSetting=MA.ID Setting
smfcore.posNotExist=Positions do not exist
......
......@@ -79,7 +79,7 @@ smfcore.user=Gestion des utilisateurs
smfcore.peoples=Gestion de compte
smfcore.role=Gestion des r\u00F4les
smfcore.menuNotExist=Le menu {0} n'existe pas
smfcore.noValidStorage=Aucun silo disponible trouv\u00E9 dans la liste des silos
smfcore.noValidStorage=Aucun emplacement de stockage [{1}x{2}] disponible trouv\u00E9 dans le silo {0}
smfcore.error.barcode.exist=[{0}}] est d\u00E9j\u00E0 dans {1}}[{2}}]
smfcore.barcodeSetting=Param\u00E8tres des codes-barres
smfcore.posNotExist=L'emplacement n'existe pas
......
......@@ -77,7 +77,7 @@ smfcore.user=\u30E6\u30FC\u30B6\u30FC\u7BA1\u7406
smfcore.peoples=\u30A2\u30AB\u30A6\u30F3\u30C8\u7BA1\u7406
smfcore.role=\u5F79\u5272\u7BA1\u7406
smfcore.menuNotExist=\u30E1\u30CB\u30E5\u30FC{0}\u304C\u5B58\u5728\u3057\u306A\u3044
smfcore.noValidStorage=\u30D3\u30F3\u30EA\u30B9\u30C8\u306B\u5229\u7528\u53EF\u80FD\u306A\u30D3\u30F3\u304C\u898B\u3064\u304B\u3089\u306A\u3044
smfcore.noValidStorage=\u30B5\u30A4\u30ED{0}\u5185\u306B\u6709\u52B9\u306A[{1}x{2}]\u30B9\u30C8\u30EC\u30FC\u30B8\u30ED\u30B1\u30FC\u30B7\u30E7\u30F3\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093
smfcore.error.barcode.exist=[0}}]\u306F\u3059\u3067\u306B{1}[{2}}\u306B\u5165\u3063\u3066\u3044\u307E\u3059\u3002
smfcore.barcodeSetting=\u30D0\u30FC\u30B3\u30FC\u30C9\u8A2D\u5B9A
smfcore.posNotExist=\u30E9\u30A4\u30D6\u30E9\u30EA\u30FC\u30B9\u30DA\u30FC\u30B9\u304C\u5B58\u5728\u3057\u306A\u3044
......
......@@ -79,7 +79,7 @@ smfcore.user=\u7528\u6237\u7BA1\u7406
smfcore.peoples=\u8D26\u53F7\u7BA1\u7406
smfcore.role=\u89D2\u8272\u7BA1\u7406
smfcore.menuNotExist=\u83DC\u5355{0}\u4E0D\u5B58\u5728
smfcore.noValidStorage=\u6599\u4ED3\u5217\u8868\u4E2D\u672A\u627E\u5230\u53EF\u7528\u7684\u6599\u4ED3
smfcore.noValidStorage=\u6599\u4ED3{0}\u4E2D\u672A\u627E\u5230\u53EF\u7528\u7684[{1}x{2}]\u5E93\u4F4D
smfcore.error.barcode.exist=[{0}}]\u5DF2\u5728{1}}[{2}}]\u4E2D
smfcore.barcodeSetting=\u6761\u7801\u8BBE\u7F6E
smfcore.posNotExist=\u4ED3\u4F4D\u4E0D\u5B58\u5728
......
......@@ -78,7 +78,7 @@ smfcore.user=\u7528\u6236\u7BA1\u7406
smfcore.peoples=\u8CEC\u865F\u7BA1\u7406
smfcore.role=\u89D2\u8272\u7BA1\u7406
smfcore.menuNotExist=\u83DC\u55AE{0}\u4E0D\u5B58\u5728
smfcore.noValidStorage=\u6599\u5009\u5217\u8868\u4E2D\u672A\u627E\u5230\u53EF\u7528\u7684\u6599\u5009
smfcore.noValidStorage=\u6599\u5009{0}\u4E2D\u672A\u627E\u5230\u53EF\u7528\u7684[{1}x{2}]\u5132\u4F4D
smfcore.error.barcode.exist=[{0}}]\u5DF2\u5728{1}}[{2}}]\u4E2D
smfcore.barcodeSetting=\u689D\u78BC\u8A2D\u7F6E
smfcore.posNotExist=\u5EAB\u4F4D\u4E0D\u5B58\u5728
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!