INSERT INTO t_int_log ( typecode, itemcode, orgcode, comguid, logdate, logtime, logtype, logmsg, sessioncode) select '002' as 'typecode', '001' as 'itemcode' ,orgcode ,'' as comguid , CONVERT(varchar(10), GETDATE(), 120) as 'logdate', CONVERT(varchar, GETDATE(), 24) as 'logtime','S' as 'logtype','初始化' as 'logmsg',null as 'sessioncode' from t_shop INSERT INTO t_int_log ( typecode, itemcode, orgcode, comguid, logdate, logtime, logtype, logmsg, sessioncode) select '002' as 'typecode', '002' as 'itemcode' ,orgcode ,'' as comguid , CONVERT(varchar(10), GETDATE(), 120) as 'logdate', CONVERT(varchar, GETDATE(), 24) as 'logtime','S' as 'logtype','初始化' as 'logmsg',null as 'sessioncode' from t_shop INSERT INTO t_int_log ( typecode, itemcode, orgcode, comguid, logdate, logtime, logtype, logmsg, sessioncode) select '002' as 'typecode', '003' as 'itemcode' ,orgcode ,'' as comguid , CONVERT(varchar(10), GETDATE(), 120) as 'logdate', CONVERT(varchar, GETDATE(), 24) as 'logtime','S' as 'logtype','初始化' as 'logmsg',null as 'sessioncode' from t_shop INSERT INTO t_int_log ( typecode, itemcode, orgcode, comguid, logdate, logtime, logtype, logmsg, sessioncode) select '002' as 'typecode', '004' as 'itemcode' ,orgcode ,'' as comguid , CONVERT(varchar(10), GETDATE(), 120) as 'logdate', CONVERT(varchar, GETDATE(), 24) as 'logtime','S' as 'logtype','初始化' as 'logmsg',null as 'sessioncode' from t_shop INSERT INTO t_int_log ( typecode, itemcode, orgcode, comguid, logdate, logtime, logtype, logmsg, sessioncode) select '002' as 'typecode', '005' as 'itemcode' ,orgcode ,'' as comguid , CONVERT(varchar(10), GETDATE(), 120) as 'logdate', CONVERT(varchar, GETDATE(), 24) as 'logtime','S' as 'logtype','初始化' as 'logmsg',null as 'sessioncode' from t_shop INSERT INTO t_int_log ( typecode, itemcode, orgcode, comguid, logdate, logtime, logtype, logmsg, sessioncode) select '002' as 'typecode', '006' as 'itemcode' ,orgcode ,'' as comguid , CONVERT(varchar(10), GETDATE(), 120) as 'logdate', CONVERT(varchar, GETDATE(), 24) as 'logtime','S' as 'logtype','初始化' as 'logmsg',null as 'sessioncode' from t_shop INSERT INTO t_int_log ( typecode, itemcode, orgcode, comguid, logdate, logtime, logtype, logmsg, sessioncode) select '002' as 'typecode', '007' as 'itemcode' ,orgcode ,'' as comguid , CONVERT(varchar(10), GETDATE(), 120) as 'logdate', CONVERT(varchar, GETDATE(), 24) as 'logtime','S' as 'logtype','初始化' as 'logmsg',null as 'sessioncode' from t_shop INSERT INTO t_int_log ( typecode, itemcode, orgcode, comguid, logdate, logtime, logtype, logmsg, sessioncode) select '003' as 'typecode', '001' as 'itemcode' ,orgcode ,'' as comguid , CONVERT(varchar(10), GETDATE(), 120) as 'logdate', CONVERT(varchar, GETDATE(), 24) as 'logtime','S' as 'logtype','初始化' as 'logmsg',null as 'sessioncode' from t_shop INSERT INTO t_int_log ( typecode, itemcode, orgcode, comguid, logdate, logtime, logtype, logmsg, sessioncode) select '003' as 'typecode', '002' as 'itemcode' ,orgcode ,'' as comguid , CONVERT(varchar(10), GETDATE(), 120) as 'logdate', CONVERT(varchar, GETDATE(), 24) as 'logtime','S' as 'logtype','初始化' as 'logmsg',null as 'sessioncode' from t_shop