You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sql-tools/updatePADClient.sql

80 lines
3.2 KiB

1 year ago
DECLARE @AppId VARCHAR(100)
SELECT @AppId = 'f2ab8dd6e373a5f531b94e05fa44313a'
print 'https://ssl.pgyer.com/app/plist/' + @AppId + '/s.plist'
EXEC PAddPADClientVersion 'Manager','Apple',115,'1.1.5','',101,'http://www.pgyer.com/v1HX','https://ssl.pgyer.com/app/plist/5f71abaf71670ad9e7e8490a4e27fb0b/s.plist'
EXEC PAddPADClientVersion 'Manager','Android',113,'1.1.3','',101,'http://www.pgyer.com/2E1d','http://storage.pgyer.com/9/4/4/6/2/94462c979cbef7574f9be6d8e3027edc.apk'
EXEC PAddPADClientVersion 'Manager','Android',115,'1.1.5','',101,'http://www.pgyer.com/tomT','http://storage1.pgyer.com/M01/0F/A7/wKgB7VUPvMSANJKeAEc26SGXJJE830.apk?auth_key=1a8e02966235e7425bce15cffc2a7d38-1427427725'
EXEC PAddPADClientVersion 'Employee','Apple',115,'1.1.5','',101,'http://www.pgyer.com/r5BO','https://ssl.pgyer.com/app/plist/6e0f0edd2a291cc1dc281b65f887c120/s.plist'
EXEC PAddPADClientVersion 'Employee','Android',115,'1.1.5','',101,'http://www.pgyer.com/YIqj','http://storage1.pgyer.com/M00/0F/A5/wKgB7VUPq76AZb8EAFsAhHFfhgo262.apk?auth_key=668ff54674b29e96be7d2275523198b4-1427427623'
select * from TPADClientVersion
delete TPADClientVersion WHERE FPlatform = 'Android'
ALTER TABLE TPADClientVersion ADD FPageURL VARCHAR(200) NOT NULL DEFAULT ''
sp_rename 'TPADClientVersion.FURL','FFileURL'
use saidaodns
UPDATE TPADClientVersion
SET FVersionCode = '1056',
FVersionName = '1.0.56',
FVersionDesc = '1.<EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>Ա' +char(10)
+ '2.<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>Ա<EFBFBD>Ƴ<EFBFBD><EFBFBD>'+char(10)
+'3.<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD>еĽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʷ'+char(10)
+'4.<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD>Ƭ'+char(10)
+'5.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸Ļ<EFBFBD>Ա<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ',
FFileUrl = 'https://ips.pre.im/app/plist/c2c8019d4362e45001732bcfbd81a5e9'
WHERE FAppName = 'MOBFrontDesk'
AND FPlatForm = 'Apple'
https://ssl.pgyer.com/app/plist/2fff267dfc4ab870d519626984ed7503/s.plist
https://www.pgyer.com/y5oG
SELECT * FROM TPADClientVersion
SELECT * FROM TClientRegisterInfo WHERE FClientId = dbo.FNClientId('0531asay')
AND FMachineId != '58501K8FUA9H0U8941'
UPDATE TClientRegisterInfo SET FExpiredDate = '2016-09-04'
WHERE FClientId = dbo.FNClientId('0531asay')
AND FMachineId != '58501K8FUA9H0U8941'
AND FSerialNumber != ''
SELECT * FROM TClientRegisterInfo WHERE FClientId = dbo.FNClientId('0539dfn')
UPDATE TClientRegisterInfo
SET FExpiredDate = '2016-09-04' ,
FSerialNumber = '93799-17787-0942E-4B7C7-187BA',
FFunctionVersion = 'Biz,Perf,JXC'
WHERE FClientId = dbo.FNClientId('0539dfn')
AND FMachineId = '8529HS81K70WK01F'
SELECT * FROM TAppClient WHERE FClientNo LIKE '%0539d%'
UPDATE TAppClient SET FMemo = '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
WHERE FClientNo LIKE '%0539DiFanNi%'
UPDATE TAppClient SET FMemo = '۰<EFBFBD><EFBFBD>'
WHERE FClientNo LIKE '%0539dfn%'
DELETE TClientRegisterInfo WHERE FClientId = dbo.FNClientId('0539dfn')
AND FMachineId IN('K3S0K6S73A2KAAKA7H')
SELECT * FROM TAppClient WHERE FClientNo IN ('0539dfn','0539difanni')