|
|
@@ -264,6 +264,24 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
var entity = BaseRepository("CollegeMIS").FindEntity<TextbookInOutEntity>(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(); |
|
|
|
} |
|
|
|