happygod 2008-5-15 20:55
History package的expired_timestamp是代表什么时间
在History package中的expired_timestamp是代表什么时间?
原以为是closed状态的时间,后来发现不是。
[[i] 本帖最后由 happygod 于 2008-5-15 23:08 编辑 [/i]]
yunshan 2008-5-15 21:56
纠正一下,这里是expired_timestamp
The [color=Blue]expired_timestamp[/color] is used by trend and aging charts to determine how long a record remained in a specific state; and to determine the state the record was in for each date.
注释:expired_timestamp一般是用来为趋势图和龄期图确定一条记录在一个特定的状态保持了多长时间的,和确定对于每个日期某个记录所在的状态。
happygod 2008-5-15 23:18
谢谢yunshan
这里我也描述一下我对这个字段的理解
通过histroy的action_timestamp和expired_timestamp,我们就可以计算出耗时信息,方便统计
如:
dbi id history action_timestamp expired_timestamp old_state new_state
33554709 RPCQ00000277 Assign 2008-4-15 13:58:32 2008-4-15 15:58:34 Submited Assigned
33554709 RPCQ00000277 Open 2008-4-15 15:58:34 2008-4-16 21:30:01 Assigned Opened
在记录RPCQ00000277,从Submited状态到Assigned状态,耗时时间是2小时2秒