|
@@ -111,10 +111,10 @@ class AgentActionLog(db.Model):
|
|
pre_check_state = db.Column(db.SmallInteger, nullable=False, default=-1, comment='上一次签入或签出')
|
|
pre_check_state = db.Column(db.SmallInteger, nullable=False, default=-1, comment='上一次签入或签出')
|
|
service_state = db.Column(db.SmallInteger, nullable=False, default=-1, comment='坐席状态')
|
|
service_state = db.Column(db.SmallInteger, nullable=False, default=-1, comment='坐席状态')
|
|
pre_service_state = db.Column(db.SmallInteger, nullable=False, default=-1, comment='上一次坐席状态')
|
|
pre_service_state = db.Column(db.SmallInteger, nullable=False, default=-1, comment='上一次坐席状态')
|
|
- check_state_time = db.Column(db.TIMESTAMP, nullable=False, default=datetime(2000, 1, 1), comment='签入或签出时间')
|
|
|
|
- pre_check_state_time = db.Column(db.TIMESTAMP, nullable=False, default=datetime(2000, 1, 1), comment='上一次签入或签出时间')
|
|
|
|
- service_state_time = db.Column(db.TIMESTAMP, nullable=False, default=datetime(2000, 1, 1), comment='坐席状态变更时间')
|
|
|
|
- pre_service_state_time = db.Column(db.TIMESTAMP, nullable=False, default=datetime(2000, 1, 1), comment='上一次坐席状态变更时间')
|
|
|
|
|
|
+ check_state_time = db.Column(db.TIMESTAMP, nullable=False, default=datetime.now, comment='签入或签出时间')
|
|
|
|
+ pre_check_state_time = db.Column(db.TIMESTAMP, nullable=False, default=datetime.now, comment='上一次签入或签出时间')
|
|
|
|
+ service_state_time = db.Column(db.TIMESTAMP, nullable=False, default=datetime.now, comment='坐席状态变更时间')
|
|
|
|
+ pre_service_state_time = db.Column(db.TIMESTAMP, nullable=False, default=datetime.now, comment='上一次坐席状态变更时间')
|
|
check_state_duration = db.Column(db.BigInteger, nullable=False, default=0, comment='行为持续时间')
|
|
check_state_duration = db.Column(db.BigInteger, nullable=False, default=0, comment='行为持续时间')
|
|
service_state_duration = db.Column(db.BigInteger, nullable=False, default=0, comment='状态持续时间')
|
|
service_state_duration = db.Column(db.BigInteger, nullable=False, default=0, comment='状态持续时间')
|
|
task_id = db.Column(db.String(32), nullable=False, default='', comment='任务Id')
|
|
task_id = db.Column(db.String(32), nullable=False, default='', comment='任务Id')
|