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.

622 lines
18 KiB

1 year ago
use sq_zhiluo_nf
SELECT * FROM Master
SELECT * FROM Shop
SELECT * FROM yinchuan_xindadi_zhiluo..MemCard WHERE CardId = '680019'
SELECT * FROM yinchuan_xindadi_zhiluo..MemCard WHERE CardId = '680240'
WHERE shopId NOT IN(5,6)
SELECT * FROM CardLevel WHERE id = 17
SELECT * FROM MemCard WHERE State > 2
SELECT * FROM CardByCount
SELECT * FROM StaffClass
SELECT * FROM
use yinchuan_xindadi
SELECT * FROM yinchuan_xindadi_zhiluo..Shop
SELECT * FROM yinchuan_xindadi_zhiluo..CardLevel
SELECT * FROM TCompany
SELECT * FROM yinchuan_xindadi_zhiluo..MemCard
--<EFBFBD>ѻ<EFBFBD>Աת<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
SELECT * INTO TImpMember FROM yinchuan_xindadi_zhiluo..MemCard WHERE ShopId NOT IN(5,6)
--<EFBFBD>Ƴ<EFBFBD>ת<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
SELECT FCardNo = CardId, FItemName=Msg,TotalCount as FPurTimes,OverCount as FRemainTimes,StartTime as FCreateDate,EndTime AS FExpiredDate,Money as FPurAmount
INTO TImpMemberCourse
FROM yinchuan_xindadi_zhiluo..CardByCount
WHERE CardId IN(SELECT CardId FROM TImpMember)
SELECT * INTO TImpCustomField FROM yinchuan_xindadi_zhiluo..CustomField
--<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
INSERT INTO TMemberCardType(FId,FNo,FName,FValueType,FMaterial,FPrice,FCardFeeAmt,FAcctId,FDeposit,FAcctId2,FDeposit2,FAcctId3,FDeposit3,FTimes,FAlertBalance,FMinRchgAmt,FSalePointMode,FSalePointValue,FRchgPointMode,FRchgPointValue,FPaySmsFee,FTimeCard,FValidityPeriod,FValidityPeriodUnit,FExpiredDate,FDefaultMemo,FCreateTime,FAllowSale,FAllowRchg,FDeptId,FEnabled,FOrder)
SELECT FId =10000+Id, LevelName,LevelName as name,1,FMaterial = 2,0,FCardFeeAmt = 0,FAcctId = 3,FDeposit = 0,FAcctId2 = 0,FDeposit2 = 0 ,FAcctId3 = 0,FDeposit3 = 0,
FTimes = 0,FAlertBalance = 0,FMinRchgAmt = 0,FSalePointMode = 0,FSalePointValue = 0 ,FRchgPointMode = 0,FRchgPointValue = 0,FPaySmsFee = 0,FTimeCard = 0,FValidityPeriod = 100,FValidityPeriodUnit = 1,
FExpiredDate = NULL,FDefaultMemo = '',FCreateTime = GETDATE(),1,1,FDeptId = 0,FEnabled =1,FOrder = 1
FROM yinchuan_xindadi_zhiluo..CardLevel
WHERE Id IN(SELECT LevelId FROM TImpMember)
INSERT INTO TMemberCardTypeSub(FId,FCompId,FCardTypeId,FAllowSale,FAllowRchg,FEnabled)
SELECT dbo.FNNewId(),C.FId,I.FId,FAllowSale,FAllowRchg,FEnabled
FROM TMemberCardType AS I,TCompany AS C
WHERE I.FId > 1
AND C.FId != 0
AND NOT EXISTS(SELECT TOP 1 1 FROM TMemberCardTypeSub AS B WHERE B.FCompId = C.FId AND B.FCardTypeId = I.FId)
ALTER TABLE TImpMember ADD FMemId AS 10000 + Id
ALTER TABLE TImpMember ADD FCardId AS 20000 + Id
ALTER TABLE TImpMember ADD FMemNo AS CardId
ALTER TABLE TImpMember ADD FCardNo AS CardId
ALTER TABLE TImpMember ADD FName AS CASE WHEN ISNULL(Name,'') = '' THEN CASE WHEN ISNULL(Mobile,'') = '' THEN CardId ELSE Mobile END ELSE NAME END
ALTER TABLE TImpMember ADD FGender AS 0
ALTER TABLE TImpMember ADD FMobile AS ISNULL(Mobile,'')
ALTER TABLE TImpMember ADD FBirthdayType AS 'G'
ALTER TABLE TImpMember ADD FBirthday DATETIME
ALTER TABLE TImpMember ADD FCompId AS 1
ALTER TABLE TImpMember ADD FCardState AS CASE WHEN State = 1 THEN 4 WHEN State =2 THEN 5 ELSE 1 END
ALTER TABLE TImpMember ADD FCardTypeId AS 10000 + LevelId
ALTER TABLE TImpMember ADD FCreateDate AS ISNULL(CreateTime,getdate())
ALTER TABLE TImpMember ADD FExpiredDate AS CASE WHEN IsPast = 1 THEN PastTime ELSE '9000-01-01' END
ALTER TABLE TImpMember ADD FMemo VARCHAR(MAX)
ALTER TABLE TImpMember ADD FBalance AS Money
ALTER TABLE TImpMember ADD FBalance2 DECIMAL(18,6)
ALTER TABLE TImpMember ADD FDeleted BIT
UPDATE TImpMember SET FMemo = ''
DECLARE List CURSOR
FOR SELECT FieldName,Field FROM TImpCustomField
WHERE FieldName != '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
OPEN LIST
DECLARE @Name VARCHAR(100)
DECLARE @Field VARCHAR(100)
FETCH List INTO @Name,@Field
WHILE @@FETCH_STATUS = 0
BEGIN
IF EXISTS(SELECT 1 FROM syscolumns WHERE name = @Field)
BEGIN
DECLARE @Sql VARCHAR(1000)
SELECT @Sql = ' UPDATE TImpMember SET FMemo = FMemo + ''' + @Name + '<EFBFBD><EFBFBD>'' + ' + @Field + ' + ''
'' WHERE ISNULL('+@Field+','''') != '''' '
PRINT @Sql
EXEC(@SQL)
END
PRINT @Name
PRINT @Field
FETCH List INTO @Name,@Field
END
CLOSE LIST
DEALLOCATE LIST
UPDATE A
SET A.FMemo = B.FMemo
FROM TMemberCard AS A,TImpMember AS B
WHERE A.FCardId = B.FCardId
--<EFBFBD>Ƴ<EFBFBD>
CREATE TABLE TImpItem
(
FItemId BIGINT,
FCourseId BIGINT,
FNo VARCHAR(100),
FName VARCHAR(100)
)
INSERT TImpItem
SELECT DBO.FNNewId(),DBO.FNNewId(),FItemName,FItemName
FROM TImpMemberCourse
GROUP BY FItemName
SELECT * FROM TImpMemberCourse
ALTER TABLE TImpMemberCourse ADD FMemId BIGINT
ALTER TABLE TImpMemberCourse ADD FId BIGINT
ALTER TABLE TImpMemberCourse ADD FCourseId BIGINT
ALTER TABLE TImpMemberCourse ADD FItemId BIGINT
ALTER TABLE TImpMemberCourse ADD FCompId AS 1
UPDATE A
SET A.FMemId = B.FMemId
FROM TImpMemberCourse AS A,TImpMember AS B
WHERE A.FCardNo = B.FCardnO
UPDATE A
SET A.FCourseId = B.FCourseId,
A.FItemId = B.FItemId
FROM TImpMemberCourse AS A,TImpItem AS B
WHERE A.FItemName = B.FName
update TImpMemberCourse SET FId = dbo.FNNewId()
INSERT TItem(FId,FNo,FNoOfPad,FName,FAbbr,FTypeId,FBriefCode,FDescription,FPriceMode,FIsService,FStatTimes,FCustom1,FCustom2,FCustom3,FEnabled,FPrice,FVipPrice,FTime,FDctId,FPointMode,FPointValue,FDeptId,FAllowBooking)
SELECT FItemId,FNo,FName,FName,FName,0,dbo.FNGetFirstPinYin(FName),'',1,1,1,'','','',1,0,0,0,0,0,0,0,1
FROM TImpItem
INSERT INTO TCourse(FId,FNo,FName,FBriefCode,FItemId,FPackId,FSequence,FTypeId,FTimes,FFreeTimes,FDurable,FValidityPeriodUnit,FValidityPeriod,FCreateDate,FExpiredDate,FDescription,FEnabled,FPrice,FAmount,FCalcMode)
SELECT FCourseId AS FId,
I.FNo + 'L1',
I.FName + '-' + '<EFBFBD>Ƴ<EFBFBD>1' AS FName,
'' AS FBriefCode,
I.FItemId AS FItemId,
0 AS FPackId,
1 AS FSequence,
4822791688865541970 AS FTypeId,
1 AS FTimes,
0 AS FFreeTimes,
0 AS FDurable,
0 AS FValidityPeriodUnit,
0 AS FValidityPeriod,
getdate() AS FCreateDate,
NULL AS FExpiredDate,
'' AS FDescription,
1 AS FEnabled,
0 AS FPrice,
0 AS FAmount,
1 AS FCalcMode
FROM TImpItem AS I
SELECT * FROM TImpMember order by id
SELECT * FROM TImpMember WHERE CardID= '860355'
INSERT INTO TMember(
FMemId,
FMemNo,
FName,
FBriefCode,
FTypeId,
FCompId,
FCreateDate,
FGender,
FBirthdayType,
FBirthday,FTelephone,FMobilePhone,FQQ,FWeChat,FIdCard,FEmail,FAddress,FProId,FCPW,FQPW,
FChargeEmpId,FPoint,FRecvConsSMS,FRecvBulkSMS,FMemo,FCustom1,FCustom2,FCustom3,FCustom4,FCustom5)
SELECT FMemId AS FMemId,
FMemNo AS FMemNo,
FName AS FName,
dbo.FNGetFirstPinYin(FName),
0 AS FTypeId,
FCompId AS FCompId,
ISNULL( FCreateDate ,GETDATE()) AS FCreateDate,
FGender AS FGender,
FBirthdayType AS FBirthdayType,
FBirthday AS FBirthday,
'' AS FTelephone,
ISNULL(FMobile,'') AS FMobilePhone,
'' AS FQQ,
'' AS FWeChat,
'' AS FIdCard,
'' AS FEmail,
'' AS FAddress,
0 AS FProId,
'' AS FCPW,
'' AS FQPW,
0 AS FChargeEmpId,
0 AS FPoint,
1 AS FRecvConsSMS,
1 AS FRecvBulkSMS,
'' AS FMemo,
'<EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS FCustom1,'' AS FCustom2,'' AS FCustom3,'' AS FCustom4,'' AS FCustom5
from TImpMember
WHERE CardId NOT IN(
SELECT CardId
FROM TImpMember
GROUP BY CardId
HAVING(SUM(1) > 1))
INSERT INTO TMemberCard(
FCardId,
FCardNo,
FTypeId,
FValueType,
FCompId,
FMemId,
FState,
FCreateDate,
FExpiredDate,
FTotalTimes,
FUsedTimes,
FSaleCompId,
FSaleBillId,
FMemo)
SELECT
FCardId AS FId,
FMemNo AS FNo,
FCardTypeId AS FTypeId,
(SELECT FValueType FROM TMemberCardType WHERE FId = FCardTypeId) AS FValueType,
FCompId AS FCompId,
FMemId AS FMemId,
FCardState AS FState,
FCreateDate AS FCreateDate,
FExpiredDate = ISNULL(FExpiredDate,DATEADD(YEAR,100,FCreateDate)),
0 AS FTotalTimes,
0 AS FUsedTimes,
FCompId AS FSaleCompId,
0 AS FSaleBillId,
FMemo AS FMemo
FROM TImpMember
WHERE FCardTypeId IS NOT NULL
AND FMemId IN(SELECT FMemId FROM TMember)
INSERT TMemberCardAccount(FMemId,FId,FCardId,FAcctId,FDeposit,FBalance,FArrear,FCreateDate,FExpiredDate,FMemo)
SELECT FMemId,dbo.FNNewId(),FCardId AS FCardId,3,FBalance,FBalance,0,FCreateDate,NULL AS FExpiredDate,''
FROM TImpMember
WHERE FCardTypeId IS NOT NULL
AND FMemId IN(SELECT FMemId FROM TMember)
INSERT TMemberCardAcctHist(FId,FMemId,FCardId,FAcctId,FTime,FCardTypeId,FCompId,FBillType,FBizType,FTransId,FTransNo,FInAmount,FOutAmount,FBalance,FArrear,FRecordTime,FMemo)
select dbo.FNNewId(),A.FMemId,A.FCardId,3,getdate(),A.FCardTypeId,A.FCompId,'DR','Import',0,'',A.FBalance,0,A.FBalance,0,getdate(),'<EFBFBD><EFBFBD>ɳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
FROM TImpMember AS A
WHERE FCardTypeId IS NOT NULL
AND FMemId IN(SELECT FMemId FROM TMember)
INSERT TMemberCourse(FId,FMemId,FCourseId,FMemPackId,FItemId,FCompId,FPurTimes,FPurAmount,FFreeTimes,FUsedPurTimes,FFreeAmount,FPurchaseDate,FExpiredDate,FBizType,FTransId,FArrear,FDurable,FMemo,FCalcMode,FAdjustPrice)
SELECT FId,FMemId,FCourseId,0,FItemId,FCompId,FPurTimes,ISNULL(FPurAmount,0),0,FPurTimes - FRemainTimes AS FUsedPurTimes,0,FCreateDate,FExpiredDate,'DR.Import',0,0,0,'',1,FPurAmount / FPurTimes
FROM TImpMemberCourse
--WHERE FCourseId IS NOT NULL
WHERE FMemId IN(SELECT FMemId FROM TMember)
AND FId NOT IN(SELECT FId FROM TMemberCourse)
AND FItemName IN(SELECT FName FROM TImpItem)
INSERT INTO TMemberCourseLog(FId,FMemId,FCardId,FPackId,FCourseId,FTime,FInPurTimes,FInFreeTimes,FOutPurTimes,FOutFreeTimes,
FCompId,
FBillType,FBizType,FBillId,FBillNo,FBillDetailId)
SELECT dbo.FNNewId(),FMemId,FId,0,FCourseId,FTime = getdate(),FPurTimes,FPurTimes - FRemainTimes AS FUsedPurTimes,0,0,
FCompId,
'DR','Import',0,'',0
FROM TImpMemberCourse
WHERE FMemId IN(SELECT FMemId FROM TMember)
AND FItemName IN(SELECT FName FROM TImpItem)
DELETE TImpItem
WHERE FName NOT IN(
SELECT F FROM
(
SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD>ʻ<EFBFBD>ԭ' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĥ<EFBFBD>ײ<EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>ҽ<EFBFBD><EFBFBD>ȥмֹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT 'ë<EFBFBD><EFBFBD>ҽ<EFBFBD><EFBFBD>' AS F
UNION ALL SELECT 'Ӫ<EFBFBD><EFBFBD><EFBFBD>h<EFBFBD>ͼӹ<EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT 'ɫ<EFBFBD><EFBFBD>368' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD>¹<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӫ<EFBFBD><EFBFBD>120' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD>ܷ<EFBFBD>Ĥ' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˮ<EFBFBD>ư<EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT 'ʩ<EFBFBD><EFBFBD>ޢ1380<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '198<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD>ܼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ⱦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʦ<EFBFBD><EFBFBD>Ⱦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>ҽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ⱦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD>̻<EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT 'ͷƤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ⱦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>80' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>100<EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD>ܼ<EFBFBD>ȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD>ܼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>ʿ<EFBFBD><EFBFBD><EFBFBD>ܰ<EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ⱦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>Ⱦ<EFBFBD><EFBFBD>' AS F
UNION ALL SELECT 'ɫ<EFBFBD><EFBFBD>180' AS F
UNION ALL SELECT 'Ⱦɫ498' AS F
UNION ALL SELECT '<EFBFBD>˲<EFBFBD>¡488<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˮ<EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>ҽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT 'Ӫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>180' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӫ<EFBFBD><EFBFBD>180' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD>ܼ<EFBFBD>ȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT 'Ӫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>120' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʦӪ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD>ܼ<EFBFBD>Ⱦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʦȾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӫ<EFBFBD><EFBFBD>280' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD>ܼ<EFBFBD>Ӫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΰ<EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD>h<EFBFBD><EFBFBD>180' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>ҽ<EFBFBD><EFBFBD>ȫ<EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD>ֺ<EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>40' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>80' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʦȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD>h<EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>ϯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>Ⱦ2299' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT 'ȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>η<EFBFBD>Ĥ' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT 'JLӪ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>30' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD>ܼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>ɯ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>50' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD>ܼ<EFBFBD><EFBFBD><EFBFBD>Ⱦ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>50' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>30' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD>ҽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˬ<EFBFBD><EFBFBD>' AS F
UNION ALL SELECT '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӫ<EFBFBD><EFBFBD>480' AS F
) AS T )