select * from OP_WMS where WMSBASEID='D051E396-37BB-4A50-8624-392806EFAB21' --select WMSBASEID,* from OP_WMS where WMSID='8412EB3C-A4AA-47E1-BB40-FB9A94E6EA24' select * from OP_WMS where WMSBASEID='1C0143F2-FBAD-456A-B258-9E9B31DF3B5A' select * from OP_WMS where CNTRNO in ('MEDU7444490','MSMU7759700')order by WMSBASEID,CreateDate --select * from OP_WMS where CNTRNO in ('TEMU8466860','MEDU4575372') select wmsid,wmsid_new,* from OP_WMS_TRANSFERGOODS_DETAIL where wmsid='D051E396-37BB-4A50-8624-392806EFAB21' select wmsid,wmsid_new,* from OP_WMS_TRANSFERGOODS_DETAIL where wmsid='6430E841-EB15-4E19-843B-B5AC9181356A' select * from temp_OP_WMS update temp_OP_WMS set pkgs=0,kgs=0,cbm=0,storageunitcount=0,ruleunitcount=0 update temp_OP_WMS_physics set pkgs=0,kgs=0,cbm=0,storageunitcount=0,ruleunitcount=0 exec UspOutputData 'temp_OP_WMS_physics_change' select * into temp_OP_WMS from op_wms where wmsid in( 'D051E396-37BB-4A50-8624-392806EFAB21', '6430E841-EB15-4E19-843B-B5AC9181356A', '0260C8F5-4F4D-41FB-9B5E-584E8A7A3851', '49E96D0A-7E37-4606-AF04-2C53A61187BC', '1C0143F2-FBAD-456A-B258-9E9B31DF3B5A', '5D3DDB84-7869-48F3-B005-4329ED47FFB0', 'B262FF3D-848F-4F68-B2D1-6D65A5F0D423', '8412EB3C-A4AA-47E1-BB40-FB9A94E6EA24' ) select * into temp_OP_WMS_physics from OP_WMS_PHYSICS where wmsid in( 'D051E396-37BB-4A50-8624-392806EFAB21', '6430E841-EB15-4E19-843B-B5AC9181356A', '0260C8F5-4F4D-41FB-9B5E-584E8A7A3851', '49E96D0A-7E37-4606-AF04-2C53A61187BC', '1C0143F2-FBAD-456A-B258-9E9B31DF3B5A', '5D3DDB84-7869-48F3-B005-4329ED47FFB0', 'B262FF3D-848F-4F68-B2D1-6D65A5F0D423', '8412EB3C-A4AA-47E1-BB40-FB9A94E6EA24' ) select * into temp_OP_WMS_change from OP_WMS_change where wmsid in( 'D051E396-37BB-4A50-8624-392806EFAB21', '6430E841-EB15-4E19-843B-B5AC9181356A', '0260C8F5-4F4D-41FB-9B5E-584E8A7A3851', '49E96D0A-7E37-4606-AF04-2C53A61187BC', '1C0143F2-FBAD-456A-B258-9E9B31DF3B5A', '5D3DDB84-7869-48F3-B005-4329ED47FFB0', 'B262FF3D-848F-4F68-B2D1-6D65A5F0D423', '8412EB3C-A4AA-47E1-BB40-FB9A94E6EA24' ) select * into temp_OP_WMS_physics_change from OP_WMS_physics_change where wmsid in( 'D051E396-37BB-4A50-8624-392806EFAB21', '6430E841-EB15-4E19-843B-B5AC9181356A', '0260C8F5-4F4D-41FB-9B5E-584E8A7A3851', '49E96D0A-7E37-4606-AF04-2C53A61187BC', '1C0143F2-FBAD-456A-B258-9E9B31DF3B5A', '5D3DDB84-7869-48F3-B005-4329ED47FFB0', 'B262FF3D-848F-4F68-B2D1-6D65A5F0D423', '8412EB3C-A4AA-47E1-BB40-FB9A94E6EA24' )