新增期卷号处理

This commit is contained in:
chengxl
2025-11-28 09:25:27 +08:00
parent 97e30ab80c
commit 74f47346d5

View File

@@ -861,7 +861,7 @@ function my_doiToFrag2($data)
$suffix = empty($parts[1]) ? 0 : intval($parts[1]);
if($prefix > $suffix){
$prefixLen = strlen($prefix);
$suffixLen = strlen($sufix);
$suffixLen = strlen($suffix);
$missingLen = $prefixLen - $suffixLen;
if ($missingLen > 0) {
$fillPart = substr($prefix, 0, $missingLen);