门店数据重传总部方式

【183以上版本】

门店增加重传数据调度表,调账后在该表增加一条需要重传开始和结束时间段的记录;jcdt会定时扫描该表数据发起重传,从而避免jcdt操作业务表

需要重传数据时,向重传调度表插入一条数据:
insert into jcdt_client_resend_scheduler (id,start_time,end_time,state,create_shop_id,create_time,modify_time)
values(
f_sys_get_newkey('jcdt_client_resend_scheduler','id',true),
'2019-07-31 18:00:00','2019-07-31 18:10:00',
0,f_get_local_shop_id(),now(),now()

--重传数据时间段可以调整