【问】单据时间超过30天后无法查询? | ||
【适用版本】eShop服装4 | 【模块】基础档案 | 【点击数】8 |
【知识编号】E2017111500028 | ||
【问题描述】部分单据长时间没处理,现在看不到了 |
if not exists(select * from t_sys_system where sys_var_id=’in_sheet_day’)
insert into t_sys_system(sys_var_id,sys_var_name,sys_var_value)
values(‘in_sheet_day’,’in_sheet_day’,’180′)
else
update t_sys_system set sys_var_value=’180′ where sys_var_id=’in_sheet_day’
go