|
@@ -26539,6 +26539,11 @@ ORDER BY
|
|
|
return Ok(JsonView(true, "操作成功!",count));
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 会务成本所有数据清除
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="Dto"></param>
|
|
|
+ /// <returns></returns>
|
|
|
[HttpPost]
|
|
|
public async Task<IActionResult> ConferenceAffairsDelete(ConferenceAffairsDeleteDto Dto)
|
|
|
{
|
|
@@ -26591,6 +26596,27 @@ ORDER BY
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 子项数据删除
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="Dto"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpPost]
|
|
|
+ public async Task<IActionResult> ConferenceAffairsDelete(ConferenceAffairsDeleteSingleDto Dto)
|
|
|
+ {
|
|
|
+ var count = _sqlSugar.Updateable<Grp_ConferenceAffairsCostChild>()
|
|
|
+ .Where(x => Dto.ids.Contains(x.Id) && x.IsDel == 0)
|
|
|
+ .SetColumns(x => new Grp_ConferenceAffairsCostChild
|
|
|
+ {
|
|
|
+ IsDel = 1,
|
|
|
+ DeleteTime = DateTime.Now.ToString("yyyy-MM-dd"),
|
|
|
+ DeleteUserId = Dto.UserId
|
|
|
+ })
|
|
|
+ .ExecuteCommand();
|
|
|
+
|
|
|
+ return Ok(JsonView(true, "SUCCESS!", count));
|
|
|
+ }
|
|
|
+
|
|
|
[HttpPost]
|
|
|
public async Task<IActionResult> PermissionSetting(PermissionSettingDto Dto)
|
|
|
{
|