diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/TextbookInOutController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/TextbookInOutController.cs index 6508f556d..623923401 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/TextbookInOutController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/TextbookInOutController.cs @@ -184,7 +184,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers public ActionResult SubmitForm(string keyValue) { textbookInOutIBLL.SubmitEntity(keyValue); - return Success("删除成功!"); + return Success("提交成功!"); } #endregion diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TextbookInOut/TextbookInOutService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TextbookInOut/TextbookInOutService.cs index 5be074838..76fb1ee92 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TextbookInOut/TextbookInOutService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TextbookInOut/TextbookInOutService.cs @@ -264,6 +264,24 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration var entity = BaseRepository("CollegeMIS").FindEntity(x => x.ID == item); entity.IsSubmit = 1; db.Update(entity); + TextBookInEntity InEntity = new TextBookInEntity + { + ID = Guid.NewGuid().ToString(), + BookCode = "RK" + DateTime.Now.ToString("yyyyMMddHHmmss"), + InOutCode = entity.BookCode, + LessonNo = entity.LessonNo, + PublishNo = entity.PublishNo, + TextBookNo = entity.TextBookNo, + TextBookName = entity.TextBookName, + FirstAuthor = entity.FirstAuthor, + OtherAuthor = entity.OtherAuthor, + Pubdate = entity.Pubdate, + Publisher = entity.Publisher, + Edition = entity.Edition, + Impression = entity.Impression, + variate = entity.FinallyNum + }; + db.Insert(InEntity); } db.Commit(); }