浏览代码

图书入库管理添加出版日期列

新疆警官学校中职
zhangli 2 年前
父节点
当前提交
8f2c05c60a
共有 3 个文件被更改,包括 7 次插入1 次删除
  1. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookPutIn/Index.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/BookPutIn/BookPutInService.cs
  3. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/BookPutIn/Book_putininfoEntity.cs

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookPutIn/Index.js 查看文件

@@ -104,6 +104,7 @@ var bootstrap = function ($, learun) {
{ label: "图书名称", name: "BookName", width: 100, align: "left" },
{ label: "书籍出版号", name: "ISBN", width: 100, align: "left" },
{ label: "书籍作者", name: "Author", width: 100, align: "left" },
{ label: "出版日期", name: "PublishTime", width: 100, align: "left" },
{ label: "书籍出版社", name: "Publisher", width: 100, align: "left" },
{ label: "数量", name: "Amount", width: 100, align: "left" },
{ label: "入库时间", name: "PutInTime", width: 130, align: "left" },


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/BookPutIn/BookPutInService.cs 查看文件

@@ -29,7 +29,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
try
{
var strSql = new StringBuilder();
strSql.Append("SELECT t.*,b.BookName,b.ISBN,b.Author,b.Publisher ");
strSql.Append("SELECT t.*,b.BookName,b.ISBN,b.Author,b.Publisher,b.PublishTime ");
strSql.Append(" FROM Book_putininfo t ");
strSql.Append(" left join Book_info b on t.BookID=b.ID ");
strSql.Append(" WHERE 1=1 ");


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/BookPutIn/Book_putininfoEntity.cs 查看文件

@@ -85,6 +85,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary>
[NotMapped]
public string Publisher { get; set; }
/// <summary>
/// 出版日期
/// </summary>
[NotMapped]
public DateTime? PublishTime { get; set; }
#endregion
}
}


正在加载...
取消
保存