检查区域删除
This commit is contained in:
parent
2c2e74569e
commit
b2e17409a8
@ -93,13 +93,13 @@ namespace APT.SK.WebApi.Controllers.Api
|
||||
/// <param name="id">主键ID</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet, Route("SKDelete")]
|
||||
public JsonActionResult<bool> SKDelete(string id)
|
||||
public JsonActionResult<bool> SKDelete(string ids)
|
||||
{
|
||||
return SafeExecute(() =>
|
||||
{
|
||||
if (string.IsNullOrEmpty(id))
|
||||
if (string.IsNullOrEmpty(ids))
|
||||
this.ThrowError("060010");
|
||||
var area = this.GetEntity<T_SK_RISK_AREA>(id);
|
||||
var area = this.GetEntity<T_SK_RISK_AREA>(ids);
|
||||
var areas = new List<T_SK_RISK_AREA>();
|
||||
if (area != null)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user