欢迎您来到 数字平台。 您尚未登录。[登录] [注册新用户]
当前位置: 论坛首页 / 栏目 产品与服务 / 文章 203

点击:1950

[顶层访客留言] [回复顶层(需要先登录)] [表状] [详细]
[回复留言] [回复(需要先登录)] [引用(需要先登录)]普通文章跟帖
文章id: 203
dp2libraryws -- 图书馆应用服务器 -- 功能更新

作者: xietao


 

2007/10/18

1) SearchItem API增加一个参数。

    public Result SearchItem(
        string strItemDbName,   
        string strQueryWord,
        int nPerMax,
        string strFrom,
        string strMatchStyle,
        string strLang,
        string strResultSetName)

其中第三个参数nPerMax为新增加的参数。

dp2circulation前端需要随之更新,否则实体库查询功能可能会出现问题。

2) 先前版本OPAC界面,检索命中后浏览画面中,当浏览格式为“详细”的时候,预约按钮不起作用。这个错误已经改正。

3) 为支持书目库中的批次号查询,需要系统管理员为所有书目库增加批次号检索点(rmsws内核层面)。

以“中文图书”库为例,其key配置文件新增片段如下:

...

    <key>
        <xpath nstable="">/marc:record/marc:datafield[@tag='998']/marc:subfield[@code='a']</xpath>
        <from>batchno</from>
        <table ref="batchno" />
    </key>
    <table name="batchno" id="13" type="batchno">
        <caption lang="zh">批次号</caption>
        <caption lang="en">Batch number</caption>
    </table>

...

注意id不要和前面用过的重复。

然后备份数据库内的全部数据,初始化数据库,以覆盖方式重新导入刚备份的数据。新检索点就可建立起来。

4) email通知相关功能中SendEmail()函数在email地址不正确时会抛出异常,error.txt文件片断如下:

..

2007-10-18 11:34:59 BatchTask工作线程出现异常: Type: System.FormatException
Message: 指定字符串与电子邮件地址所要求的形式不符。
Stack:
   在 System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName)
   在 System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset)
   在 System.Net.Mail.MailAddressCollection.ParseValue(String addresses)
   在 System.Net.Mail.MailAddressCollection.Add(String addresses)
   在 System.Net.Mail.Message..ctor(String from, String to)
   在 System.Net.Mail.MailMessage..ctor(String from, String to)
   在 System.Net.Mail.MailMessage..ctor(String from, String to, String subject, String body)
   在 DigitalPlatform.LibraryServer.LibraryApplication.SendEmail(String strUserEmail, String strSubject, String strBody, String strMime, String& strError)
   在 DigitalPlatform.LibraryServer.ReadersMonitor.DoOneRecord(String strPath, String strReaderXml, Byte[] baTimeStamp, String& strError)
   在 DigitalPlatform.LibraryServer.ReadersMonitor.Worker()
   在 DigitalPlatform.LibraryServer.BatchTask.ThreadMain()

...

这个错误已经改正。当email地址不正确时,只当作普通错误在批处理观察结果里报错,并继续处理。

---

2007/10/19

1) 为实体库记录增加<volume>元素。

---

2007/10/22

1) 原来版本有一个错误:当系统回存library.xml时,会把<itemdbgroup>下<database>元素的syntax属性弄丢。所导致的症状就是USMARC格式的书目库记录保存回去后格式变成了UNIMARC。这个错误已经改正。

---

2007/10/26

1) 为GetBiblioSummary() API增加了功能:

    public Result GetBiblioSummary(
        string strItemBarcode,
        string strConfirmItemRecPath,
        string strBiblioRecPathExclude,
        out string strBiblioRecPath,
        out string strSummary)

参数strItemBarcode可以使用这样的内容:

@bibliorecpath:中文图书/1

来表示直接用书目记录路径取得书目摘要。

---

2007/11/5

1) 程序回写library.xml的时候,<arrived>元素会丢失已配置的canReserveOnshelf、outofReservationThreshold属性;<message>元素丢失reserveTimeSpan等属性。这个错误已经改正。

2) API SetEntities功能进行了更新。当功能为delete时,遇到条码重复使用情况,不再报错,而是允许删除进行。

3) 某类读者针对某类图书的“可借册数”参数,原来版本不起作用。这个错误已经改正。在借阅操作中,软件会为读者记录<borrows/borrow>元素写入一个type属性,内容是图书的册类型,以帮助判断某类图书的借阅册数时候已经超过限制。

---

2007/11/12

1) 原来版本的API SetReaderInfo()当strAction值为"new"时,如果参数strOldXml值为非空,正好里面XML记录的<barcode>元素值和参数strNewXml值中<barcode>元素值一样,就会发生允许重复创建读者条码相同的读者记录的错误。

这个错误已经改正。并且对strOldXml参数进行了必要检查,当strAction参数值为"new"时,不允许strOldXml中有非空的值。

2) 原来版本的API SetEnitities()也存在类似上述SetReaderInfo()的错误。已经改正。

---

2007/11/21

1) 允许书目库记录携带对象资源。增加了一个getobject.aspx模块,用于在公共查询界面上获取、显示资源对象。

----

2007/11/22

1) API SetReaderInfo()在strAction值为"delete"的时候,如果遇到条码重复的情况,将不能删除所要求的记录。这个错误已经改正。

---

2007/12/11

1) API Borrow()增加一个参数[out] borrow_info,以配合前端的流通凭条打印功能。

2) API Return()增加一个参数[out] return_info,以配合前端的流通凭条打印功能。

3) library.xml允许定义图书馆名,以便打印在流通凭条上。

相应的片段如下(XML根元素以下):

...

 <libraryInfo>
  <libraryName>某个图书馆</libraryName>
 </libraryInfo>

...

4) 原来版本中,还书时创建的overduestring中returnDate元素内时间值,为一个舍入后的时间值,这导致不能反映原始借阅精确时刻。这个错误已经改正,改为记载精确的时刻。

---

2007/12/18

1) 增加以停代金功能。

2) 为帐户增加“馆藏代码”字段。

3) 为书目库增加联合编目根据馆藏代码控制修改905字段权限的功能。



发表时间: 2007-10-18 15:25:28
最后修改时间: 2007-12-18 20:20:17



  • 普通文章 dp2系统软件功能更新情况 xietao 2006-08-29 18:29:18[点击:40755]
  • 普通文章 dp2rms -- 资源加工 -- 功能更新 xietao 2006-08-29 18:30:07 (ID:124) [点击:1277]
  • 普通文章 dp2batch -- 批处理 -- 功能更新 xietao 2006-08-29 18:30:48 (ID:125) [点击:1491]
  • 普通文章 dp2manager -- 服务器管理 -- 功能更新 xietao 2006-08-29 18:31:32 (ID:126) [点击:1514]
  • 普通文章 dp2circulation -- 图书馆内务 -- 功能更新 xietao 2007-10-18 12:08:09 (ID:201) [点击:1408]
  • 普通文章 dp2catalog -- 图书馆编目 -- 功能更新 xietao 2007-10-18 15:24:56 (ID:202) [点击:1225]
  • 普通文章 dp2libraryws -- 图书馆应用服务器 -- 功能更新 xietao 2007-10-18 15:25:28 (ID:203) [点击:1950]
  •  

    在线用户
    访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客   访客访客
    当前栏目在线用户数 54, 总在线用户数 56