BUGFIX:retrieve;
This commit is contained in:
@@ -141,7 +141,11 @@ public class CollectionServiceImpl extends ServiceImpl<CollectionMapper, Collect
|
||||
} else {
|
||||
String[] idName = name.split("_");
|
||||
if (idName.length > 1) {
|
||||
d.setId(StringUtil.isNullOrEmpty(idName[0]) ? null : Integer.valueOf(idName[0]));
|
||||
if (idName[0].equals("null")) {
|
||||
d.setId(null);
|
||||
}else {
|
||||
d.setId(StringUtil.isNullOrEmpty(idName[0]) ? null : Integer.valueOf(idName[0]));
|
||||
}
|
||||
d.setName(idName[1]);
|
||||
d.setTcx(idName[2]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user