feat: 导入零部件校验
This commit is contained in:
@@ -589,7 +589,7 @@ public class ImportUtil {
|
|||||||
// 零部件
|
// 零部件
|
||||||
public boolean partValid(String cellValue) {
|
public boolean partValid(String cellValue) {
|
||||||
String[] valueList = cellValue.split(",");
|
String[] valueList = cellValue.split(",");
|
||||||
List<DictModel> partDictModelList = sysBaseAPI.getDictItems("Part Name");
|
List<DictModel> partDictModelList = sysBaseAPI.getDictItems("part_name");
|
||||||
Map<String, DictModel> partDictModelMap = partDictModelList.stream()
|
Map<String, DictModel> partDictModelMap = partDictModelList.stream()
|
||||||
.collect(Collectors.toMap(DictModel::getText, d -> d));
|
.collect(Collectors.toMap(DictModel::getText, d -> d));
|
||||||
for (String value : valueList) {
|
for (String value : valueList) {
|
||||||
|
|||||||
Reference in New Issue
Block a user