|
@@ -1188,6 +1188,34 @@ namespace OASystem.API.Controllers
|
|
|
return Ok(jw);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ [HttpPost]
|
|
|
+ public async Task<IActionResult> QueryUnlockDropList()
|
|
|
+ {
|
|
|
+ var jw = JsonView(true);
|
|
|
+ var userList = await _sqlSugar.Queryable<Sys_SetData>().FirstAsync
|
|
|
+ (x => x.Id == 1434 && x.IsDel == 0);
|
|
|
+
|
|
|
+ try
|
|
|
+ {
|
|
|
+ if (userList != null)
|
|
|
+ {
|
|
|
+ var result = JsonConvert.DeserializeObject<List<int>>(userList.Remark);
|
|
|
+ jw.Data = result;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (Exception)
|
|
|
+ {
|
|
|
+ jw.Code = 500;
|
|
|
+ jw.Msg = "数据源错误!";
|
|
|
+ jw.Data = new List<int>(1);
|
|
|
+ }
|
|
|
+
|
|
|
+ return Ok(jw);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
[HttpPost]
|
|
|
public IActionResult InsertDataExcel(InsertDataExcelDto dto)
|
|
|
{
|