feat: 网元软件包查询支持通过文件版本和路径查询

This commit is contained in:
TsMask
2024-03-18 11:20:53 +08:00
parent bf16d2b984
commit 9690778945
3 changed files with 19 additions and 0 deletions

View File

@@ -22,6 +22,9 @@ type INeSoftware interface {
// DeleteByIds 批量删除信息
DeleteByIds(ids []string) (int64, error)
// SelectByVersionAndPath 通过文件版本和路径查询
SelectByVersionAndPath(version, path string) model.NeSoftware
// CheckUniqueTypeAndFileNameAndVersion 校验网元类型和文件名版本是否唯一
CheckUniqueTypeAndFileNameAndVersion(neType, fileName, version, id string) bool