using WIDESEA_DTO; using WIDESEA_IStoragIntegrationServices.MOM.Error; using WIDESEA_Model.Models; namespace WIDESEA_WMSServer.Controllers; [Route("api/MOMErrorMessage")] [ApiController] public class MOMErrorMessageController : ApiBaseController { public MOMErrorMessageController(IMOMErrorMessageService service) : base(service) { } [HttpPost, AllowAnonymous, Route("x")] public WebResponseContent x() { var x= SqlSugarHelper.DbWCS.Updateable() .SetColumns(x => x.inLineNum == x.inLineNum + 1) .Where(x => x.id == 10).ExecuteCommandHasChange(); return WebResponseContent.Instance.OK(data:x); } }