|
@@ -449,7 +449,7 @@ func (this *MaterialController) ClassifyMove() {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if materialClassifyInfo.ParentId != req.ParentClassifyId {
|
|
if materialClassifyInfo.ParentId != req.ParentClassifyId {
|
|
- count, err := material.GetMaterialClassifyNameNotSelfCount(materialClassifyInfo.ClassifyId, materialClassifyInfo.ClassifyName, materialClassifyInfo.ParentId)
|
|
|
|
|
|
+ count, err := material.GetMaterialClassifyNameNotSelfCount(materialClassifyInfo.ClassifyId, materialClassifyInfo.ClassifyName, req.ParentClassifyId)
|
|
if err != nil {
|
|
if err != nil {
|
|
br.Msg = "判断名称是否已存在失败"
|
|
br.Msg = "判断名称是否已存在失败"
|
|
br.ErrMsg = "判断名称是否已存在失败,Err:" + err.Error()
|
|
br.ErrMsg = "判断名称是否已存在失败,Err:" + err.Error()
|