fix: 统一追溯码并修正天河链存证跳转
This commit is contained in:
@@ -9,7 +9,7 @@ import { PaginationDto } from '../common/dto/pagination.dto';
|
||||
import { buildOrderBy } from '../common/utils/sort.util';
|
||||
|
||||
class QueryLogQueryDto extends PaginationDto {
|
||||
@ApiPropertyOptional({ description: '关键词(追溯码 / 完整编码 / 档案编号)' })
|
||||
@ApiPropertyOptional({ description: '关键词(追溯码 / 档案编号)' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
keyword?: string;
|
||||
@@ -53,7 +53,6 @@ export class QueryLogController {
|
||||
if (query.keyword) {
|
||||
where.OR = [
|
||||
{ shortCode: { contains: query.keyword } },
|
||||
{ code: { contains: query.keyword } },
|
||||
{ archiveNo: { contains: query.keyword } },
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user