diff --git a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplControllers.txt b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplControllers.txt
index 745cdd1..edb13ac 100644
--- a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplControllers.txt
+++ b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplControllers.txt
@@ -173,23 +173,5 @@ ${end}
string sFileName = ExportExcel(list, "${replaceDto.ModelTypeName}", "${genTable.FunctionName}");
return SUCCESS(new { path = "/export/" + sFileName, fileName = sFileName });
}
-$if(genTable.SortField != "" && genTable.SortField != null)
- //////
- ////// 代码自动生成(不用可删除) 保存排序
- //////
- //////
- //////
- //////
- /////[ActionPermissionFilter(Permission = "${replaceDto.PermissionPrefix}:update")]
- //////[HttpGet("ChangeSort")]
- /////[Log(Title = "保存排序", BusinessType = BusinessType.UPDATE)]
- //public IActionResult ChangeSort(int id = 0, int orderNum = 0)
- //{
- // if (id <= 0) { return ToResponse(ApiResult.Error(101, "请求参数错误")); }
- // bool result = _${replaceDto.ModelTypeName}Service.Update(w => w.${replaceDto.PKName} == id, it => new ${replaceDto.ModelTypeName}() { ${genTable.SortField} = orderNum });;
-
- // return SUCCESS(result);
- //}
-$end
}
}
\ No newline at end of file