Beispiel #1
0
        public async Task <IHttpActionResult> Update(params ProductionRuleInfoInputDto[] dto)
        {
            //修改人员、时间
            dto?.ToList().ForEach((a) =>
            {
                a.LastUpdatedTime   = DateTime.Now;
                a.LastUpdatorUserId = User.Identity.Name;
            });
            var result = await ProductionRuleInfoContract.Update(dto);

            return(Json(result));
        }