【Begin】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:40 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Code":"Base_LoadWindowCom_C_cmd3_010","SQLMapFile":"CmdSQLMap3.config"}
【Debugger】 2019-09-08 08:53:40 192.168.109.123
SQL语句:
select c.*,k.parkfullname from sys_computer c left join sys_park k on c.fparkcode=k.parkcode where k.deleted=0
SQL语句参数:无。
【Info】 2019-09-08 08:53:40 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:40 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:Base_GetVerificationCode
对应参数:
data:
【Debugger】 2019-09-08 08:53:40 192.168.109.123
SQL语句:select PARAMCODE,PARAMVALUE from sys_param where PARAMCODE='0002' or PARAMCODE='0003'
SQL语句参数:
【Info】 2019-09-08 08:53:40 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:40 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:GetVerificationLogin
对应参数:
data:
【Debugger】 2019-09-08 08:53:40 192.168.109.123
SQL语句:select PARAMCODE,PARAMVALUE from sys_param where PARAMCODE=3001 or PARAMCODE=3002 or PARAMCODE=3003 or PARAMCODE=3004 or PARAMCODE=3005
SQL语句参数:
【Info】 2019-09-08 08:53:40 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:40 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:GetUserPwdModifiedTime
对应参数:
data:
hssp001
0
【Debugger】 2019-09-08 08:53:40 192.168.109.123
SQL语句:SELECT * FROM SYS_OPERATOR WHERE MODIFIED_TIME>to_date('2019-09-08 08:53:40','yyyy-MM-dd HH24:Mi:ss') AND (OPERATORCODE='HSSP001' OR OPERATORCODE='hssp001')
SQL语句参数:
【Info】 2019-09-08 08:53:40 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"Root","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:40 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:Base_LoginWithOutValidateCodeXml
对应参数:
userName:hssp001
pwd:C4CA4238A0B923820DCC509A6F75849B
Version:
ip:192.168.109.123/192.168.123.113
mac:D8-CB-8A-2E-A9-77
【Debugger】 2019-09-08 08:53:40 192.168.109.123
SQL语句:select * from SYS_OPERATOR where OPERATORCODE=:OPERATORCODE and OPERATORPASS=:OPERATORPASS
SQL语句参数(共2个):
{"ParameterName:"OPERATORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"OPERATORPASS","Value":"C4CA4238A0B923820DCC509A6F75849B","DbType":"String"}
【Debugger】 2019-09-08 08:53:40 192.168.109.123
SQL语句:select identify from sys_dept where fid = '58E03E673C7747FF825A9F66F4FA4F32'
SQL语句参数:无。
【Debugger】 2019-09-08 08:53:40 192.168.109.123
SQL语句:insert into WEB_SYS_OPERATORLOGIN(FID,OPERATORCODE,OPERATORNAME,LASTLOGINIP,FTYPE,FMAC) values ('DAAE7C21F8E846C8844DA6C234966D1D','HSSP001','HSSP001','192.168.109.123/192.168.123.113',1,'D8-CB-8A-2E-A9-77')
SQL语句参数:无。
【Debugger】 2019-09-08 08:53:40 192.168.109.123
SQL语句:
select * from
(
with X as
(
select distinct B.FID,B.PlugCode,B.PlugName,B.ParentID,B.PlugType,B.WPFUrl,B.PlugUrl,B.ImpOnWPF,A.SysCode, A.SubSystemSort,A.PlugSort,b.PICNAME,c.btn
from view_BIM_OperatorSubSystemPlug A
join web_sys_plug B on A.PlugCode = B.PlugCode
left join
(
select fplugid,to_char(wm_concat(fbuttoncode)) btn
from
(
select rpb.fplugid,pb.fbuttoncode
from web_sys_roleplugbutton rpb left join web_sys_plugbutton pb
on rpb.fbuttonid = pb.fid and rpb.froleid in (select t.roleid from web_sys_roleoperator t where t.operatorid = :OperatorID)
)
group by fplugid
) c on c.fplugid = b.fid
where operatorID=:OperatorID and WPFUrl is not null and imponwpf>0 and state=1 and deleted = 0
)
select * from X
union
select distinct B.FID,B.PlugCode,B.PlugName,B.ParentID,B.PlugType,B.WPFUrl,B.PlugUrl,B.ImpOnWPF,A.SysCode, A.SubSystemSort,A.PlugSort,b.PICNAME,c.btn
from view_BIM_OperatorSubSystemPlug A
join web_sys_plug B on A.PlugCode = B.PlugCode
left join
(
select fplugid,to_char(wm_concat(fbuttoncode)) btn
from
(
select rpb.fplugid,pb.fbuttoncode
from web_sys_roleplugbutton rpb left join web_sys_plugbutton pb
on rpb.fbuttonid = pb.fid and rpb.froleid in (select t.roleid from web_sys_roleoperator t where t.operatorid = :OperatorID)
)
group by fplugid
) c on c.fplugid = b.fid
where operatorID=:OperatorID and WPFUrl is not null and state=1 and deleted = 0 and B.FID in (select ParentID from X)
)
order by SubSystemSort,PlugSort
SQL语句参数(共4个):
{"ParameterName:"OperatorID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"},
{"ParameterName:"OperatorID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"},
{"ParameterName:"OperatorID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"},
{"ParameterName:"OperatorID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"}
【Info】 2019-09-08 08:53:40 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:40 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:Base_GetUserDetail
对应参数:
operatorid:177FFEDC45E3490E9F149C711CECB3E1
【Debugger】 2019-09-08 08:53:40 192.168.109.123
SQL语句:SELECT P.PARKCODE,P.PARKSHORTNAME,S.STORAGECODE,S.STORAGENAME,T.ISTICKETSELLER,T.TDTICKETFLAG,T.SKTICKETFLAG,T.CONTICKETFLAG,T.PARKPOWERFLAG,O.FID AS SETTLE FROM SYS_OPERATOR T LEFT JOIN SYS_PARK P ON P.PARKCODE = T.PARKCODE LEFT JOIN STO_STORAGE S ON S.STORAGECODE = T.STORAGECODE LEFT JOIN (SELECT FID,CREATE_OPTORCODE AS OPTORCODE FROM TKT_OPTORBALANCE WHERE BALANCEDATE=:BALANCEDATE) O ON O.OPTORCODE = T.OPERATORCODE WHERE T.FID=:OPERATORID
SQL语句参数:
参数名:BALANCEDATE000
参数值:2019/9/8 0:00:00
参数类型:Date
参数名:OPERATORID001
参数值:177FFEDC45E3490E9F149C711CECB3E1
参数类型:String
----------
【Info】 2019-09-08 08:53:40 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:40 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:41 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:41 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:Base_GetDefaultDBTip
对应参数:
【Info】 2019-09-08 08:53:41 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:41 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:41 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:41 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Code":"Base_GetOptorStockData_C_cxk_002","SQLMapFile":"XzhSQLMap.config","Parameters":{"OptorCode":"HSSP001"}}
【Debugger】 2019-09-08 08:53:41 192.168.109.123
SQL语句:
SELECT * FROM (
--数量库存
SELECT (B.TICKETTYPENAME ||'(' ||B.BARCODETYPE||')') AS TICKETTYPENAME,B.BARCODETYPE,A.OBJECTCODE AS HANDLEMAN,'/' AS BEGINBARCODE, '/' AS ENDBARCODE,A.LEFTCOUNT ,A.LEFTCOUNT AS AMOUNT,0 AS TICKETTYPEFLAG , '数量库存' as ticketTypeFlagName
FROM STO_STOCKCOUNT A
INNER JOIN STO_TICKETTYPE B ON A.TICKETTYPECODE = B.TICKETTYPECODE
WHERE B.USEFLAG=0 AND A.OBJECTCODE=:OptorCode AND B.TICKETTYPEFLAG=0
UNION
--明细库存
SELECT (B.TICKETTYPENAME ||'(' ||B.BARCODETYPE||')') AS TICKETTYPENAME,B.BARCODETYPE, T.STORAGECODE AS HANDLEMAN, T.BEGINTICKETCODE AS BEGINBARCODE, T.ENDTICKETCODE AS ENDBARCODE,T.TICKETAMOUNT AS LEFTCOUNT, T.TICKETAMOUNT AS AMOUNT,1 AS TICKETTYPEFLAG ,'明细库存'
FROM STO_STOCKDETAIL T INNER JOIN STO_TICKETTYPE B ON T.TICKETTYPECODE=B.TICKETTYPECODE
WHERE T.TICKETSTATUS = 0 AND T.STORAGECODE=:OptorCode
) T ORDER BY T.TICKETTYPEFLAG ASC
SQL语句参数(共2个):
{"ParameterName:"OptorCode","Value":"HSSP001","DbType":"String"},
{"ParameterName:"OptorCode","Value":"HSSP001","DbType":"String"}
【Info】 2019-09-08 08:53:41 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"ItemList","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:41 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:41 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:41 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_ShowStockModel_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE","Condition":{"PARAMCODE":"0025"}}
【Debugger】 2019-09-08 08:53:41 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 08:53:41 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"0025","DbType":"String"}
【Info】 2019-09-08 08:53:41 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:41 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:49 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:49 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetStockModel_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE","Condition":{"PARAMCODE":"0025"}}
【Debugger】 2019-09-08 08:53:49 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 08:53:49 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"0025","DbType":"String"}
【Info】 2019-09-08 08:53:49 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:49 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:49 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:49 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetStockTypeData_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE ","Condition":{"PARAMCODE":"0025"}}
【Debugger】 2019-09-08 08:53:49 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 08:53:49 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"0025","DbType":"String"}
【Info】 2019-09-08 08:53:49 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:49 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:49 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:49 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetReputationStateTypeXml_C_(COMMON)","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE ","Condition":{"PARAMCODE":"0030"}}
【Debugger】 2019-09-08 08:53:49 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 08:53:49 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"0030","DbType":"String"}
【Info】 2019-09-08 08:53:49 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:49 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:49 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:49 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTicketSalesBaseData_C","Code":"Base_GetTicketSalesBaseData_C_zjw_002_By_Licl","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPERATORID":"177FFEDC45E3490E9F149C711CECB3E1","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 08:53:49 192.168.109.123
SQL语句: SELECT
--TICKETMODEL TM
TM.MONFLAG,
TM.TUESFLAG,
TM.WEDFLAG,
TM.THURSFLAG,
TM.FRIDAYFLAG,
TM.SATFLAG,
TM.SUNFLAG,
TM.DATERANGEFLAG, ---星期限制
TM.TICKETMODELCODE AS TMC, --票型编号********
TM.TICKETMODELGROUPCODE AS TMG, --票型分组编号
TM.TICKETMODELNAME AS TMN, --票型名称********
TM.TICKETSALEMODEL AS TSM, --售票类型:电脑售票、手工售票
--TM.TICKETUNITCOUNT AS TUC, --单票成员数量
TM.TICKETMODELTYPE AS TMT, --票型类型:01、散客 02、团队 03、团散客 04、协议票/政策票(NEW)
TM.TICKETMODELKIND AS TMK, --票种编号
TM.TICKETMODELKINDNAME AS TMKN, --票种名称
TM.SEASONTYPE AS ST, --季节类型 0:淡季 1:旺季 2:淡旺季
TM.BARCODETYPE AS BCT, --条码标记 与门票类型中的条码标记相对于--MP,HW等等
TM.REBATE, --折扣率
TM.REBATEPRICE AS RP,
TM.SORT, --此处为2.0分组所用
TM.REMARK, --此处为2.0门票所用
TM.REBATEPRICE AS TM_RP, --2.0为分成所用
TM.BUYLIMITCOUNT AS BLC,
TM.FBELONGCODE AS FBCODE, --2.0.1为归属景点(绍兴版本)
TM.ISCHARTBOAT AS IS_BOAT, --V2.0.2是否包船票
TM.ISFITPOST, --V2.0.2是否补差价 :0 不补差价,1:补差价
TM.FITPOST, --V2.0.2补差价
TM.PRINTFITMODEL, --2.0.2散客打印方式(通用版本)
TM.PRINTTEAMMODEL, --2.0.2团队打印方式(通用版本)
TEMP1.Remark AS FITPRINTTEMP, --散客打印模板(九华山版本)
TEMP2.REMARK AS TEAMPRINTTEMP, --团队打印模板(九华山版本)
TM.VALIDDAYS AS VD, --有效天数 ********(INVALIDATE门票失效时间)
TM.USERCOUNT AS UC, --一个票型的可使用人数(TKT_CHECKDETAIL--使用人数)********
TM.CHILDCOUNT AS CC, -----小朋友人数
TM.SHOWPRICE AS SP, --票面显示价格 ********
TM.PRINTPRICETYPE AS PPT, --价格打印内容类型 0 票面价格 1 折扣价格/销售价 ********
TM.TAXPRICE AS TP, --打印发票金额,如果设置0表示不打印发票 ********
TM.DIVTYPE, --分成方式 0 权重分成 1 固定金额分成 2 先固定后权重 ********
TM.RETTKTFLAG AS RTF, --允许退票标志 0:不允许退票 1:允许部分退票 2:只能全部退票 ********
TM.EDITPRICEFLAG AS EPF, --售票是否允许修改价格 0 不允许 1 允许 ********
TM.VERIFYFINGERFLAG AS VFF, --指纹验证标志 0:不需要验证指纹,1:需要验证指纹 ********
TM.REGCERT AS RC, ----优惠票用,是否登记证件 0 不登记 1 登记 ********
TM.BARCODERULE AS TM_BR, --条码生成规则(全局为自定义生成规则时 则用当前规则)
TM.DAYORNIGHTFIELD, --日夜场标志
--SYS_TICKETMODELGROUP TMG
TMG.TICKETMODELGROUPCODE AS TMG_TMGC,
TMG.TICKETMODELGROUPNAME AS TMG_TMGN,
--STO_TICKETTYPE TT
VTM.EDATE,
VTM.LDATE,
TT.POSTFIXLEN AS TT_CODELENGTH, --票型长度
TT.TICKETTYPECODE AS TT_TTC,
TT.Tickettypename AS TT_TTN,
TT.BARCODETYPE AS TT_BT,
TT.TICKETTYPEFLAG AS TT_TTF,
TT.ISPRINT, --是否打印
(CASE
WHEN TT.TICKETTYPEFLAG = 0 THEN
'打印'
WHEN TT.TICKETTYPEFLAG = 1 THEN
'印刷'
END) AS TT_TTFN,
--SYS_DICTDETAIL SD
SD.DICTDETAILCODE AS SD_DC,
SD.DICTDETAILNAME AS SD_DN,
/*----------------------(2.0新增) begion-----*/
TM.FID AS TM_ID,
TM.FPARENTID AS TM_FPARENTID,
TM.FTICKETTYPE AS TM_FTICKETTYPE,
/*TM.FCN,
TM.FCM,*/
TM.FUSEEXPRESSION, --SYS_TICKETMODEL
TMCI.FTICKETMODELCODE,
TMCI.FITEMTYPE,
TMCI.FITEMCODE,
TMCI.FFROMCODE,
TMCI.FTOCODE,
TMCI.FCHECKCOUNT,
TMCI.FID AS TMCIFID,
TMCI.FPRINTONLY AS TMCIFFPRINTONLY, --TMCI-SYS_TICKETMODELCITEM
TMDI.FID AS TMDI_FID,
TMDI.FITEMTYPE AS TMDI_FITEMTYPE,
TMDI.FCODE AS TMDI_FCODE,
--TMDI.FEXPRESSIONCODE AS TMDI_FEXPRESSIONCODE, --TMDI-SYS_TICKETMODELDITEM
TMDI.FDIVIDEMONEY AS TMDI_FDIVIDEMONEY,
TMDI.FSCALE AS TMDI_FSCALE,
TMDI.FSORT AS TMDI_FSORTT,
TM.FISTICKETGROUP AS TM_ISSINGLE --是否为联票 -0 否 1 是
/*----------------------(2.0新增) end-----*/
FROM SYS_TICKETMODEL TM
/*----------------begin SYS_DICTDETAIL TEMP1 散客打印模板 TEMP2 团队打印模板 ----------------------*/
LEFT JOIN SYS_DICTDETAIL TEMP1
ON TM.PRINTFITCODE = TEMP1.DICTDETAILCODE
AND TEMP1.Dictcode = 211
LEFT JOIN SYS_DICTDETAIL TEMP2
ON TM.PRINTTEAMCODE = TEMP2.DICTDETAILCODE
AND TEMP2.Dictcode = 211
/*--- end ----*/
/*----------------begin SYS_TICKETMODELCITEM TMCI检票元素 ----------------------*/
LEFT JOIN SYS_TICKETMODELCITEM TMCI
ON TMCI.FTICKETMODELCODE = TM.TICKETMODELCODE
AND TM.USEFLAG = 0
/*--- end ----*/
/*----------------begin SYS_TICKETMODELDITEM TMDI分成元素 --------------------------*/
LEFT JOIN SYS_TICKETMODELDITEM TMDI
ON TMDI.FTICKETMODELCODE = TM.TICKETMODELCODE
AND TM.USEFLAG = 0
/*--- end ----*/
INNER JOIN SYS_TICKETMODELGROUP TMG
ON TMG.TICKETMODELGROUPCODE = TM.TICKETMODELGROUPCODE
AND TMG.USEFLAG = 0
INNER JOIN STO_TICKETTYPE TT
ON TT.BARCODETYPE = TM.BARCODETYPE
AND TT.TICKETTYPEFLAG != 2
INNER JOIN SYS_DICTDETAIL SD
ON SD.DICTDETAILCODE = TM.TICKETMODELKIND
AND SD.dictcode = 101
LEFT JOIN VIEW_TKT_TICKETMODEL VTM
ON TM.TICKETMODELCODE = VTM.TICKETMODELCODE
--判断淡旺季
WHERE (EXISTS (SELECT SEASONTYPE
FROM SYS_SEASONTYPE ST1
WHERE ST1.SEASONTYPE = TM.SEASONTYPE
AND BEGDATE <= (SELECT TRUNC(SYSDATE) FROM DUAL)
AND ENDDATE >= (SELECT TRUNC(SYSDATE) FROM DUAL)) OR
TM.SEASONTYPE = 2)
AND TM.USEFLAG = 0
--判断票型权限
AND EXISTS
(SELECT 1
FROM WEB_SYS_ROLE SR
INNER JOIN WEB_SYS_ROLEOPERATOR SRO
ON SRO.ROLEID = SR.FID
INNER JOIN SYS_ROLETICKETMODEL RTM
ON RTM.ROLEID = SR.FID
WHERE TM.FISSHOWTEAM = 1
AND SRO.OPERATORID = :OPERATORID
AND RTM.TICKETMODELCODE = TM.TICKETMODELCODE)
--售票限制日期
and (tm.daterangeflag = 0 or
(tm.daterangeflag = 1 and trunc(sysdate) >= tm.begdate and
trunc(sysdate) <= tm.enddate))
--售票限制时间(赵斌 2014-10-22修改)
and (tm.timerangeflag = 0 or
(tm.timerangeflag = 1 and
TO_CHAR(sysdate, 'hh24:mi:ss') >= tm.begtime and
TO_CHAR(sysdate, 'hh24:mi:ss') <= tm.endtime))
--判断是否可卖该票型(add Licl 2016-03-08)
and EXISTS (select 1
from SYS_TICKETMODELPARKLIST T
where T.TICKETMODELCODE = TM.Ticketmodelcode
and T.PARKCODE = :PARKCODE)
ORDER BY TM.SORT
SQL语句参数(共2个):
{"ParameterName:"OPERATORID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 08:53:50 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:50 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:50 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:50 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTicketSalesBaseDataNo_C_zjw_002_01_By_Licl","Code":"Base_GetTicketSalesBaseDataNo_C_zjw_002_01_By_Licl","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPERATORID":"177FFEDC45E3490E9F149C711CECB3E1"}}
【Debugger】 2019-09-08 08:53:50 192.168.109.123
SQL语句:
SELECT
--TICKETMODEL TM
TM.MONFLAG,
TM.TUESFLAG,
TM.WEDFLAG,
TM.THURSFLAG,
TM.FRIDAYFLAG,
TM.SATFLAG,
TM.SUNFLAG,
TM.DATERANGEFLAG, ---星期限制
TM.TICKETMODELCODE AS TMC, --票型编号********
TM.TICKETMODELGROUPCODE AS TMG, --票型分组编号
TM.TICKETMODELNAME AS TMN, --票型名称********
TM.TICKETSALEMODEL AS TSM, --售票类型:电脑售票、手工售票
--TM.TICKETUNITCOUNT AS TUC, --单票成员数量
TM.TICKETMODELTYPE AS TMT, --票型类型:01、散客 02、团队 03、团散客 04、协议票/政策票(NEW)
TM.TICKETMODELKIND AS TMK, --票种编号
TM.TICKETMODELKINDNAME AS TMKN,--票种名称
TM.SEASONTYPE AS ST, --季节类型 0:淡季 1:旺季 2:淡旺季
TM.BARCODETYPE AS BCT, --条码标记 与门票类型中的条码标记相对于--MP,HW等等
--TM.PRICESUM AS PU, --单票合计价格 ********
TM.REBATE, --折扣率
--TM.REBATEPRICE AS RP,
TM.SORT, --此处为2.0分组所用
TM.REMARK, --此处为2.0门票所用
TM.REBATEPRICE AS TM_RP, --2.0为分成所用
TM.BUYLIMITCOUNT AS BLC,
TM.FBELONGCODE AS FBCODE, --2.0.1为归属景点(绍兴版本)
TM.ISCHARTBOAT AS IS_BOAT, --V2.0.2是否包船票
TM.ISFITPOST, --V2.0.2是否补差价 :0 不补差价,1:补差价
TM.FITPOST, --V2.0.2补差价
TM.PRINTFITMODEL, --2.0.2散客打印方式(通用版本)
TM.PRINTTEAMMODEL, --2.0.2团队打印方式(通用版本)
TEMP1.Remark AS FITPRINTTEMP, --散客打印模板(九华山版本)
TEMP2.REMARK AS TEAMPRINTTEMP, --团队打印模板(九华山版本)
TM.VALIDDAYS AS VD, --有效天数 ********(INVALIDATE门票失效时间)
TM.USERCOUNT AS UC, --一个票型的可使用人数(TKT_CHECKDETAIL--使用人数)********
TM.CHILDCOUNT AS CC, -----小朋友人数
TM.SHOWPRICE AS SP, --票面显示价格 ********
TM.PRINTPRICETYPE AS PPT, --价格打印内容类型 0 票面价格 1 折扣价格/销售价 ********
TM.TAXPRICE AS TP, --打印发票金额,如果设置0表示不打印发票 ********
TM.DIVTYPE, --分成方式 0 权重分成 1 固定金额分成 2 先固定后权重 ********
TM.RETTKTFLAG AS RTF, --允许退票标志 0:不允许退票 1:允许部分退票 2:只能全部退票 ********
TM.EDITPRICEFLAG AS EPF, --售票是否允许修改价格 0 不允许 1 允许 ********
TM.VERIFYFINGERFLAG AS VFF, --指纹验证标志 0:不需要验证指纹,1:需要验证指纹 ********
TM.REGCERT AS RC, ----优惠票用,是否登记证件 0 不登记 1 登记 ********
TM.BARCODERULE AS TM_BR,--条码生成规则(全局为自定义生成规则时 则用当前规则)
TM.DAYORNIGHTFIELD, --日夜场标志
--SYS_TICKETMODELGROUP TMG
TMG.TICKETMODELGROUPCODE AS TMG_TMGC,
TMG.TICKETMODELGROUPNAME AS TMG_TMGN,
VTM.EDATE,
VTM.LDATE,
--STO_TICKETTYPE TT
TT.POSTFIXLEN AS TT_CODELENGTH,--票型长度
TT.TICKETTYPECODE AS TT_TTC,
TT.Tickettypename AS TT_TTN,
TT.BARCODETYPE AS TT_BT,
TT.TICKETTYPEFLAG AS TT_TTF,
TT.ISPRINT,--是否打印
(CASE
WHEN TT.TICKETTYPEFLAG = 0 THEN
'打印'
WHEN TT.TICKETTYPEFLAG = 1 THEN
'印刷'
END) AS TT_TTFN,
--SYS_DICTDETAIL SD
SD.DICTDETAILCODE AS SD_DC,
SD.DICTDETAILNAME AS SD_DN,
/*----------------------(2.0新增) begion-----*/
TM.FID AS TM_ID,
TM.FPARENTID AS TM_FPARENTID,
TM.FTICKETTYPE AS TM_FTICKETTYPE,
--TM.FCN,
--TM.FCM,
TM.FUSEEXPRESSION, --SYS_TICKETMODEL
TMCI.FTICKETMODELCODE,
TMCI.FITEMTYPE,
TMCI.FITEMCODE,
TMCI.FFROMCODE,
TMCI.FTOCODE,
TMCI.FCHECKCOUNT,
TMCI.FID AS TMCIFID,
TMCI.FPRINTONLY AS TMCIFFPRINTONLY, --TMCI-SYS_TICKETMODELCITEM
TMDI.FID AS TMDI_FID,
TMDI.FITEMTYPE AS TMDI_FITEMTYPE,
TMDI.FCODE AS TMDI_FCODE,
--TMDI.FEXPRESSIONCODE AS TMDI_FEXPRESSIONCODE, --TMDI-SYS_TICKETMODELDITEM
TMDI.FDIVIDEMONEY AS TMDI_FDIVIDEMONEY,
TMDI.FSCALE AS TMDI_FSCALE,
TMDI.FSORT AS TMDI_FSORTT,
TM.FISTICKETGROUP AS TM_ISSINGLE --是否为联票 -0 否 1 是
/*----------------------(2.0新增) end-----*/
FROM SYS_TICKETMODEL TM
/*----------------begin SYS_DICTDETAIL TEMP1 散客打印模板 TEMP2 团队打印模板 ----------------------*/
LEFT JOIN SYS_DICTDETAIL TEMP1
ON TM.PRINTFITCODE = TEMP1.DICTDETAILCODE
AND TEMP1.Dictcode = 211
LEFT JOIN SYS_DICTDETAIL TEMP2
ON TM.PRINTTEAMCODE = TEMP2.DICTDETAILCODE
AND TEMP2.Dictcode = 211
/*--- end ----*/
/*----------------begin SYS_TICKETMODELCITEM TMCI检票元素 ----------------------*/
LEFT JOIN SYS_TICKETMODELCITEM TMCI
ON TMCI.FTICKETMODELCODE = TM.TICKETMODELCODE
AND TM.USEFLAG=0
/*--- end ----*/
/*----------------begin SYS_TICKETMODELDITEM TMDI分成元素 --------------------------*/
LEFT JOIN SYS_TICKETMODELDITEM TMDI
ON TMDI.FTICKETMODELCODE = TM.TICKETMODELCODE
AND TM.USEFLAG=0
/*--- end ----*/
INNER JOIN SYS_TICKETMODELGROUP TMG
ON TMG.TICKETMODELGROUPCODE = TM.TICKETMODELGROUPCODE
AND TMG.USEFLAG=0
INNER JOIN STO_TICKETTYPE TT
ON TT.BARCODETYPE = TM.BARCODETYPE
AND TT.TICKETTYPEFLAG != 2
INNER JOIN SYS_DICTDETAIL SD
ON SD.DICTDETAILCODE = TM.TICKETMODELKIND
AND SD.Dictcode = 101
LEFT JOIN VIEW_TKT_TICKETMODEL VTM
ON TM.TICKETMODELCODE = VTM.TICKETMODELCODE
--判断淡旺季
WHERE (EXISTS (SELECT SEASONTYPE
FROM SYS_SEASONTYPE ST1
WHERE ST1.SEASONTYPE = TM.SEASONTYPE
AND BEGDATE <= (SELECT TRUNC(SYSDATE) FROM DUAL)
AND ENDDATE >= (SELECT TRUNC(SYSDATE) FROM DUAL)) OR
TM.SEASONTYPE = 2)
AND TM.USEFLAG=0
--判断票型权限
AND EXISTS (SELECT 1
FROM WEB_SYS_ROLE SR
INNER JOIN WEB_SYS_ROLEOPERATOR SRO
ON SRO.ROLEID = SR.FID
INNER JOIN SYS_ROLETICKETMODEL RTM
ON RTM.ROLEID = SR.FID
WHERE TM.FISSHOWTEAM = 1
AND SRO.OPERATORID = :OPERATORID
AND RTM.TICKETMODELCODE = TM.TICKETMODELCODE)
--售票限制日期
and (tm.daterangeflag = 0 or
(tm.daterangeflag = 1 and trunc(sysdate) >= tm.begdate and
trunc(sysdate) <= tm.enddate))
--售票限制时间(赵斌 2014-10-22修改)
and (tm.timerangeflag = 0 or
(tm.timerangeflag = 1 and
TO_CHAR(sysdate, 'hh24:mi:ss') >= tm.begtime and
TO_CHAR(sysdate, 'hh24:mi:ss') <= tm.endtime))
ORDER BY TM.SORT
SQL语句参数(共1个):
{"ParameterName:"OPERATORID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"}
【Info】 2019-09-08 08:53:50 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:50 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:50 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:50 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTicketSalesFilmData_C_lp_004","Code":"Base_GetTicketSalesFilmData_C_lp_004","SQLMapFile":"LpSQLMap.config"}
【Debugger】 2019-09-08 08:53:50 192.168.109.123
SQL语句:
SELECT * FROM VIEW_FILMTICKETMODEL
SQL语句参数:无。
【Info】 2019-09-08 08:53:50 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"ItemList","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:50 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:50 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:50 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetClientInfoData_C_(COMMON)","Code":"Base_GetClientInfoData","SQLMapFile":"LpSQLMap.config","DataAuthority":false,"PlugCode":"ClientInfoManage","ShowTree":false,"OptorParameters":{"OptorID":"177FFEDC45E3490E9F149C711CECB3E1","OptorCode":"HSSP001"}}
【Debugger】 2019-09-08 08:53:50 192.168.109.123
SQL语句:
SELECT * FROM (
SELECT CLIENTCODE,CLIENTFULLNAME,CONTRACTFLAG,PYCODE,AREACODE,BEGINDATE,ENDDATE,CLIENTSTATUS,ORGID,CREATE_OPTORCODE FROM CLT_CLIENTINFO
WHERE USEFLAG=0 AND DELETED=0
ORDER BY CLIENTCODE
)
SQL语句参数:无。
【Info】 2019-09-08 08:53:50 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:50 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:51 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetOriginAllData_C","Code":"Base_GetOriginAllData_C_zjw_019","SQLMapFile":"ZjwSQLMap.config"}
【Debugger】 2019-09-08 08:53:51 192.168.109.123
SQL语句:
SELECT AREACODE,AREANAME,PYCODE FROM SYS_AREA
WHERE LENGTH(AREACODE)<13 ORDER BY PYCODE
SQL语句参数:无。
【Info】 2019-09-08 08:53:51 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:51 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTicketModelGroup_C","Code":"Base_GetTicketModelGroup_C_Licl","SQLMapFile":"ZjwSQLMap.config","Parameters":{}}
【Debugger】 2019-09-08 08:53:51 192.168.109.123
SQL语句:
SELECT T.TICKETMODELGROUPCODE,T.TICKETMODELGROUPNAME
FROM SYS_TICKETMODELGROUP T
WHERE T.USEFLAG=0
SQL语句参数:无。
【Info】 2019-09-08 08:53:51 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:51 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetPayTypeData_C_(COMMON)","TableName":"SYS_PAYTYPE","SelectFields":"PAYTYPECODE AS OPTIONCODE,PAYTYPENAME AS OPTIONNAME,CLIENTTYPE AS OPTIONTYPE ","OrderFields":"SORT,PAYTYPECODE","Condition":{"USEFLAG":0}}
【Debugger】 2019-09-08 08:53:51 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 08:53:51 192.168.109.123
SQL语句:select PAYTYPECODE AS OPTIONCODE,PAYTYPENAME AS OPTIONNAME,CLIENTTYPE AS OPTIONTYPE from SYS_PAYTYPE where USEFLAG=:USEFLAG order by SORT,PAYTYPECODE
SQL语句参数(共1个):
{"ParameterName:"USEFLAG","Value":"0","DbType":"Int32"}
【Info】 2019-09-08 08:53:51 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:51 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 08:53:51 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 08:53:51 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"ItemList","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:51 192.168.109.123
请求信息:
mn:TKT
cn:BIMGroupManage
mn2:Base_GetTicketTagList
对应参数:
data:{"OPTORCODE":"HSSP001"}
【Debugger】 2019-09-08 08:53:51 192.168.109.123
SQL语句:SELECT G.FID,G.FNAME,G.FTAGTYPE,G.FISSHOW,G.FBACKGROUND,to_char(WM_CONCAT(GI.FENTITYID)) AS ITEMS,to_char(WM_CONCAT(GI.FSORT)) AS ITEMSORTS
FROM BIM_GROUP G LEFT JOIN BIM_GROUPITEM GI ON G.FID = GI.FGROUPID
WHERE G.FACCNO = 'HSSP001' GROUP BY G.FID,G.FNAME,G.FTAGTYPE,G.FISSHOW,G.FBACKGROUND
SQL语句参数:无。
【Info】 2019-09-08 08:53:51 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"ItemList","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:51 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_RemoveSelectFilm_C_LP_21","Code":"Base_RemoveSelectFilm_C_LP_21","SQLMapFile":"LpSQLMap.config","Parameters":{"OPERATORCODE":"HSSP001"}}
【Debugger】 2019-09-08 08:53:51 192.168.109.123
SQL语句:
UPDATE FILM_SEATSELLDETAIL SET SEATSTATUS=FSTATICSTATUS, OPERATORCODE='',RecVer='' WHERE
SEATSTATUS=2 and OPERATORCODE= :OPERATORCODE
SQL语句参数(共1个):
{"ParameterName:"OPERATORCODE","Value":"HSSP001","DbType":"String"}
【Info】 2019-09-08 08:53:51 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"ItemList","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:53:51 192.168.109.123
请求信息:
mn:TKT
cn:TicketSaleForLake
mn2:Base_UnLockSeatByPlanID2P
对应参数:
data:
HSSP001
【Debugger】 2019-09-08 08:53:51 192.168.109.123
SQL语句:update Atp_Tradeshipseat t set fstate=0,t.FOPTORCODE='',FOPTOR='',
FLASTEDITTIME=sysdate,FVERSION='' where fstate=2 and FOPTORCODE='HSSP001'
SQL语句参数:无。
【Info】 2019-09-08 08:53:51 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:53:51 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:58:36 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:58:36 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 08:58:36 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:58:36 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:58:36 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:58:36 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
53FBECDAE8414B5A8CE43447B2E17373
01
01
0
01
散客
01
现金
1
30
30
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
386586E400C044C68479DCD84639EB68
0
0
0
FC4E1F5A41AA4DA4BDE3974A8C124C73
01
1045010
101035
30
30
1
1
1
30
0
1001
1
0129001
30
0
0
门票
天池山、花山半价票
1
半价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
E4AF2A3142DF42D1A068DEFF8DC18623
DD9C23B259B444F89785D141B320B53A
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
E4BF1C486DCE4056B91FBCCF2D33CD1D
30
0
0
6F6AEDE422F549CDB5069EB811F9C250
FC4E1F5A41AA4DA4BDE3974A8C124C73
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045010
天池山、花山半价票
1
1
1
30
101035
半价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
F12F23C21F754A9AAC0251A97BA78AFD
0
0
NULL
NULL
0
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -1 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:53FBECDAE8414B5A8CE43447B2E17373
参数类型:String
参数名:TRADEID001
参数值:190908085836100023414
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:1
参数类型:String
----------
参数名:PAYSUM016
参数值:30
参数类型:String
----------
参数名:BILLSUM017
参数值:30
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:386586E400C044C68479DCD84639EB68
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908085836100023414
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045010
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101035
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:30
参数类型:String
----------
参数名:TAXPRICE007
参数值:30
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:1
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:1
参数类型:String
----------
参数名:PAYSUM011
参数值:30
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:30
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:1
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:半价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:E4AF2A3142DF42D1A068DEFF8DC18623
参数类型:String
----------
参数名:FID037
参数值:FC4E1F5A41AA4DA4BDE3974A8C124C73
参数类型:String
----------
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908085836100023414
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:E4BF1C486DCE4056B91FBCCF2D33CD1D
参数类型:String
----------
参数名:PAYSUM024
参数值:30
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:DD9C23B259B444F89785D141B320B53A
参数类型:String
----------
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:6F6AEDE422F549CDB5069EB811F9C250
参数类型:String
参数名:FDETAILID001
参数值:FC4E1F5A41AA4DA4BDE3974A8C124C73
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908085836100023414
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090808583600048781
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090808583600048781
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048781
参数类型:String
----------
参数名:FENDCODE010
参数值:00048781
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045010
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:1
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:30
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101035
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:半价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 8:58:30
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:F12F23C21F754A9AAC0251A97BA78AFD
参数类型:String
----------
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908085836100023414'
SQL语句参数:
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48781'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=1
) c
where b.fid='6F6AEDE422F549CDB5069EB811F9C250'
)
SQL语句参数:
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908085836100023414'
SQL语句参数:
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908085836100023414',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908085836100023414',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 08:58:36 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908085836100023414
0
-
1
2019-09-08 08:58:30
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908085836100023414
1045010
天池山、花山半价票
ET19090808583600048781
半价
票 价:
30
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
1
30
30
30
30
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
30
30
30
1
【End】 2019-09-08 08:58:37 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:58:37 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:58:37 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetStockTypeData_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE ","Condition":{"PARAMCODE":"0025"}}
【Debugger】 2019-09-08 08:58:37 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 08:58:37 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"0025","DbType":"String"}
【Info】 2019-09-08 08:58:37 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:58:37 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:58:37 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:58:37 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetStockTypeData_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE ","Condition":{"PARAMCODE":"5035"}}
【Debugger】 2019-09-08 08:58:37 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 08:58:37 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5035","DbType":"String"}
【Info】 2019-09-08 08:58:37 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:58:37 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 08:58:38 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 08:58:38 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 08:58:38 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 08:58:38 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 08:58:38 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:15:09 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:15:09 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 09:15:09 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:15:09 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:15:09 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:15:09 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
BF303B40B5F642B09532AFC6FC56CDE8
01
01
0
01
散客
01
现金
2
90
90
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
AB0833AE122048328AC78CF28848BADF
0
0
0
318FA5FF5A124EECB806458A9A732132
01
1045009
101039
60
60
1
1
1
60
0
1001
1
0129001
60
0
0
门票
天池山、花山成人票
1
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
38262915BE0E48BFBADE4B76417D51C7
9D80B1480EB14E7AA4BA1CCB5D88A023
01
1045010
101035
30
30
1
1
1
30
0
1001
1
0129001
30
0
0
门票
天池山、花山半价票
1
半价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
16ADA9416A584EA887BD5EE71FB2B164
3FDF565D97B241509D18C17A29356112
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
7E9424DC49094524B1DBF1D7691FF796
90
0
0
460205349FDA417BBBAD7164EFD442ED
318FA5FF5A124EECB806458A9A732132
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
1
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
D38551FA06A24F73BA3B57101A5CF110
6B1F07C6C91042F3A6E0924AD559694C
9D80B1480EB14E7AA4BA1CCB5D88A023
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045010
天池山、花山半价票
1
1
1
30
101035
半价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
40806D7640D44FA58915A6FC6ABE0C0F
0
0
NULL
NULL
0
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -1 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -1 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:BF303B40B5F642B09532AFC6FC56CDE8
参数类型:String
参数名:TRADEID001
参数值:190908091509100023417
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:2
参数类型:String
----------
参数名:PAYSUM016
参数值:90
参数类型:String
----------
参数名:BILLSUM017
参数值:90
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:AB0833AE122048328AC78CF28848BADF
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908091509100023417
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:1
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:1
参数类型:String
----------
参数名:PAYSUM011
参数值:60
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:60
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:1
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:38262915BE0E48BFBADE4B76417D51C7
参数类型:String
----------
参数名:FID037
参数值:318FA5FF5A124EECB806458A9A732132
参数类型:String
----------
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908091509100023417
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045010
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101035
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:30
参数类型:String
----------
参数名:TAXPRICE007
参数值:30
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:1
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:1
参数类型:String
----------
参数名:PAYSUM011
参数值:30
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:30
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:1
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:半价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:16ADA9416A584EA887BD5EE71FB2B164
参数类型:String
----------
参数名:FID037
参数值:9D80B1480EB14E7AA4BA1CCB5D88A023
参数类型:String
----------
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908091509100023417
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:7E9424DC49094524B1DBF1D7691FF796
参数类型:String
----------
参数名:PAYSUM024
参数值:90
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:3FDF565D97B241509D18C17A29356112
参数类型:String
----------
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:460205349FDA417BBBAD7164EFD442ED
参数类型:String
参数名:FDETAILID001
参数值:318FA5FF5A124EECB806458A9A732132
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908091509100023417
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090809150900048785
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090809150900048785
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048785
参数类型:String
----------
参数名:FENDCODE010
参数值:00048785
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:1
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:D38551FA06A24F73BA3B57101A5CF110
参数类型:String
----------
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:6B1F07C6C91042F3A6E0924AD559694C
参数类型:String
参数名:FDETAILID001
参数值:9D80B1480EB14E7AA4BA1CCB5D88A023
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908091509100023417
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090809150900048786
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090809150900048786
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048786
参数类型:String
----------
参数名:FENDCODE010
参数值:00048786
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045010
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:1
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:30
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101035
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:半价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 9:15:03
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:40806D7640D44FA58915A6FC6ABE0C0F
参数类型:String
----------
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908091509100023417'
SQL语句参数:
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48785'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=1
) c
where b.fid='460205349FDA417BBBAD7164EFD442ED'
)
SQL语句参数:
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48786'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=1
) c
where b.fid='6B1F07C6C91042F3A6E0924AD559694C'
)
SQL语句参数:
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908091509100023417'
SQL语句参数:
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908091509100023417',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908091509100023417',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:15:09 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908091509100023417
0
-
2
2019-09-08 09:15:03
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908091509100023417
1045009
天池山、花山成人票
ET19090809150900048785
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
60
60
60
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
90
60
60
1
-
1
2019-09-08 09:15:03
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908091509100023417
1045010
天池山、花山半价票
ET19090809150900048786
半价
票 价:
30
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
30
30
30
30
0
01
1
ET+PCODE+TD+TM+NUM
花山大门,天池山大门
现金
90
30
30
1
【End】 2019-09-08 09:15:10 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:15:11 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:15:11 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 09:15:11 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 09:15:11 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:15:11 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:30:36 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:30:36 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 09:30:36 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:30:36 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:30:36 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:30:36 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
97079E251EEF44F1B5645F32C8D4811D
01
01
0
01
散客
01
现金
1
30
30
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
C3586153CB8347C9AC4E6AABDA358DAA
0
0
0
A0CF935516E949CDA4E695CEABA81967
01
1045010
101035
30
30
1
1
1
30
0
1001
1
0129001
30
0
0
门票
天池山、花山半价票
1
半价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
34D2D7B6FDDD4A96A7BA130EDA261AE6
F03D8EC984F54CB3BCE977A9D7C6D5C2
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
98DB9FBC715D4178982826D885DF121C
30
0
0
A486158061B046B39D2F0F9BCEB5CC93
A0CF935516E949CDA4E695CEABA81967
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045010
天池山、花山半价票
1
1
1
30
101035
半价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
698BE36F818040D9BA3A189ABF92D405
0
0
NULL
NULL
0
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -1 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:97079E251EEF44F1B5645F32C8D4811D
参数类型:String
参数名:TRADEID001
参数值:190908093036100023419
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:1
参数类型:String
----------
参数名:PAYSUM016
参数值:30
参数类型:String
----------
参数名:BILLSUM017
参数值:30
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:C3586153CB8347C9AC4E6AABDA358DAA
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908093036100023419
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045010
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101035
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:30
参数类型:String
----------
参数名:TAXPRICE007
参数值:30
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:1
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:1
参数类型:String
----------
参数名:PAYSUM011
参数值:30
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:30
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:1
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:半价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:34D2D7B6FDDD4A96A7BA130EDA261AE6
参数类型:String
----------
参数名:FID037
参数值:A0CF935516E949CDA4E695CEABA81967
参数类型:String
----------
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908093036100023419
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:98DB9FBC715D4178982826D885DF121C
参数类型:String
----------
参数名:PAYSUM024
参数值:30
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:F03D8EC984F54CB3BCE977A9D7C6D5C2
参数类型:String
----------
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:A486158061B046B39D2F0F9BCEB5CC93
参数类型:String
参数名:FDETAILID001
参数值:A0CF935516E949CDA4E695CEABA81967
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908093036100023419
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090809303600048789
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090809303600048789
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048789
参数类型:String
----------
参数名:FENDCODE010
参数值:00048789
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045010
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:1
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:30
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101035
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:半价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 9:30:29
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:698BE36F818040D9BA3A189ABF92D405
参数类型:String
----------
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908093036100023419'
SQL语句参数:
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48789'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=1
) c
where b.fid='A486158061B046B39D2F0F9BCEB5CC93'
)
SQL语句参数:
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908093036100023419'
SQL语句参数:
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908093036100023419',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908093036100023419',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:30:36 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908093036100023419
0
-
1
2019-09-08 09:30:29
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908093036100023419
1045010
天池山、花山半价票
ET19090809303600048789
半价
票 价:
30
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
1
30
30
30
30
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
30
30
30
1
【End】 2019-09-08 09:30:36 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:30:37 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:30:37 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 09:30:37 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 09:30:37 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:30:37 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:31:49 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:31:49 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 09:31:49 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:31:49 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:31:49 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:31:49 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
21D6241A807C4F16AB10BBE01CA9F8A8
01
01
0
01
散客
01
现金
1
60
60
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
F5CAB5EDAF7249CA9B4A7F2C3BB4AB8E
0
0
0
15B45F2C7B134724AD945A2533B17E0B
01
1045009
101039
60
60
1
1
1
60
0
1001
1
0129001
60
0
0
门票
天池山、花山成人票
1
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
27DED9A1D46A4833B55396229BFB0B24
33806B29C7844CEFA21D810240C8CCE8
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
022F138ED68A4FD79DCB2CFB57867543
60
0
0
5B71611F68314961A20C0AD10C846D6B
15B45F2C7B134724AD945A2533B17E0B
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
1
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
96BD69D2D46549E9A5BC3DF91E609A27
0
0
NULL
NULL
0
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -1 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:21D6241A807C4F16AB10BBE01CA9F8A8
参数类型:String
参数名:TRADEID001
参数值:190908093149100023420
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:1
参数类型:String
----------
参数名:PAYSUM016
参数值:60
参数类型:String
----------
参数名:BILLSUM017
参数值:60
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:F5CAB5EDAF7249CA9B4A7F2C3BB4AB8E
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908093149100023420
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:1
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:1
参数类型:String
----------
参数名:PAYSUM011
参数值:60
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:60
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:1
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:27DED9A1D46A4833B55396229BFB0B24
参数类型:String
----------
参数名:FID037
参数值:15B45F2C7B134724AD945A2533B17E0B
参数类型:String
----------
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908093149100023420
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:022F138ED68A4FD79DCB2CFB57867543
参数类型:String
----------
参数名:PAYSUM024
参数值:60
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:33806B29C7844CEFA21D810240C8CCE8
参数类型:String
----------
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:5B71611F68314961A20C0AD10C846D6B
参数类型:String
参数名:FDETAILID001
参数值:15B45F2C7B134724AD945A2533B17E0B
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908093149100023420
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090809314900048790
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090809314900048790
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048790
参数类型:String
----------
参数名:FENDCODE010
参数值:00048790
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:1
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 9:31:43
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:96BD69D2D46549E9A5BC3DF91E609A27
参数类型:String
----------
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908093149100023420'
SQL语句参数:
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48790'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=1
) c
where b.fid='5B71611F68314961A20C0AD10C846D6B'
)
SQL语句参数:
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908093149100023420'
SQL语句参数:
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908093149100023420',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908093149100023420',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:31:49 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908093149100023420
0
-
1
2019-09-08 09:31:43
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908093149100023420
1045009
天池山、花山成人票
ET19090809314900048790
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
1
60
60
60
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
60
60
60
1
【End】 2019-09-08 09:31:50 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:31:50 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:31:50 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 09:31:50 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 09:31:50 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:31:50 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:37:43 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:37:43 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 09:37:43 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:37:43 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:37:43 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:37:43 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
761AAE35964445E7892826DCF9DD49D2
01
01
0
01
散客
01
现金
1
60
60
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
B388CDA025104D8D8FBA4269AE8D40AD
0
0
0
099BB399E5AC4CB48A75E80E6C32772B
01
1045009
101039
60
60
1
1
1
60
0
1001
1
0129001
60
0
0
门票
天池山、花山成人票
1
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
E1C94408993D4D069FE8235394E58E24
345EE37DE5C6451D91A4030D2092117F
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
71C1CDDD936243D0855D2296E1BD8467
60
0
0
39C2847B6DCD42D590C226D4F4F52BC5
099BB399E5AC4CB48A75E80E6C32772B
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
1
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
6883CB2F924A43B4A9F498A96EF8D1C8
0
0
NULL
NULL
0
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -1 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:761AAE35964445E7892826DCF9DD49D2
参数类型:String
参数名:TRADEID001
参数值:190908093743100023421
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:1
参数类型:String
----------
参数名:PAYSUM016
参数值:60
参数类型:String
----------
参数名:BILLSUM017
参数值:60
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:B388CDA025104D8D8FBA4269AE8D40AD
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908093743100023421
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:1
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:1
参数类型:String
----------
参数名:PAYSUM011
参数值:60
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:60
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:1
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:E1C94408993D4D069FE8235394E58E24
参数类型:String
----------
参数名:FID037
参数值:099BB399E5AC4CB48A75E80E6C32772B
参数类型:String
----------
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908093743100023421
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:71C1CDDD936243D0855D2296E1BD8467
参数类型:String
----------
参数名:PAYSUM024
参数值:60
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:345EE37DE5C6451D91A4030D2092117F
参数类型:String
----------
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:39C2847B6DCD42D590C226D4F4F52BC5
参数类型:String
参数名:FDETAILID001
参数值:099BB399E5AC4CB48A75E80E6C32772B
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908093743100023421
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090809374300048791
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090809374300048791
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048791
参数类型:String
----------
参数名:FENDCODE010
参数值:00048791
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:1
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 9:37:37
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:6883CB2F924A43B4A9F498A96EF8D1C8
参数类型:String
----------
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908093743100023421'
SQL语句参数:
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48791'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=1
) c
where b.fid='39C2847B6DCD42D590C226D4F4F52BC5'
)
SQL语句参数:
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908093743100023421'
SQL语句参数:
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908093743100023421',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908093743100023421',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:37:43 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908093743100023421
0
-
1
2019-09-08 09:37:37
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908093743100023421
1045009
天池山、花山成人票
ET19090809374300048791
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
1
60
60
60
60
0
01
1
ET+PCODE+TD+TM+NUM
花山大门,天池山大门
现金
60
60
60
1
【End】 2019-09-08 09:37:44 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:37:44 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:37:44 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 09:37:44 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 09:37:44 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:37:44 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:40:56 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:40:56 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 09:40:56 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:40:56 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:40:56 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:40:56 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
81669070651A4ADD88FA9FA737DEC847
01
01
0
01
散客
01
现金
1
60
60
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
C851882778A7462C8A18A0AA383B4457
0
0
0
6B27AFF8B71F4DFD9BD285C49077B9CC
01
1045009
101039
60
60
1
1
1
60
0
1001
1
0129001
60
0
0
门票
天池山、花山成人票
1
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
1D233FB4318A4C02B1EE01CDFB03909B
3AE065CBF9BE4C5788E9D231F4CABD24
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
2E1D4F7671D44B299FF648D0915CF531
60
0
0
5D2D9AFFEFD34E0B9BEFFEF6B3360299
6B27AFF8B71F4DFD9BD285C49077B9CC
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
1
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
B35671F902884B5D9FDD5A30BA446B79
0
0
NULL
NULL
0
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -1 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:81669070651A4ADD88FA9FA737DEC847
参数类型:String
参数名:TRADEID001
参数值:190908094056100023423
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:1
参数类型:String
----------
参数名:PAYSUM016
参数值:60
参数类型:String
----------
参数名:BILLSUM017
参数值:60
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:C851882778A7462C8A18A0AA383B4457
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908094056100023423
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:1
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:1
参数类型:String
----------
参数名:PAYSUM011
参数值:60
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:60
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:1
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:1D233FB4318A4C02B1EE01CDFB03909B
参数类型:String
----------
参数名:FID037
参数值:6B27AFF8B71F4DFD9BD285C49077B9CC
参数类型:String
----------
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908094056100023423
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:2E1D4F7671D44B299FF648D0915CF531
参数类型:String
----------
参数名:PAYSUM024
参数值:60
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:3AE065CBF9BE4C5788E9D231F4CABD24
参数类型:String
----------
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:5D2D9AFFEFD34E0B9BEFFEF6B3360299
参数类型:String
参数名:FDETAILID001
参数值:6B27AFF8B71F4DFD9BD285C49077B9CC
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908094056100023423
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090809405600048795
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090809405600048795
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048795
参数类型:String
----------
参数名:FENDCODE010
参数值:00048795
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:1
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 9:40:49
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:B35671F902884B5D9FDD5A30BA446B79
参数类型:String
----------
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908094056100023423'
SQL语句参数:
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48795'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=1
) c
where b.fid='5D2D9AFFEFD34E0B9BEFFEF6B3360299'
)
SQL语句参数:
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908094056100023423'
SQL语句参数:
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908094056100023423',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908094056100023423',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:40:56 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908094056100023423
0
-
1
2019-09-08 09:40:49
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908094056100023423
1045009
天池山、花山成人票
ET19090809405600048795
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
1
60
60
60
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
60
60
60
1
【End】 2019-09-08 09:40:56 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:40:57 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:40:57 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 09:40:57 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 09:40:57 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:40:57 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:47:07 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:47:07 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 09:47:07 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:47:07 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:47:07 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:47:07 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
311B8865E12A4664B1D9F0A85D7BFA5D
01
01
0
01
散客
01
现金
2
120
120
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
EC31D69BC08F4100827D66506CEFB006
0
0
0
0BEF8262E6684F8589D3D1B32641C088
01
1045009
101039
60
60
1
2
2
120
0
1001
1
0129001
120
0
0
门票
天池山、花山成人票
2
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
77E0C4C986E748F8AA8638DA14120701
94949AFD4FEB47D4ACB75C4793FBD0C4
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
3DD20088493C46FAAF84894C22470171
120
0
0
6A2DE397AE344FC2A893CFE538923B92
0BEF8262E6684F8589D3D1B32641C088
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
2
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
5CC162339B714C9AB469B782ADA731A3
0
0
NULL
NULL
0
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -2 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:311B8865E12A4664B1D9F0A85D7BFA5D
参数类型:String
参数名:TRADEID001
参数值:190908094707100023424
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:2
参数类型:String
----------
参数名:PAYSUM016
参数值:120
参数类型:String
----------
参数名:BILLSUM017
参数值:120
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:EC31D69BC08F4100827D66506CEFB006
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908094707100023424
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:2
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:2
参数类型:String
----------
参数名:PAYSUM011
参数值:120
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:120
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:2
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:77E0C4C986E748F8AA8638DA14120701
参数类型:String
----------
参数名:FID037
参数值:0BEF8262E6684F8589D3D1B32641C088
参数类型:String
----------
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908094707100023424
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:3DD20088493C46FAAF84894C22470171
参数类型:String
----------
参数名:PAYSUM024
参数值:120
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:94949AFD4FEB47D4ACB75C4793FBD0C4
参数类型:String
----------
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:6A2DE397AE344FC2A893CFE538923B92
参数类型:String
参数名:FDETAILID001
参数值:0BEF8262E6684F8589D3D1B32641C088
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908094707100023424
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090809470700048796
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090809470700048797
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048796
参数类型:String
----------
参数名:FENDCODE010
参数值:00048797
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:2
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 9:47:00
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:5CC162339B714C9AB469B782ADA731A3
参数类型:String
----------
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908094707100023424'
SQL语句参数:
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48796'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=2
) c
where b.fid='6A2DE397AE344FC2A893CFE538923B92'
)
SQL语句参数:
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908094707100023424'
SQL语句参数:
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908094707100023424',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908094707100023424',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 09:47:07 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908094707100023424
0
-
1
2019-09-08 09:47:00
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908094707100023424
1045009
天池山、花山成人票
ET19090809470700048796
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
花山大门,天池山大门
现金
120
60
60
1
-
2
2019-09-08 09:47:00
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908094707100023424
1045009
天池山、花山成人票
ET19090809470700048797
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
花山大门,天池山大门
现金
120
60
60
1
【End】 2019-09-08 09:47:07 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 09:47:08 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 09:47:08 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 09:47:08 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 09:47:09 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 09:47:09 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:18:37 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:18:37 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 11:18:37 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 11:18:37 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:18:37 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:18:37 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
DC5A6C64F0C044B7AE19148F549CE2B3
01
01
0
01
散客
01
现金
3
150
150
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
B2EE1B8D9FC9431DA11EE2A5D39944B2
0
0
0
BA073BF80CC54111B153739A177A64C2
01
1045009
101039
60
60
1
2
2
120
0
1001
1
0129001
120
0
0
门票
天池山、花山成人票
2
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
C6D0AEE202564574A853CA47D00F3C74
A01AEF64C253456786E5CAFAE3DE15CC
01
1045010
101035
30
30
1
1
1
30
0
1001
1
0129001
30
0
0
门票
天池山、花山半价票
1
半价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
C7ECC88040634B17A74EB1B079BA12B6
FD061A5791C043A3BCA47FF226CA7A14
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
B5BEF8ED48D64C04969650CCE700D38B
150
0
0
9F8408FB498346A983710CD9A3C76570
BA073BF80CC54111B153739A177A64C2
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
2
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
79539A2F11464ADD8C58B88C56C6949A
5BC2B0D3077E4224A79DA66666E9A47A
A01AEF64C253456786E5CAFAE3DE15CC
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045010
天池山、花山半价票
1
1
1
30
101035
半价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
42B1E86C284A49E581E645CECCEFA32F
0
0
NULL
NULL
0
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -2 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -1 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:DC5A6C64F0C044B7AE19148F549CE2B3
参数类型:String
参数名:TRADEID001
参数值:190908111837100023440
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:3
参数类型:String
----------
参数名:PAYSUM016
参数值:150
参数类型:String
----------
参数名:BILLSUM017
参数值:150
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:B2EE1B8D9FC9431DA11EE2A5D39944B2
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908111837100023440
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:2
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:2
参数类型:String
----------
参数名:PAYSUM011
参数值:120
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:120
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:2
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:C6D0AEE202564574A853CA47D00F3C74
参数类型:String
----------
参数名:FID037
参数值:BA073BF80CC54111B153739A177A64C2
参数类型:String
----------
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908111837100023440
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045010
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101035
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:30
参数类型:String
----------
参数名:TAXPRICE007
参数值:30
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:1
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:1
参数类型:String
----------
参数名:PAYSUM011
参数值:30
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:30
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:1
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:半价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:C7ECC88040634B17A74EB1B079BA12B6
参数类型:String
----------
参数名:FID037
参数值:A01AEF64C253456786E5CAFAE3DE15CC
参数类型:String
----------
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908111837100023440
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:B5BEF8ED48D64C04969650CCE700D38B
参数类型:String
----------
参数名:PAYSUM024
参数值:150
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:FD061A5791C043A3BCA47FF226CA7A14
参数类型:String
----------
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:9F8408FB498346A983710CD9A3C76570
参数类型:String
参数名:FDETAILID001
参数值:BA073BF80CC54111B153739A177A64C2
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908111837100023440
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090811183700048828
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090811183700048829
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048828
参数类型:String
----------
参数名:FENDCODE010
参数值:00048829
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:2
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:79539A2F11464ADD8C58B88C56C6949A
参数类型:String
----------
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:5BC2B0D3077E4224A79DA66666E9A47A
参数类型:String
参数名:FDETAILID001
参数值:A01AEF64C253456786E5CAFAE3DE15CC
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908111837100023440
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090811183700048830
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090811183700048830
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048830
参数类型:String
----------
参数名:FENDCODE010
参数值:00048830
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045010
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:1
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:30
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101035
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:半价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 11:18:31
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:42B1E86C284A49E581E645CECCEFA32F
参数类型:String
----------
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908111837100023440'
SQL语句参数:
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48828'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=2
) c
where b.fid='9F8408FB498346A983710CD9A3C76570'
)
SQL语句参数:
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48830'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=1
) c
where b.fid='5BC2B0D3077E4224A79DA66666E9A47A'
)
SQL语句参数:
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908111837100023440'
SQL语句参数:
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908111837100023440',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908111837100023440',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 11:18:37 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908111837100023440
0
-
2
2019-09-08 11:18:31
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908111837100023440
1045009
天池山、花山成人票
ET19090811183700048828
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
3
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
花山大门,天池山大门
现金
150
60
60
1
-
3
2019-09-08 11:18:31
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908111837100023440
1045009
天池山、花山成人票
ET19090811183700048829
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
3
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
150
60
60
1
-
1
2019-09-08 11:18:31
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908111837100023440
1045010
天池山、花山半价票
ET19090811183700048830
半价
票 价:
30
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
3
30
30
30
30
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
150
30
30
1
【End】 2019-09-08 11:18:37 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:18:39 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:18:39 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 11:18:39 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 11:18:39 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 11:18:39 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:32:05 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:32:05 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 11:32:05 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 11:32:05 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:32:05 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:32:05 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
C752A546BF1E46CDBE892FE6537ED844
01
01
0
01
散客
01
现金
2
120
120
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
2F907B85F0C046AC972C151811BF5389
0
0
0
9D0B4A73856A4FCDB9DF312D13EBF410
01
1045009
101039
60
60
1
2
2
120
0
1001
1
0129001
120
0
0
门票
天池山、花山成人票
2
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
0479A4474D6B4A90A2FEC6D9A6399631
05A2087283D84532A0C41209D7582E38
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
F1F848090C344691845FE753F81E8CF7
120
0
0
1D0A44337AB847DF918DD96BE6B89F2C
9D0B4A73856A4FCDB9DF312D13EBF410
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
2
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
D40B3B54FDF74869826B04944FD4FFD0
0
0
NULL
NULL
0
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -2 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:C752A546BF1E46CDBE892FE6537ED844
参数类型:String
参数名:TRADEID001
参数值:190908113205100023443
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:2
参数类型:String
----------
参数名:PAYSUM016
参数值:120
参数类型:String
----------
参数名:BILLSUM017
参数值:120
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:2F907B85F0C046AC972C151811BF5389
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908113205100023443
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:2
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:2
参数类型:String
----------
参数名:PAYSUM011
参数值:120
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:120
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:2
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:0479A4474D6B4A90A2FEC6D9A6399631
参数类型:String
----------
参数名:FID037
参数值:9D0B4A73856A4FCDB9DF312D13EBF410
参数类型:String
----------
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908113205100023443
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:F1F848090C344691845FE753F81E8CF7
参数类型:String
----------
参数名:PAYSUM024
参数值:120
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:05A2087283D84532A0C41209D7582E38
参数类型:String
----------
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:1D0A44337AB847DF918DD96BE6B89F2C
参数类型:String
参数名:FDETAILID001
参数值:9D0B4A73856A4FCDB9DF312D13EBF410
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908113205100023443
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090811320500048836
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090811320500048837
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048836
参数类型:String
----------
参数名:FENDCODE010
参数值:00048837
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:2
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 11:31:58
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:D40B3B54FDF74869826B04944FD4FFD0
参数类型:String
----------
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908113205100023443'
SQL语句参数:
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48836'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=2
) c
where b.fid='1D0A44337AB847DF918DD96BE6B89F2C'
)
SQL语句参数:
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908113205100023443'
SQL语句参数:
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908113205100023443',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908113205100023443',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 11:32:05 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908113205100023443
0
-
1
2019-09-08 11:31:58
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908113205100023443
1045009
天池山、花山成人票
ET19090811320500048836
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
120
60
60
1
-
2
2019-09-08 11:31:58
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908113205100023443
1045009
天池山、花山成人票
ET19090811320500048837
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
120
60
60
1
【End】 2019-09-08 11:32:05 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:32:06 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:32:06 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 11:32:06 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 11:32:06 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 11:32:06 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:33:41 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:33:41 192.168.109.123
请求信息:
mn:TKT
cn:QueryTrade
mn2:Base_GetListBySaleModel3
对应参数:
data:{"Parameters":{"SALEMODEL":"\u002701\u0027,\u002702\u0027,\u002703\u0027,\u002704\u0027,\u002705\u0027,\u002706\u0027,\u002707\u0027,\u002708\u0027","BTRADEDATE":"2019-09-08 00:00:00","ETRADEDATE":"2019-09-09 00:00:00","OPTORID":"177FFEDC45E3490E9F149C711CECB3E1","OPTORCODE":"HSSP001","PAYTYPECODE":"","TICKETPRICE":"","BARCODETYPE":"","TRADEID":"","CLIENTNAME":""}}
【Debugger】 2019-09-08 11:33:41 192.168.109.123
SQL语句:select fid from web_sys_plug where plugcode = 'TKT208'
SQL语句参数:无。
【Debugger】 2019-09-08 11:33:41 192.168.109.123
SQL语句:select dataauthority,orgid from
(
select ro.operatorid,ro.roleid,rp.plugid,rp.dataauthority
,case when rp.dataauthority = 1 then (select wm_concat(rpe.fdeptid) from web_sys_roleplugext rpe where rpe.roleplugid = rp.fid) else '0' end as orgid
from web_sys_roleoperator ro
left join web_sys_roleplug rp on rp.roleid = ro.roleid
)
where operatorid = '177FFEDC45E3490E9F149C711CECB3E1' and plugid = 'C728B7AD642141CC99166CE1CA9324ED'
SQL语句参数:无。
【Debugger】 2019-09-08 11:33:41 192.168.109.123
SQL语句:select DIFFERENCEPRICE,TICKETTYPEFLAG,TRADEID,CLIENTTYPENAME,TRADEDATE,TRADETYPENAME,TICKETMODELGROUPNAME,TICKETMODELNAME,TICKETMODELKINDNAME,TICKETMODELPRICE
,USERCOUNT,PAYSUM,PRINTCOUNT,TICKETCOUNT,ISSUM,SORTDATE,TICKETMODELCODE,PAYTYPENAME,PAYTYPECODE,PAYSUM,PAYTYPENAMEANDPAYSUM,TICKETNOCOUNT
,CLIENTCODE,SALEMODEL,OPTORCODE,PARKCODE,BARCODETYPE,CREATE_OPTORCODE,ORGID
,decode(saleModel,'01','正常出票','02','预售票','03','电子商务票','04','手工票补录','05','剧院售票','06','自助机','99','在线检票','') as sale_model_name
from(
select a.differenceprice,t.TICKETTYPEFLAG
,to_char(b.TRADEID) as TRADEID
,to_char(case b.ClientType when '01' then '散客' when '02' then cc.CLIENTFULLNAME else '其它' end) as CLIENTTYPENAME
,b.TRADEDATE
,case when a.tradetype='01' and V.VerID is null then '正常售票' when a.tradetype='01' and V.VerID is not null then '正常售票(核销)'
when a.tradetype='02' then '退票' when a.tradetype='04' then '预售票' when a.tradetype='07' then '已核销' else '其他' end as TRADETYPENAME,
d.ticketmodelgroupname as TICKETMODELGROUPNAME,c.TICKETMODELNAME,e.dictdetailname as TICKETMODELKINDNAME,
a.TICKETMODELPRICE,c.USERCOUNT*a.TICKETCOUNT as USERCOUNT,a.PAYSUM,a.PRINTCOUNT,a.TICKETCOUNT,'0' as ISSUM,b.TRADEDATE as SORTDATE
,to_char(a.TICKETMODELCODE) as TICKETMODELCODE
,to_char(b.PAYTYPENAME) as PAYTYPENAME,b.PAYTYPECODE
,(select to_char(wm_concat(e.PaytypeName||':'||e.paysum||':'||e.remark)) as TR from tkt_tradepaytype e where e.tradeid=b.tradeid) as PAYTYPENAMEANDPAYSUM,a.TICKETNOCOUNT
---where----
,to_char(b.CLIENTCODE) as CLIENTCODE
,b.SALEMODEL
,to_char(b.create_optorcode) as OPTORCODE
,to_char(b.locationcode) as PARKCODE
,c.BARCODETYPE,A.CREATE_OPTORCODE,A.ORGID
---where----
from tkt_tradedetail a left join tkt_trademain b on a.tradeid=b.tradeid left join sys_ticketmodel c on c.ticketmodelcode=a.ticketmodelcode
left join Sto_TicketType t on t.barcodetype=c.barcodetype
left join clt_clientinfo cc on cc.CLIENTCODE = b.CLIENTCODE
left join sys_ticketmodelgroup d on c.ticketmodelgroupcode=d.ticketmodelgroupcode
left join sys_dictdetail e on e.dictdetailcode=a.ticketmodelkind
left join (select vertradeid,max(FID) as VerID from tkt_preticketver v group by vertradeid) v on a.tradeid=v.vertradeid
UNION
select
0,t.TICKETTYPEFLAG
,to_char(b.BILLNO) as TRADEID
,to_char(case to_char(b.CLIENTNAME) when '00000000' then '散客' else to_char(b.CLIENTNAME) end) as CLIENTTYPENAME
,b.PRINTTIME as TRADEDATE
,case to_char(a.WEBBILLSTATUS) when '0' then '正常售票' when '1' then '待退票' when '2' then '已退票' end as TRADETYPENAME
,d.ticketmodelgroupname as TICKETMODELGROUPNAME
,c.TICKETMODELNAME
,'' as TICKETMODELKINDNAME
,a.TICKETPRICE as TICKETMODELPRICE,c.USERCOUNT*a.TICKETCOUNT as USERCOUNT
,a.PAYSUM
,b.PRINTCOUNT
,a.TICKETCOUNT
,'2' as ISSUM
,b.BILLDATE as SORTDATE
,to_char(a.TICKETMODELCODE) as TICKETMODELCODE
,to_char(b.PAYTYPE) as PAYTYPENAME,to_char(b.PAYTYPE) AS PAYTYPECODE
,(select to_char(wm_concat(e.PaytypeName||':'||e.paysum||':'||e.remark)) as TR from tkt_tradepaytype e where e.BILLNO=b.BILLNO) as PAYTYPENAMEANDPAYSUM
,a.FINALCOUNT as TICKETNOCOUNT
---where----
,to_char(b.CLIENTCODE ) as CLIENTCODE
,'03' as SALEMODEL
,to_char(a.SELLER) as OPTORCODE
,to_char((SELECT max(PARKCODE) FROM WEB_CHECKDETAIL wc WHERE wc.billno=a.BILLNO)) as PARKCODE
,c.BARCODETYPE,'' AS CREATE_OPTORCODE,'' AS ORGID
---where----
from WEB_BILLDETAIL a left join WEB_BILLMAIN b on a.BILLNO=b.BILLNO left join sys_ticketmodel c on c.ticketmodelcode=a.ticketmodelcode
left join Sto_TicketType t on t.barcodetype=c.barcodetype
left join sys_ticketmodelgroup d on c.ticketmodelgroupcode=d.ticketmodelgroupcode
)
where 1=1 and SALEMODEL in ('01','02','03','04','05','06','07','08') and TRADEDATE>=:BTRADEDATE and TRADEDATE<:ETRADEDATE and optorcode ='HSSP001' and create_optorcode = 'HSSP001'
SQL语句参数:
参数名:BTRADEDATE000
参数值:2019/9/8 0:00:00
参数类型:Date
参数名:ETRADEDATE001
参数值:2019/9/9 0:00:00
参数类型:Date
----------
【Info】 2019-09-08 11:33:41 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 11:33:41 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:33:53 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:33:53 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Code":"Base_GetRDMData_C_cmd_02701","SQLMapFile":"CmdSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","CREATETIME":"2019-09-08","EndTimeValue":"2019-09-08"}}
【Debugger】 2019-09-08 11:33:53 192.168.109.123
SQL语句:
select case when T.TradeType ='01'then'正常售票' when T.TradeType='02'then'退票' when T.TradeType='04'then'预售票' else'其它'end as TRADETYPENAME,
case when T.ClientType='01'then'散客'when T.ClientType='02'then'团队'
when T.ClientType='03'then'政府部门'when T.ClientType='04'then'企事业单位'else''end as CLIENTTYPENAME,
V.TICKETMODELGROUPNAME,K.TICKETMODELKINDNAME,V.TICKETMODELNAME||'('||V.BARCODETYPE||')' as TICKETMODELNAME,T.TICKETCOUNT,T.TICKETNOCOUNT,T.TICKETMODELPRICE,T.differenceprice,T.PAYSUM
from(
select A.ClientType,A.Billtype,B.TicketModelCode,B.TicketModelKind,B.TradeType,
B.TicketModelPrice,b.differenceprice,sum(TicketCount)as TicketCount,
sum(TICKETNOCOUNT) as TICKETNOCOUNT,sum(PaySum)as PaySum from
(select TradeID,ClientType,billtype from tkt_trademain
where tradetype <>'04' and tradetype<>'07' and create_optorcode=:OPTORCODE
AND tradedate>to_date(:CREATETIME,'yyyy-MM-dd HH24:Mi:ss') AND tradedate<=to_date(:EndTimeValue,'yyyy-MM-dd HH24:Mi:ss')+1
) A
left join tkt_tradedetail B on A.TradeID=B.TradeID
group by A.ClientType,A.Billtype,B.TicketModelCode,B.TicketModelKind,
B.TradeType,B.TicketModelPrice,b.differenceprice)T
left join view_xzh_TicketModelAndGroup V on T.TicketModelCode = V.TicketModelCode
left join view_xzh_TicketModelKind K on T.TicketModelKind = K.TicketModelKind
order by T.TradeType
SQL语句参数(共3个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"CREATETIME","Value":"2019-09-08","DbType":"String"},
{"ParameterName:"EndTimeValue","Value":"2019-09-08","DbType":"String"}
【Info】 2019-09-08 11:33:53 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 11:33:53 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:33:53 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:33:53 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Code":"Base_GetRDMData_C_cmd_037","SQLMapFile":"CmdSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","CREATETIME":"2019-09-08","EndTimeValue":"2019-09-08"}}
【Debugger】 2019-09-08 11:33:53 192.168.109.123
SQL语句:
select a.PAYTYPENAME,a.PAYTYPECODE,sum(a.paysum) as PAYSUM from
(
select b.PAYTYPENAME,b.PAYTYPECODE,b.paysum from tkt_tradepaytype b left join tkt_trademain c on b.tradeid=c.tradeid
where c.tradetype <>'04' and c.tradetype<>'07' and c.create_optorcode=:OPTORCODE
AND c.TRADEDATE>=to_date(:CREATETIME,'yyyy-MM-dd HH24:Mi:ss') AND c.TRADEDATE<=to_date(:EndTimeValue,'yyyy-MM-dd HH24:Mi:ss')+1
) a
group by a.PAYTYPENAME,a.PAYTYPECODE
SQL语句参数(共3个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"CREATETIME","Value":"2019-09-08","DbType":"String"},
{"ParameterName:"EndTimeValue","Value":"2019-09-08","DbType":"String"}
【Info】 2019-09-08 11:33:53 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 11:33:53 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:33:53 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:33:53 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Code":"Base_GetRDMData_C_cmd_03602","SQLMapFile":"CmdSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","CREATETIME":"2019-09-08","EndTimeValue":"2019-09-08"}}
【Debugger】 2019-09-08 11:33:53 192.168.109.123
SQL语句:
SELECT D.*,t.tickettypename FROM(
SELECT CASE WHEN MIN(BARCODE)<>MAX(BARCODE) THEN MIN(BARCODE)||'-'||MAX(BARCODE) ELSE MIN(BARCODE) END AS BARCODES
,Count(barcode) as BARCODECOUNT,flag,barcodetype,FCOUNT,
Count(barcode)*FLAG*FCOUNT as SELLCOUNT,case flag when 1 then '销售条码' when -1 then '退票条码' when 0 then '销售后退票条码' else '其它' end as FLAGNAME
FROM (
SELECT D.BARCODE,d.FCOUNT,flag,barcodetype,REGEXP_SUBSTR(replace(D.BARCODE,d.barcodetype,''),'[0-9]+')
- ROW_NUMBER() OVER(ORDER BY D.flag,d.barcodetype,d.FCOUNT,D.BARCODE)+1 AS GROUPNO
FROM (
select d.barcode,barcodetype,d.flag,d.FCOUNT from (
select barcode,ticketmodel,FLAG,count(1) FCOUNT from (
select ftradeid as tradeid ,barcode,fticketmodelcode as ticketmodel,1 as FLAG from tkt_tradebarcode d1
where exists(select 1 from tkt_trademain m where m.tradetype <>'04' and m.tradetype<>'07' and m.tradetype <>'02'
and m.create_optorcode=:OPTORCODE
AND m.tradedate>to_date(:CREATETIME,'yyyy-MM-dd HH24:Mi:ss') AND m.tradedateto_date(:CREATETIME,'yyyy-MM-dd HH24:Mi:ss') AND m.tradedateMAX(BARCODE) THEN MIN(BARCODE)||'-'||MAX(BARCODE) ELSE MIN(BARCODE) END AS BARCODES
,Count(barcode) as BARCODECOUNT,flag,barcodetype,FCOUNT,
Count(barcode)*FLAG*FCOUNT as SELLCOUNT,case flag when 1 then '销售条码' when -1 then '退票条码' when 0 then '销售后退票条码' else '其它' end as FLAGNAME
FROM (
SELECT D.BARCODE,d.FCOUNT,flag,barcodetype,REGEXP_SUBSTR(replace(D.BARCODE,d.barcodetype,''),'[0-9]+')
- ROW_NUMBER() OVER(ORDER BY D.flag,d.barcodetype,d.FCOUNT,D.BARCODE)+1 AS GROUPNO
FROM (
select d.barcode,barcodetype,d.flag,d.FCOUNT from (
select barcode,ticketmodel,FCOUNT,case when FCOUNT<0 then -1 else 1 end as FLag from
(
select barcode,ticketmodel,sum(FLAG*FCOUNT) as FCOUNT from
(
select barcode,ticketmodel,FLAG,count(1) FCOUNT from (
select ftradeid as tradeid,barcode,fticketmodelcode as ticketmodel,1 as FLAG from tkt_tradebarcode d1
where exists(select 1 from tkt_trademain m where m.tradetype <>'04' and m.tradetype<>'07' and m.tradetype <>'02'
and m.create_optorcode=:OPTORCODE
AND m.tradedate>to_date(:CREATETIME,'yyyy-MM-dd HH24:Mi:ss') AND m.tradedateto_date(:CREATETIME,'yyyy-MM-dd HH24:Mi:ss') AND m.tradedate
33868357C17B42498F4C270957783D9F
01
01
0
01
散客
01
现金
2
120
120
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
31B876D6F4FE4FCB8DBDCBDCD143529D
0
0
0
7ADA09FD1E554D1391125F81E5F7CFCB
01
1045009
101039
60
60
1
2
2
120
0
1001
1
0129001
120
0
0
门票
天池山、花山成人票
2
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
2714D843A39B4EAEBC71F9267E41E8EC
AE27FA4F74AE49FAA784F849C37F39DE
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
144D8759B75440A1B6AAD26F4F57A804
120
0
0
67D633B7B5484706A407612C7997528A
7ADA09FD1E554D1391125F81E5F7CFCB
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
2
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
9A165F2F45B545749F775733CE4DB6AB
0
0
NULL
NULL
0
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -2 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:33868357C17B42498F4C270957783D9F
参数类型:String
参数名:TRADEID001
参数值:190908114834100023447
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:2
参数类型:String
----------
参数名:PAYSUM016
参数值:120
参数类型:String
----------
参数名:BILLSUM017
参数值:120
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:31B876D6F4FE4FCB8DBDCBDCD143529D
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908114834100023447
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:2
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:2
参数类型:String
----------
参数名:PAYSUM011
参数值:120
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:120
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:2
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:2714D843A39B4EAEBC71F9267E41E8EC
参数类型:String
----------
参数名:FID037
参数值:7ADA09FD1E554D1391125F81E5F7CFCB
参数类型:String
----------
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908114834100023447
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:144D8759B75440A1B6AAD26F4F57A804
参数类型:String
----------
参数名:PAYSUM024
参数值:120
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:AE27FA4F74AE49FAA784F849C37F39DE
参数类型:String
----------
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:67D633B7B5484706A407612C7997528A
参数类型:String
参数名:FDETAILID001
参数值:7ADA09FD1E554D1391125F81E5F7CFCB
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908114834100023447
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090811483400048842
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090811483400048843
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048842
参数类型:String
----------
参数名:FENDCODE010
参数值:00048843
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:2
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 11:48:28
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:9A165F2F45B545749F775733CE4DB6AB
参数类型:String
----------
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908114834100023447'
SQL语句参数:
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48842'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=2
) c
where b.fid='67D633B7B5484706A407612C7997528A'
)
SQL语句参数:
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908114834100023447'
SQL语句参数:
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908114834100023447',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908114834100023447',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 11:48:34 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908114834100023447
0
-
1
2019-09-08 11:48:28
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908114834100023447
1045009
天池山、花山成人票
ET19090811483400048842
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
花山大门,天池山大门
现金
120
60
60
1
-
2
2019-09-08 11:48:28
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908114834100023447
1045009
天池山、花山成人票
ET19090811483400048843
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
120
60
60
1
【End】 2019-09-08 11:48:34 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 11:48:36 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 11:48:36 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 11:48:36 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 11:48:36 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 11:48:36 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 12:57:08 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 12:57:08 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 12:57:08 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 12:57:08 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 12:57:08 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 12:57:08 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
10B946B1181047FE979F557775EE2F86
01
01
0
01
散客
01
现金
2
120
120
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
4E97D0CFD4D449298726C0246FEFF5BA
0
0
0
2A1C2E59B6674EFE94199B1C0C877173
01
1045009
101039
60
60
1
2
2
120
0
1001
1
0129001
120
0
0
门票
天池山、花山成人票
2
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
DFD440B6D3474C5CBF63F863C1D7B099
2954C04195C24CC586E756A498B6C1BE
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
E1747E55FD5F4C768E0A51012003FDDD
120
0
0
A19E7148147E476398D2991F23E7125C
2A1C2E59B6674EFE94199B1C0C877173
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
2
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
4329401B78A94C6BBB5DB9C84883483B
0
0
NULL
NULL
0
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -2 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:10B946B1181047FE979F557775EE2F86
参数类型:String
参数名:TRADEID001
参数值:190908125708100023459
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:2
参数类型:String
----------
参数名:PAYSUM016
参数值:120
参数类型:String
----------
参数名:BILLSUM017
参数值:120
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:4E97D0CFD4D449298726C0246FEFF5BA
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908125708100023459
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:2
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:2
参数类型:String
----------
参数名:PAYSUM011
参数值:120
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:120
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:2
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:DFD440B6D3474C5CBF63F863C1D7B099
参数类型:String
----------
参数名:FID037
参数值:2A1C2E59B6674EFE94199B1C0C877173
参数类型:String
----------
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908125708100023459
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:E1747E55FD5F4C768E0A51012003FDDD
参数类型:String
----------
参数名:PAYSUM024
参数值:120
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:2954C04195C24CC586E756A498B6C1BE
参数类型:String
----------
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:A19E7148147E476398D2991F23E7125C
参数类型:String
参数名:FDETAILID001
参数值:2A1C2E59B6674EFE94199B1C0C877173
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908125708100023459
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090812570800048863
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090812570800048864
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048863
参数类型:String
----------
参数名:FENDCODE010
参数值:00048864
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:2
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 12:57:01
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:4329401B78A94C6BBB5DB9C84883483B
参数类型:String
----------
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908125708100023459'
SQL语句参数:
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48863'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=2
) c
where b.fid='A19E7148147E476398D2991F23E7125C'
)
SQL语句参数:
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908125708100023459'
SQL语句参数:
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908125708100023459',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908125708100023459',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 12:57:08 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908125708100023459
0
-
1
2019-09-08 12:57:01
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908125708100023459
1045009
天池山、花山成人票
ET19090812570800048863
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
花山大门,天池山大门
现金
120
60
60
1
-
2
2019-09-08 12:57:01
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908125708100023459
1045009
天池山、花山成人票
ET19090812570800048864
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
120
60
60
1
【End】 2019-09-08 12:57:08 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 12:57:09 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 12:57:09 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 12:57:09 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 12:57:09 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 12:57:09 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:15:31 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:15:31 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 15:15:31 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:15:31 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:15:31 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:15:31 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
AC6B9DAD53624EF2B8F025C07251517C
01
01
0
01
散客
01
现金
3
180
180
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
B22A9985468549B583BB8C57B98461D0
0
0
0
2C7FD7CF56DE45D48F4F086CA2A7D7CF
01
1045009
101039
60
60
1
3
3
180
0
1001
1
0129001
180
0
0
门票
天池山、花山成人票
3
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
C34A8D1D1C31454190EA3184320CBAB1
18C78D56D429445AA31F33C9D798AF72
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
FFE24B8B25564D47BBF02817BB3CD7B1
180
0
0
FEE7B1D00E4D4BD09C508A6D3585CECC
2C7FD7CF56DE45D48F4F086CA2A7D7CF
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
3
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
CA47EE8A47BC4380A39897816D373665
0
0
NULL
NULL
0
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -3 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:AC6B9DAD53624EF2B8F025C07251517C
参数类型:String
参数名:TRADEID001
参数值:190908151531100023472
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:3
参数类型:String
----------
参数名:PAYSUM016
参数值:180
参数类型:String
----------
参数名:BILLSUM017
参数值:180
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:B22A9985468549B583BB8C57B98461D0
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908151531100023472
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:3
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:3
参数类型:String
----------
参数名:PAYSUM011
参数值:180
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:180
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:3
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:C34A8D1D1C31454190EA3184320CBAB1
参数类型:String
----------
参数名:FID037
参数值:2C7FD7CF56DE45D48F4F086CA2A7D7CF
参数类型:String
----------
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908151531100023472
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:FFE24B8B25564D47BBF02817BB3CD7B1
参数类型:String
----------
参数名:PAYSUM024
参数值:180
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:18C78D56D429445AA31F33C9D798AF72
参数类型:String
----------
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:FEE7B1D00E4D4BD09C508A6D3585CECC
参数类型:String
参数名:FDETAILID001
参数值:2C7FD7CF56DE45D48F4F086CA2A7D7CF
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908151531100023472
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090815153100048889
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090815153100048891
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048889
参数类型:String
----------
参数名:FENDCODE010
参数值:00048891
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:3
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 15:15:25
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:CA47EE8A47BC4380A39897816D373665
参数类型:String
----------
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908151531100023472'
SQL语句参数:
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48889'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=3
) c
where b.fid='FEE7B1D00E4D4BD09C508A6D3585CECC'
)
SQL语句参数:
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908151531100023472'
SQL语句参数:
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908151531100023472',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908151531100023472',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 15:15:31 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908151531100023472
0
-
1
2019-09-08 15:15:25
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908151531100023472
1045009
天池山、花山成人票
ET19090815153100048889
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
3
180
60
180
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
180
60
60
1
-
2
2019-09-08 15:15:25
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908151531100023472
1045009
天池山、花山成人票
ET19090815153100048890
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
3
180
60
180
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
180
60
60
1
-
3
2019-09-08 15:15:25
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908151531100023472
1045009
天池山、花山成人票
ET19090815153100048891
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
3
180
60
180
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
180
60
60
1
【End】 2019-09-08 15:15:31 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:15:33 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:15:33 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 15:15:33 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 15:15:33 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:15:33 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:28:36 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:28:36 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 15:28:36 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:28:36 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:28:36 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:28:36 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
2841975C1D1E4D1793E14F66A7634E88
01
01
0
01
散客
01
现金
1
30
30
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
9C98413EE9A14D18BC0253844B11D7CA
0
0
0
2086CAF325F74BB0A4C74A4EC731A5A0
01
1045010
101035
30
30
1
1
1
30
0
1001
1
0129001
30
0
0
门票
天池山、花山半价票
1
半价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
B763C0037FF148F8833AB67BAEA18664
07246FC308A649049DD660127562B015
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
D32539FE5BAB4DB69AAD663D3E7B4757
30
0
0
EA01C8447453498EA32E9813B9F23826
2086CAF325F74BB0A4C74A4EC731A5A0
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045010
天池山、花山半价票
1
1
1
30
101035
半价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
4956B1EA3EE5494AA28298BF0C9C49F2
0
0
NULL
NULL
0
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -1 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:2841975C1D1E4D1793E14F66A7634E88
参数类型:String
参数名:TRADEID001
参数值:190908152836100023473
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:1
参数类型:String
----------
参数名:PAYSUM016
参数值:30
参数类型:String
----------
参数名:BILLSUM017
参数值:30
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:9C98413EE9A14D18BC0253844B11D7CA
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908152836100023473
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045010
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101035
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:30
参数类型:String
----------
参数名:TAXPRICE007
参数值:30
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:1
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:1
参数类型:String
----------
参数名:PAYSUM011
参数值:30
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:30
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:1
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:半价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:B763C0037FF148F8833AB67BAEA18664
参数类型:String
----------
参数名:FID037
参数值:2086CAF325F74BB0A4C74A4EC731A5A0
参数类型:String
----------
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908152836100023473
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:D32539FE5BAB4DB69AAD663D3E7B4757
参数类型:String
----------
参数名:PAYSUM024
参数值:30
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:07246FC308A649049DD660127562B015
参数类型:String
----------
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:EA01C8447453498EA32E9813B9F23826
参数类型:String
参数名:FDETAILID001
参数值:2086CAF325F74BB0A4C74A4EC731A5A0
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908152836100023473
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090815283600048892
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090815283600048892
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048892
参数类型:String
----------
参数名:FENDCODE010
参数值:00048892
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045010
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山半价票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:1
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:30
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101035
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:半价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 15:28:30
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:4956B1EA3EE5494AA28298BF0C9C49F2
参数类型:String
----------
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908152836100023473'
SQL语句参数:
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48892'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=1
) c
where b.fid='EA01C8447453498EA32E9813B9F23826'
)
SQL语句参数:
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908152836100023473'
SQL语句参数:
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908152836100023473',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908152836100023473',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 15:28:36 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908152836100023473
0
-
1
2019-09-08 15:28:30
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908152836100023473
1045010
天池山、花山半价票
ET19090815283600048892
半价
票 价:
30
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
1
30
30
30
30
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
30
30
30
1
【End】 2019-09-08 15:28:37 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:28:37 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:28:37 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 15:28:37 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 15:28:38 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:28:38 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:37:37 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:37:37 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetIsRetBoatTicket_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE,PARAMCODE","Condition":{"PARAMCODE":"5031"}}
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:select PARAMVALUE,PARAMCODE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"5031","DbType":"String"}
【Info】 2019-09-08 15:37:37 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:37:37 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:37:37 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:37:37 192.168.109.123
请求信息:
mn:TKT
cn:_TicketSale
mn2:Base_TicketSaleForGroup
对应参数:
data:
366A4DA86A43468C87ADD3A7AAF284CB
01
01
0
01
散客
01
现金
2
120
120
0
0
01
0129002
0129002
0
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
48D72C18FA9C4818B09E86062D1CE953
0
0
0
FBA46379678448EF85E6DCD0256E01C2
01
1045009
101039
60
60
1
2
2
120
0
1001
1
0129001
120
0
0
门票
天池山、花山成人票
2
全价
PrintTicketMP.frx
0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
ADAF0005AB53413E8D7C3407B9B4A719
1B45CFAEBF3B4063AAC576A568A75751
01
01
01
散客
01
现金
0129002
01
0129002
实收现金0 找零0
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
1586EB8322734631B2530D5CCC169FB2
120
0
0
799D2EABFBCE4E9199F61143A776EB7F
FBA46379678448EF85E6DCD0256E01C2
01
0
1
MP
1001
ET+PCODE+TD+TM+NUM
2019/9/8 8:53:43
2019/9/8 23:59:59
2019/9/8 8:53:43
2019/9/8 23:59:59
1045009
天池山、花山成人票
2
1
1
60
101039
全价
0
8
HSSP001
HSSP001
HSSP001
HSSP001
0
0
58E03E673C7747FF825A9F66F4FA4F32
6588BDA0A032434AA2687F539FA29D71
0
0
NULL
NULL
0
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:SELECT SEQ_TKT_TRADEID.NEXTVAL FROM DUAL
SQL语句参数:
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:UPDATE STO_STOCKCOUNT SET LEFTCOUNT = LEFTCOUNT -2 WHERE OBJECTCODE = '' AND TICKETTYPECODE = '1001'
SQL语句参数:
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEMAIN (FID, TRADEID, TRADEDATE, TRADETYPE, MAKETIME, BILLTYPE, BALANCEFLAG, GUIDECODE, CLIENTTYPE, CLIENTCODE, SRCCLIENTCODE, AREACODE, PERFORMCODE, PAYTYPECODE, PAYTYPENAME, TICKETCOUNT, PAYSUM, BILLSUM, REBATE, REBATESUM, SALEMODEL, PARKCODE, LOCATIONCODE, ORDERNUMBER, CLIENTTYPEEXT, CLIENTCERTCODE, FBARCODETYPE, TICKETSUM, DIFFERENCESUM, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, IFPRINTPRICE) VALUES(:FID, :TRADEID, :TRADEDATE, :TRADETYPE, :MAKETIME, :BILLTYPE, :BALANCEFLAG, :GUIDECODE, :CLIENTTYPE, :CLIENTCODE, :SRCCLIENTCODE, :AREACODE, :PERFORMCODE, :PAYTYPECODE, :PAYTYPENAME, :TICKETCOUNT, :PAYSUM, :BILLSUM, :REBATE, :REBATESUM, :SALEMODEL, :PARKCODE, :LOCATIONCODE, :ORDERNUMBER, :CLIENTTYPEEXT, :CLIENTCERTCODE, :FBARCODETYPE, :TICKETSUM, :DIFFERENCESUM, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :IFPRINTPRICE)
SQL语句参数:
参数名:FID000
参数值:366A4DA86A43468C87ADD3A7AAF284CB
参数类型:String
参数名:TRADEID001
参数值:190908153737100023474
参数类型:String
----------
参数名:TRADEDATE002
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:TRADETYPE003
参数值:01
参数类型:String
----------
参数名:MAKETIME004
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:BILLTYPE005
参数值:01
参数类型:String
----------
参数名:BALANCEFLAG006
参数值:0
参数类型:String
----------
参数名:GUIDECODE007
参数值:
参数类型:String
----------
参数名:CLIENTTYPE008
参数值:01
参数类型:String
----------
参数名:CLIENTCODE009
参数值:散客
参数类型:String
----------
参数名:SRCCLIENTCODE010
参数值:
参数类型:String
----------
参数名:AREACODE011
参数值:
参数类型:String
----------
参数名:PERFORMCODE012
参数值:
参数类型:String
----------
参数名:PAYTYPECODE013
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME014
参数值:现金
参数类型:String
----------
参数名:TICKETCOUNT015
参数值:2
参数类型:String
----------
参数名:PAYSUM016
参数值:120
参数类型:String
----------
参数名:BILLSUM017
参数值:120
参数类型:String
----------
参数名:REBATE018
参数值:0
参数类型:String
----------
参数名:REBATESUM019
参数值:0
参数类型:String
----------
参数名:SALEMODEL020
参数值:01
参数类型:String
----------
参数名:PARKCODE021
参数值:0129002
参数类型:String
----------
参数名:LOCATIONCODE022
参数值:0129002
参数类型:String
----------
参数名:ORDERNUMBER023
参数值:
参数类型:String
----------
参数名:CLIENTTYPEEXT024
参数值:
参数类型:String
----------
参数名:CLIENTCERTCODE025
参数值:
参数类型:String
----------
参数名:FBARCODETYPE026
参数值:
参数类型:String
----------
参数名:TICKETSUM027
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM028
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME033
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:MODIFIED_TIME034
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:USEFLAG035
参数值:0
参数类型:String
----------
参数名:DELETED036
参数值:0
参数类型:String
----------
参数名:ORGID037
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP038
参数值:48D72C18FA9C4818B09E86062D1CE953
参数类型:String
----------
参数名:IFPRINTPRICE039
参数值:0
参数类型:String
----------
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEDETAIL'
SQL语句参数:无。
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEDETAIL (TRADEID, TRADEDATE, TRADETYPE, CONSTRACTPRICECODE, TICKETMODELCODE, TICKETMODELKIND, TICKETMODELPRICE, TAXPRICE, TAXPRINTFLAG, TICKETCOUNT, TICKETNOCOUNT, PAYSUM, PARKCOUNT, PERFORMCODE, SEATAREACODE, TICKETTYPECODE, PRINTCOUNT, FBELONGCODE, TICKETPAYPRICE, DIFFERENCEPRICE, DIFFERENCESUM, FTICKETTYPE, FTICKETMODELNAME, FUSERCOUNT, FTICKETMODELKINDNAME, PRINTTEMPNAME, PRINTTEMPMODEL, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :CONSTRACTPRICECODE, :TICKETMODELCODE, :TICKETMODELKIND, :TICKETMODELPRICE, :TAXPRICE, :TAXPRINTFLAG, :TICKETCOUNT, :TICKETNOCOUNT, :PAYSUM, :PARKCOUNT, :PERFORMCODE, :SEATAREACODE, :TICKETTYPECODE, :PRINTCOUNT, :FBELONGCODE, :TICKETPAYPRICE, :DIFFERENCEPRICE, :DIFFERENCESUM, :FTICKETTYPE, :FTICKETMODELNAME, :FUSERCOUNT, :FTICKETMODELKINDNAME, :PRINTTEMPNAME, :PRINTTEMPMODEL, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908153737100023474
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:CONSTRACTPRICECODE003
参数值:
参数类型:String
----------
参数名:TICKETMODELCODE004
参数值:1045009
参数类型:String
----------
参数名:TICKETMODELKIND005
参数值:101039
参数类型:String
----------
参数名:TICKETMODELPRICE006
参数值:60
参数类型:String
----------
参数名:TAXPRICE007
参数值:60
参数类型:String
----------
参数名:TAXPRINTFLAG008
参数值:1
参数类型:String
----------
参数名:TICKETCOUNT009
参数值:2
参数类型:String
----------
参数名:TICKETNOCOUNT010
参数值:2
参数类型:String
----------
参数名:PAYSUM011
参数值:120
参数类型:String
----------
参数名:PARKCOUNT012
参数值:0
参数类型:String
----------
参数名:PERFORMCODE013
参数值:
参数类型:String
----------
参数名:SEATAREACODE014
参数值:
参数类型:String
----------
参数名:TICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:PRINTCOUNT016
参数值:1
参数类型:String
----------
参数名:FBELONGCODE017
参数值:0129001
参数类型:String
----------
参数名:TICKETPAYPRICE018
参数值:120
参数类型:String
----------
参数名:DIFFERENCEPRICE019
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM020
参数值:0
参数类型:String
----------
参数名:FTICKETTYPE021
参数值:门票
参数类型:String
----------
参数名:FTICKETMODELNAME022
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FUSERCOUNT023
参数值:2
参数类型:String
----------
参数名:FTICKETMODELKINDNAME024
参数值:全价
参数类型:String
----------
参数名:PRINTTEMPNAME025
参数值:PrintTicketMP.frx
参数类型:String
----------
参数名:PRINTTEMPMODEL026
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE027
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME028
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE029
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME030
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME031
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:MODIFIED_TIME032
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:USEFLAG033
参数值:0
参数类型:String
----------
参数名:DELETED034
参数值:0
参数类型:String
----------
参数名:ORGID035
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP036
参数值:ADAF0005AB53413E8D7C3407B9B4A719
参数类型:String
----------
参数名:FID037
参数值:FBA46379678448EF85E6DCD0256E01C2
参数类型:String
----------
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:SELECT COUNT(1) AS IfExitst FROM USER_TABLES WHERE TABLE_NAME = UPPER('SYS_SEQUENCESKEY')
SQL语句参数:无。
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:select cu.* from user_cons_columns cu, user_constraints au
where cu.constraint_name = au.constraint_name and au.constraint_type = 'P' and au.table_name = 'TKT_TRADEPAYTYPE'
SQL语句参数:无。
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEPAYTYPE (TRADEID, TRADEDATE, TRADETYPE, BILLNO, BILLTYPE, CLIENTTYPE, CLIENTCODE, PAYTYPECODE, PAYTYPENAME, PERFORMCODE, PARKCODE, SALEMODEL, LOCATIONCODE, REMARK, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP, PAYSUM, TICKETSUM, DIFFERENCESUM, FID) VALUES(:TRADEID, :TRADEDATE, :TRADETYPE, :BILLNO, :BILLTYPE, :CLIENTTYPE, :CLIENTCODE, :PAYTYPECODE, :PAYTYPENAME, :PERFORMCODE, :PARKCODE, :SALEMODEL, :LOCATIONCODE, :REMARK, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP, :PAYSUM, :TICKETSUM, :DIFFERENCESUM, :FID)
SQL语句参数:
参数名:TRADEID000
参数值:190908153737100023474
参数类型:String
参数名:TRADEDATE001
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:BILLNO003
参数值:
参数类型:String
----------
参数名:BILLTYPE004
参数值:01
参数类型:String
----------
参数名:CLIENTTYPE005
参数值:01
参数类型:String
----------
参数名:CLIENTCODE006
参数值:散客
参数类型:String
----------
参数名:PAYTYPECODE007
参数值:01
参数类型:String
----------
参数名:PAYTYPENAME008
参数值:现金
参数类型:String
----------
参数名:PERFORMCODE009
参数值:
参数类型:String
----------
参数名:PARKCODE010
参数值:0129002
参数类型:String
----------
参数名:SALEMODEL011
参数值:01
参数类型:String
----------
参数名:LOCATIONCODE012
参数值:0129002
参数类型:String
----------
参数名:REMARK013
参数值:实收现金0 找零0
参数类型:String
----------
参数名:CREATE_OPTORCODE014
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME015
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE016
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME017
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME018
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:MODIFIED_TIME019
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:USEFLAG020
参数值:0
参数类型:String
----------
参数名:DELETED021
参数值:0
参数类型:String
----------
参数名:ORGID022
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP023
参数值:1586EB8322734631B2530D5CCC169FB2
参数类型:String
----------
参数名:PAYSUM024
参数值:120
参数类型:String
----------
参数名:TICKETSUM025
参数值:0
参数类型:String
----------
参数名:DIFFERENCESUM026
参数值:0
参数类型:String
----------
参数名:FID027
参数值:1B45CFAEBF3B4063AAC576A568A75751
参数类型:String
----------
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:INSERT INTO TKT_TRADEBARCODE_TEMP (FID, FDETAILID, TRADETYPE, FTRADEID, FRETRADEID, TRADEDATE, RETTIME, FBEGBARCODE, FENDBARCODE, FBEGINCODE, FENDCODE, TICKETTYPEFLAG, ISPRINT, CONSTRACTPRICECODE, FBARCODETYPE, FTICKETTYPECODE, FCREATERULE, FPRINTRULE, FBEGINDATE, FENDDATE, EARLIESTDATE, LATESTDATE, FTICKETMODELCODE, FTicketModelName, FTICKETMODELCOUNT, FTICKETCOUNT, PRINT_COUNT, TICKETMODELPRICE, TICKETKINDCODE, TICKETKINDNAME, FISENABLED, CREATE_OPTORCODE, CREATE_OPTORNAME, MODIFIED_OPTORCODE, MODIFIED_OPTORNAME, CREATE_TIME, MODIFIED_TIME, USEFLAG, DELETED, ORGID, STAMP) VALUES(:FID, :FDETAILID, :TRADETYPE, :FTRADEID, :FRETRADEID, :TRADEDATE, :RETTIME, :FBEGBARCODE, :FENDBARCODE, :FBEGINCODE, :FENDCODE, :TICKETTYPEFLAG, :ISPRINT, :CONSTRACTPRICECODE, :FBARCODETYPE, :FTICKETTYPECODE, :FCREATERULE, :FPRINTRULE, :FBEGINDATE, :FENDDATE, :EARLIESTDATE, :LATESTDATE, :FTICKETMODELCODE, :FTicketModelName, :FTICKETMODELCOUNT, :FTICKETCOUNT, :PRINT_COUNT, :TICKETMODELPRICE, :TICKETKINDCODE, :TICKETKINDNAME, :FISENABLED, :CREATE_OPTORCODE, :CREATE_OPTORNAME, :MODIFIED_OPTORCODE, :MODIFIED_OPTORNAME, :CREATE_TIME, :MODIFIED_TIME, :USEFLAG, :DELETED, :ORGID, :STAMP)
SQL语句参数:
参数名:FID000
参数值:799D2EABFBCE4E9199F61143A776EB7F
参数类型:String
参数名:FDETAILID001
参数值:FBA46379678448EF85E6DCD0256E01C2
参数类型:String
----------
参数名:TRADETYPE002
参数值:01
参数类型:String
----------
参数名:FTRADEID003
参数值:190908153737100023474
参数类型:String
----------
参数名:FRETRADEID004
参数值:
参数类型:String
----------
参数名:TRADEDATE005
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:RETTIME006
参数值:
参数类型:String
----------
参数名:FBEGBARCODE007
参数值:ET19090815373700048893
参数类型:String
----------
参数名:FENDBARCODE008
参数值:ET19090815373700048894
参数类型:String
----------
参数名:FBEGINCODE009
参数值:00048893
参数类型:String
----------
参数名:FENDCODE010
参数值:00048894
参数类型:String
----------
参数名:TICKETTYPEFLAG011
参数值:0
参数类型:String
----------
参数名:ISPRINT012
参数值:1
参数类型:String
----------
参数名:CONSTRACTPRICECODE013
参数值:
参数类型:String
----------
参数名:FBARCODETYPE014
参数值:MP
参数类型:String
----------
参数名:FTICKETTYPECODE015
参数值:1001
参数类型:String
----------
参数名:FCREATERULE016
参数值:
参数类型:String
----------
参数名:FPRINTRULE017
参数值:ET+PCODE+TD+TM+NUM
参数类型:String
----------
参数名:FBEGINDATE018
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:FENDDATE019
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:EARLIESTDATE020
参数值:2019/9/8 8:53:43
参数类型:Date
----------
参数名:LATESTDATE021
参数值:2019/9/8 23:59:59
参数类型:Date
----------
参数名:FTICKETMODELCODE022
参数值:1045009
参数类型:String
----------
参数名:FTICKETMODELNAME023
参数值:天池山、花山成人票
参数类型:String
----------
参数名:FTICKETMODELCOUNT024
参数值:2
参数类型:String
----------
参数名:FTICKETCOUNT025
参数值:1
参数类型:String
----------
参数名:PRINT_COUNT026
参数值:1
参数类型:String
----------
参数名:TICKETMODELPRICE027
参数值:60
参数类型:String
----------
参数名:TICKETKINDCODE028
参数值:101039
参数类型:String
----------
参数名:TICKETKINDNAME029
参数值:全价
参数类型:String
----------
参数名:FISENABLED030
参数值:0
参数类型:String
----------
参数名:CREATE_OPTORCODE031
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_OPTORNAME032
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORCODE033
参数值:HSSP001
参数类型:String
----------
参数名:MODIFIED_OPTORNAME034
参数值:HSSP001
参数类型:String
----------
参数名:CREATE_TIME035
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:MODIFIED_TIME036
参数值:2019/9/8 15:37:31
参数类型:Date
----------
参数名:USEFLAG037
参数值:0
参数类型:String
----------
参数名:DELETED038
参数值:0
参数类型:String
----------
参数名:ORGID039
参数值:58E03E673C7747FF825A9F66F4FA4F32
参数类型:String
----------
参数名:STAMP040
参数值:6588BDA0A032434AA2687F539FA29D71
参数类型:String
----------
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:select * from TKT_TRADEBARCODE_TEMP where ftradeid = '190908153737100023474'
SQL语句参数:
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:
insert into tkt_tradebarcode (FID,fdetailid,ftradeid,fretradeid,tradedate,rettime,fbegbarcode,fendbarcode,
fbegincode,fendcode,tickettypeflag,isprint,constractpricecode,fbarcodetype,ftickettypecode,
fcreaterule,fprintrule,fbegindate,fticketmodelcode,fticketmodelname,fticketmodelcount,ticketmodelprice,
ticketkindcode,ticketkindname,fuseflag,fisenabled,fremark,useflag,orgid,create_optorcode,
create_optorname,create_time,modified_optorcode,modified_optorname,deleted,stamp,modified_time,
barcode,print_count,fticketcount,fsubpringcount,fenddate,tradetype,earliestdate,latestdate)
select * from
(
select sys_guid() as FID,b.fdetailid,b.ftradeid,b.fretradeid,b.tradedate,b.rettime,b.fbegbarcode,b.fendbarcode,
b.fbegincode,b.fendcode,b.tickettypeflag,b.isprint,b.constractpricecode,b.fbarcodetype,b.ftickettypecode,
b.fcreaterule,b.fprintrule,b.fbegindate,b.fticketmodelcode,b.fticketmodelname,b.fticketmodelcount,b.ticketmodelprice,
b.ticketkindcode,b.ticketkindname,0,b.fisenabled,'' fremark,b.useflag,b.orgid,b.create_optorcode,
b.create_optorname,b.create_time,b.modified_optorcode,b.modified_optorname,b.deleted,b.stamp,b.modified_time,
replace(b.fendbarcode||'e',b.fendcode||'e','')||lpad(('48893'+sLevel-1),'5','0') as barcode,b.print_count,b.fticketcount,
b.fsubpringcount,b.fenddate,b.tradetype,b.earliestdate,b.latestdate
from TKT_TRADEBARCODE_TEMP b,
(
SELECT LEVEL as sLevel FROM DUAL CONNECT BY LEVEL <=2
) c
where b.fid='799D2EABFBCE4E9199F61143A776EB7F'
)
SQL语句参数:
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:delete TKT_TRADEBARCODE_TEMP where FTRADEID = '190908153737100023474'
SQL语句参数:
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:UPDATE TKT_TRADEWEIXIN SET TRADEID ='190908153737100023474',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:UPDATE TKT_TRADEALIPAY SET TRADEID ='190908153737100023474',ISSYNC=2 WHERE FID ='0'
SQL语句参数:
【Debugger】 2019-09-08 15:37:37 192.168.109.123
SQL语句:
WITH TRADEBARCODE AS
(
SELECT DISTINCT T.FBEGBARCODE,T.FTICKETMODELCOUNT AS COUNTS,T.BARCODE,
T.FTRADEID AS TRADEID,T.FUSEFLAG AS USEFLAG,T.FTICKETMODELCOUNT AS TICKETCOUNT,VT.VALIDDAYS,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FBEGINDATE
ELSE VT.FLIMITTIMEBEGIN END) AS BEGINDATE,
(CASE VT.FLIMITTIMEFLAG
WHEN 0 THEN T.FENDDATE
ELSE VT.FLIMITTIMEEND END) AS INVALIDATE,
T.FTICKETMODELCODE,
T.FTICKETCOUNT AS LEFTCOUNT,
T.FTICKETCOUNT AS USERCOUNT,
TD.CLIENTTYPE,VT.PARKFULLNAME AS PARKNAME,TT.CONSTRACTPRICECODE,T.PRINT_COUNT,T.FPRINTRULE,T.FCREATERULE
FROM TKT_TRADEBARCODE T
INNER JOIN TKT_TRADEDETAIL TT ON T.FDETAILID=TT.FID
INNER JOIN TKT_TRADEMAIN TD ON T.FTRADEID=TD.TRADEID
INNER JOIN VIEW_SYS_TICKETMODELCITEM VT ON T.FTICKETMODELCODE=VT.FTICKETMODELCODE
WHERE T.FTRADEID = :TRADEID AND T.FUSEFLAG=0 AND T.ISPRINT=1
),
BARCODETICKETMODELCODE AS (
SELECT TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,MIN(TAB.BEGINDATE) AS BEGINDATE,
MAX(TAB.INVALIDATE) AS INVALIDATE,MAX(TAB.BEGINDATE) AS MINBEGINDATE,MIN(TAB.INVALIDATE) AS MININVALIDATE,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,WM_CONCAT(TAB.PARKNAME) AS PARKS,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
FROM TRADEBARCODE TAB
GROUP BY TAB.BARCODE,TAB.TRADEID,TAB.USEFLAG,TAB.TICKETCOUNT,TAB.FTICKETMODELCODE,TAB.LEFTCOUNT,
TAB.USERCOUNT,TAB.CLIENTTYPE,TAB.CONSTRACTPRICECODE,TAB.VALIDDAYS,TAB.PRINT_COUNT,TAB.FPRINTRULE,TAB.FCREATERULE
ORDER BY TAB.BARCODE
),
SHIPINFO AS (
SELECT TS.FID AS SIFID,TS.FTRADEID AS SIFTRADEID,P.FDATE AS SIFDATE,P.FSTARTTIME AS SIFSTARTTIME,P.FSHIPCODE AS SIFSHIPCODE,P.FSHIPNAME AS SIFSHIPNAME,
P.FSHIPTYPECODE AS SIFSHIPTYPECODE,P.FSHIPTYPENAME AS SIFSHIPTYPENAME,TS.FNAME AS SISEATNAME,TS.FCOLINDEX AS SIFCOLINDEX,TS.FROWINDEX AS SIFROWINDEX,TS.FROWINDEX+1 AS SINFROWINDEX,TS.FTICKETBARCODE
FROM ATP_TRADESHIPSEAT TS
LEFT JOIN ATP_PLAN P ON TS.FPLANID=P.FID
WHERE P.FID IS NOT NULL AND TS.FTRADEID=:TRADEID
ORDER BY TS.FROWINDEX,FCOLINDEX
),
FILMINFO AS (
SELECT FS.FID AS FIID,'第'||FP.SCENEID||'场,时间:'||FP.PERFORMTIME AS FITEXT,FP.SCENEID AS FIVALUE,FP.PERFORMCODE AS FIPERFORMCODE,
FP.PERFORMNAME AS FIPERFORMNAME,TO_CHAR(FP.PERFORMDATE,'YYYY-MM-DD') AS FIPERFORMDATE,FP.PERFORMTIME AS FIPERFORMTIME,FP.TIMELONG AS FITIMELONG,FP.BEFORECHECKTIME AS FIBEFORECHECKTIME,FP.SCENEID AS FISCENEID,
FS.TRADEID AS FITRADEID,FS.BARCODE AS FIBARCODE,FS.AREACODE AS FIAREACODE,FS.AREANAME AS FIAREANAME,FS.SROW AS FISROW,FS.SCOL AS FISCOL,FS.SCOL+1 AS FINSCOL,FS.SROW+1 AS FINSROW,FS.SEATID AS FISEATID,FS.SEATNAME AS FISEATNAME FROM FILM_SEATSELLDETAIL FS
LEFT JOIN FILM_PERFORMPLAN FP ON FS.PERFORMCODE=FP.PERFORMCODE
WHERE FS.TRADEID = :TRADEID
ORDER BY FS.SROW,FS.SCOL
)
SELECT ROWNUM AS ROWNUMFLAG, TO_CHAR(M.TRADEDATE,'YYYY-MM-DD HH24:MI:SS') AS TRADEDATE,M.BILLTYPE,T.TICKETTYPEFLAG,D.REGCERT,G.TICKETMODELGROUPNAME,T.TICKETTYPECODE,
CASE T.TICKETTYPEFLAG WHEN 0 THEN '现场打印'WHEN 1 THEN '预印刷/明信片' WHEN 2 THEN 'IC卡门票' ELSE '其它' END AS TICKETTYPEFLAGNAME,
T.ISPRINT,
A.TRADEID,A.FTICKETMODELCODE AS TICKETMODEL,B.FTICKETMODELNAME AS TICKETMODELNAME,A.BARCODE,B.FTICKETMODELKINDNAME AS TICKETKINDNAME
,CASE M.IFPRINTPRICE WHEN 0 THEN '票 价:' ELSE ' ' END AS TICKETMODELPRICENAME
,B.TICKETMODELPRICE,B.DIFFERENCEPRICE,A.USERCOUNT*D.USERCOUNT AS FUSERCOUNT,A.USERCOUNT*D.USERCOUNT AS USERCOUNT,
TO_CHAR(A.BEGINDATE,'YYYY-MM-DD') AS BEGINDATE,
TO_CHAR(A.INVALIDATE,'YYYY-MM-DD') AS INVALIDATE,
TO_CHAR(A.MINBEGINDATE,'YYYY-MM-DD') AS MINBEGINDATE,
TO_CHAR(A.MININVALIDATE,'YYYY-MM-DD') AS MININVALIDATE,A.VALIDDAYS,
M.CREATE_OPTORCODE AS OPTORCODE,M.CREATE_OPTORNAME AS FOPTOR,A.LEFTCOUNT,
CASE A.USEFLAG WHEN 0 THEN '正常' WHEN 1 THEN '退票' ELSE '其它' END AS USEFLAGNAME,A.USEFLAG, B.PRINTTEMPNAME,B.PRINTTEMPMODEL,
CASE WHEN A.INVALIDATE+1
190908153737100023474
0
-
1
2019-09-08 15:37:31
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908153737100023474
1045009
天池山、花山成人票
ET19090815373700048893
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
天池山大门,花山大门
现金
120
60
60
1
-
2
2019-09-08 15:37:31
01
0
0
天池山、花山、白象湾联票
1001
现场打印
1
190908153737100023474
1045009
天池山、花山成人票
ET19090815373700048894
全价
票 价:
60
0
1
1
2019-09-08
2019-09-08
2019-09-08
2019-09-08
1
HSSP001
HSSP001
1
正常
0
PrintTicketMP.frx
0
1
2
120
60
120
60
0
01
1
ET+PCODE+TD+TM+NUM
花山大门,天池山大门
现金
120
60
60
1
【End】 2019-09-08 15:37:37 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:37:38 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:37:38 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 15:37:38 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 15:37:39 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:37:39 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:47:58 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Code":"Base_LoadWindowCom_C_cmd3_010","SQLMapFile":"CmdSQLMap3.config"}
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:
select c.*,k.parkfullname from sys_computer c left join sys_park k on c.fparkcode=k.parkcode where k.deleted=0
SQL语句参数:无。
【Info】 2019-09-08 15:47:58 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:47:58 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:Base_GetVerificationCode
对应参数:
data:
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:select PARAMCODE,PARAMVALUE from sys_param where PARAMCODE='0002' or PARAMCODE='0003'
SQL语句参数:
【Info】 2019-09-08 15:47:58 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:47:58 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:GetVerificationLogin
对应参数:
data:
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:select PARAMCODE,PARAMVALUE from sys_param where PARAMCODE=3001 or PARAMCODE=3002 or PARAMCODE=3003 or PARAMCODE=3004 or PARAMCODE=3005
SQL语句参数:
【Info】 2019-09-08 15:47:58 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:47:58 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:GetUserPwdModifiedTime
对应参数:
data:
hssp001
0
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:SELECT * FROM SYS_OPERATOR WHERE MODIFIED_TIME>to_date('2019-09-08 15:47:58','yyyy-MM-dd HH24:Mi:ss') AND (OPERATORCODE='HSSP001' OR OPERATORCODE='hssp001')
SQL语句参数:
【Info】 2019-09-08 15:47:58 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"Root","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:47:58 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:Base_LoginWithOutValidateCodeXml
对应参数:
userName:hssp001
pwd:C4CA4238A0B923820DCC509A6F75849B
Version:
ip:192.168.109.123/192.168.123.113
mac:D8-CB-8A-2E-A9-77
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:select * from SYS_OPERATOR where OPERATORCODE=:OPERATORCODE and OPERATORPASS=:OPERATORPASS
SQL语句参数(共2个):
{"ParameterName:"OPERATORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"OPERATORPASS","Value":"C4CA4238A0B923820DCC509A6F75849B","DbType":"String"}
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:select identify from sys_dept where fid = '58E03E673C7747FF825A9F66F4FA4F32'
SQL语句参数:无。
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:insert into WEB_SYS_OPERATORLOGIN(FID,OPERATORCODE,OPERATORNAME,LASTLOGINIP,FTYPE,FMAC) values ('BE74B0CA9D2644B99CD1538F8DCE36B5','HSSP001','HSSP001','192.168.109.123/192.168.123.113',1,'D8-CB-8A-2E-A9-77')
SQL语句参数:无。
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:
select * from
(
with X as
(
select distinct B.FID,B.PlugCode,B.PlugName,B.ParentID,B.PlugType,B.WPFUrl,B.PlugUrl,B.ImpOnWPF,A.SysCode, A.SubSystemSort,A.PlugSort,b.PICNAME,c.btn
from view_BIM_OperatorSubSystemPlug A
join web_sys_plug B on A.PlugCode = B.PlugCode
left join
(
select fplugid,to_char(wm_concat(fbuttoncode)) btn
from
(
select rpb.fplugid,pb.fbuttoncode
from web_sys_roleplugbutton rpb left join web_sys_plugbutton pb
on rpb.fbuttonid = pb.fid and rpb.froleid in (select t.roleid from web_sys_roleoperator t where t.operatorid = :OperatorID)
)
group by fplugid
) c on c.fplugid = b.fid
where operatorID=:OperatorID and WPFUrl is not null and imponwpf>0 and state=1 and deleted = 0
)
select * from X
union
select distinct B.FID,B.PlugCode,B.PlugName,B.ParentID,B.PlugType,B.WPFUrl,B.PlugUrl,B.ImpOnWPF,A.SysCode, A.SubSystemSort,A.PlugSort,b.PICNAME,c.btn
from view_BIM_OperatorSubSystemPlug A
join web_sys_plug B on A.PlugCode = B.PlugCode
left join
(
select fplugid,to_char(wm_concat(fbuttoncode)) btn
from
(
select rpb.fplugid,pb.fbuttoncode
from web_sys_roleplugbutton rpb left join web_sys_plugbutton pb
on rpb.fbuttonid = pb.fid and rpb.froleid in (select t.roleid from web_sys_roleoperator t where t.operatorid = :OperatorID)
)
group by fplugid
) c on c.fplugid = b.fid
where operatorID=:OperatorID and WPFUrl is not null and state=1 and deleted = 0 and B.FID in (select ParentID from X)
)
order by SubSystemSort,PlugSort
SQL语句参数(共4个):
{"ParameterName:"OperatorID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"},
{"ParameterName:"OperatorID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"},
{"ParameterName:"OperatorID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"},
{"ParameterName:"OperatorID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"}
【Info】 2019-09-08 15:47:58 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:47:58 192.168.109.123
请求信息:
mn:TKT
cn:Authority
mn2:Base_GetUserDetail
对应参数:
operatorid:177FFEDC45E3490E9F149C711CECB3E1
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:SELECT P.PARKCODE,P.PARKSHORTNAME,S.STORAGECODE,S.STORAGENAME,T.ISTICKETSELLER,T.TDTICKETFLAG,T.SKTICKETFLAG,T.CONTICKETFLAG,T.PARKPOWERFLAG,O.FID AS SETTLE FROM SYS_OPERATOR T LEFT JOIN SYS_PARK P ON P.PARKCODE = T.PARKCODE LEFT JOIN STO_STORAGE S ON S.STORAGECODE = T.STORAGECODE LEFT JOIN (SELECT FID,CREATE_OPTORCODE AS OPTORCODE FROM TKT_OPTORBALANCE WHERE BALANCEDATE=:BALANCEDATE) O ON O.OPTORCODE = T.OPERATORCODE WHERE T.FID=:OPERATORID
SQL语句参数:
参数名:BALANCEDATE000
参数值:2019/9/8 0:00:00
参数类型:Date
参数名:OPERATORID001
参数值:177FFEDC45E3490E9F149C711CECB3E1
参数类型:String
----------
【Info】 2019-09-08 15:47:58 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:47:58 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:Base_GetDefaultDBTip
对应参数:
【Info】 2019-09-08 15:47:58 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:47:58 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Code":"Base_GetOptorStockData_C_cxk_002","SQLMapFile":"XzhSQLMap.config","Parameters":{"OptorCode":"HSSP001"}}
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:
SELECT * FROM (
--数量库存
SELECT (B.TICKETTYPENAME ||'(' ||B.BARCODETYPE||')') AS TICKETTYPENAME,B.BARCODETYPE,A.OBJECTCODE AS HANDLEMAN,'/' AS BEGINBARCODE, '/' AS ENDBARCODE,A.LEFTCOUNT ,A.LEFTCOUNT AS AMOUNT,0 AS TICKETTYPEFLAG , '数量库存' as ticketTypeFlagName
FROM STO_STOCKCOUNT A
INNER JOIN STO_TICKETTYPE B ON A.TICKETTYPECODE = B.TICKETTYPECODE
WHERE B.USEFLAG=0 AND A.OBJECTCODE=:OptorCode AND B.TICKETTYPEFLAG=0
UNION
--明细库存
SELECT (B.TICKETTYPENAME ||'(' ||B.BARCODETYPE||')') AS TICKETTYPENAME,B.BARCODETYPE, T.STORAGECODE AS HANDLEMAN, T.BEGINTICKETCODE AS BEGINBARCODE, T.ENDTICKETCODE AS ENDBARCODE,T.TICKETAMOUNT AS LEFTCOUNT, T.TICKETAMOUNT AS AMOUNT,1 AS TICKETTYPEFLAG ,'明细库存'
FROM STO_STOCKDETAIL T INNER JOIN STO_TICKETTYPE B ON T.TICKETTYPECODE=B.TICKETTYPECODE
WHERE T.TICKETSTATUS = 0 AND T.STORAGECODE=:OptorCode
) T ORDER BY T.TICKETTYPEFLAG ASC
SQL语句参数(共2个):
{"ParameterName:"OptorCode","Value":"HSSP001","DbType":"String"},
{"ParameterName:"OptorCode","Value":"HSSP001","DbType":"String"}
【Info】 2019-09-08 15:47:58 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"ItemList","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:47:58 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_ShowStockModel_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE","Condition":{"PARAMCODE":"0025"}}
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 15:47:58 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"0025","DbType":"String"}
【Info】 2019-09-08 15:47:58 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:47:58 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:01 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetStockModel_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE","Condition":{"PARAMCODE":"0025"}}
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"0025","DbType":"String"}
【Info】 2019-09-08 15:48:01 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:01 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetStockTypeData_C","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE ","Condition":{"PARAMCODE":"0025"}}
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"0025","DbType":"String"}
【Info】 2019-09-08 15:48:01 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:01 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetReputationStateTypeXml_C_(COMMON)","TableName":"SYS_PARAM","SelectFields":"PARAMVALUE ","Condition":{"PARAMCODE":"0030"}}
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:select PARAMVALUE from SYS_PARAM where PARAMCODE=:PARAMCODE
SQL语句参数(共1个):
{"ParameterName:"PARAMCODE","Value":"0030","DbType":"String"}
【Info】 2019-09-08 15:48:01 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:01 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTicketSalesBaseData_C","Code":"Base_GetTicketSalesBaseData_C_zjw_002_By_Licl","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPERATORID":"177FFEDC45E3490E9F149C711CECB3E1","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句: SELECT
--TICKETMODEL TM
TM.MONFLAG,
TM.TUESFLAG,
TM.WEDFLAG,
TM.THURSFLAG,
TM.FRIDAYFLAG,
TM.SATFLAG,
TM.SUNFLAG,
TM.DATERANGEFLAG, ---星期限制
TM.TICKETMODELCODE AS TMC, --票型编号********
TM.TICKETMODELGROUPCODE AS TMG, --票型分组编号
TM.TICKETMODELNAME AS TMN, --票型名称********
TM.TICKETSALEMODEL AS TSM, --售票类型:电脑售票、手工售票
--TM.TICKETUNITCOUNT AS TUC, --单票成员数量
TM.TICKETMODELTYPE AS TMT, --票型类型:01、散客 02、团队 03、团散客 04、协议票/政策票(NEW)
TM.TICKETMODELKIND AS TMK, --票种编号
TM.TICKETMODELKINDNAME AS TMKN, --票种名称
TM.SEASONTYPE AS ST, --季节类型 0:淡季 1:旺季 2:淡旺季
TM.BARCODETYPE AS BCT, --条码标记 与门票类型中的条码标记相对于--MP,HW等等
TM.REBATE, --折扣率
TM.REBATEPRICE AS RP,
TM.SORT, --此处为2.0分组所用
TM.REMARK, --此处为2.0门票所用
TM.REBATEPRICE AS TM_RP, --2.0为分成所用
TM.BUYLIMITCOUNT AS BLC,
TM.FBELONGCODE AS FBCODE, --2.0.1为归属景点(绍兴版本)
TM.ISCHARTBOAT AS IS_BOAT, --V2.0.2是否包船票
TM.ISFITPOST, --V2.0.2是否补差价 :0 不补差价,1:补差价
TM.FITPOST, --V2.0.2补差价
TM.PRINTFITMODEL, --2.0.2散客打印方式(通用版本)
TM.PRINTTEAMMODEL, --2.0.2团队打印方式(通用版本)
TEMP1.Remark AS FITPRINTTEMP, --散客打印模板(九华山版本)
TEMP2.REMARK AS TEAMPRINTTEMP, --团队打印模板(九华山版本)
TM.VALIDDAYS AS VD, --有效天数 ********(INVALIDATE门票失效时间)
TM.USERCOUNT AS UC, --一个票型的可使用人数(TKT_CHECKDETAIL--使用人数)********
TM.CHILDCOUNT AS CC, -----小朋友人数
TM.SHOWPRICE AS SP, --票面显示价格 ********
TM.PRINTPRICETYPE AS PPT, --价格打印内容类型 0 票面价格 1 折扣价格/销售价 ********
TM.TAXPRICE AS TP, --打印发票金额,如果设置0表示不打印发票 ********
TM.DIVTYPE, --分成方式 0 权重分成 1 固定金额分成 2 先固定后权重 ********
TM.RETTKTFLAG AS RTF, --允许退票标志 0:不允许退票 1:允许部分退票 2:只能全部退票 ********
TM.EDITPRICEFLAG AS EPF, --售票是否允许修改价格 0 不允许 1 允许 ********
TM.VERIFYFINGERFLAG AS VFF, --指纹验证标志 0:不需要验证指纹,1:需要验证指纹 ********
TM.REGCERT AS RC, ----优惠票用,是否登记证件 0 不登记 1 登记 ********
TM.BARCODERULE AS TM_BR, --条码生成规则(全局为自定义生成规则时 则用当前规则)
TM.DAYORNIGHTFIELD, --日夜场标志
--SYS_TICKETMODELGROUP TMG
TMG.TICKETMODELGROUPCODE AS TMG_TMGC,
TMG.TICKETMODELGROUPNAME AS TMG_TMGN,
--STO_TICKETTYPE TT
VTM.EDATE,
VTM.LDATE,
TT.POSTFIXLEN AS TT_CODELENGTH, --票型长度
TT.TICKETTYPECODE AS TT_TTC,
TT.Tickettypename AS TT_TTN,
TT.BARCODETYPE AS TT_BT,
TT.TICKETTYPEFLAG AS TT_TTF,
TT.ISPRINT, --是否打印
(CASE
WHEN TT.TICKETTYPEFLAG = 0 THEN
'打印'
WHEN TT.TICKETTYPEFLAG = 1 THEN
'印刷'
END) AS TT_TTFN,
--SYS_DICTDETAIL SD
SD.DICTDETAILCODE AS SD_DC,
SD.DICTDETAILNAME AS SD_DN,
/*----------------------(2.0新增) begion-----*/
TM.FID AS TM_ID,
TM.FPARENTID AS TM_FPARENTID,
TM.FTICKETTYPE AS TM_FTICKETTYPE,
/*TM.FCN,
TM.FCM,*/
TM.FUSEEXPRESSION, --SYS_TICKETMODEL
TMCI.FTICKETMODELCODE,
TMCI.FITEMTYPE,
TMCI.FITEMCODE,
TMCI.FFROMCODE,
TMCI.FTOCODE,
TMCI.FCHECKCOUNT,
TMCI.FID AS TMCIFID,
TMCI.FPRINTONLY AS TMCIFFPRINTONLY, --TMCI-SYS_TICKETMODELCITEM
TMDI.FID AS TMDI_FID,
TMDI.FITEMTYPE AS TMDI_FITEMTYPE,
TMDI.FCODE AS TMDI_FCODE,
--TMDI.FEXPRESSIONCODE AS TMDI_FEXPRESSIONCODE, --TMDI-SYS_TICKETMODELDITEM
TMDI.FDIVIDEMONEY AS TMDI_FDIVIDEMONEY,
TMDI.FSCALE AS TMDI_FSCALE,
TMDI.FSORT AS TMDI_FSORTT,
TM.FISTICKETGROUP AS TM_ISSINGLE --是否为联票 -0 否 1 是
/*----------------------(2.0新增) end-----*/
FROM SYS_TICKETMODEL TM
/*----------------begin SYS_DICTDETAIL TEMP1 散客打印模板 TEMP2 团队打印模板 ----------------------*/
LEFT JOIN SYS_DICTDETAIL TEMP1
ON TM.PRINTFITCODE = TEMP1.DICTDETAILCODE
AND TEMP1.Dictcode = 211
LEFT JOIN SYS_DICTDETAIL TEMP2
ON TM.PRINTTEAMCODE = TEMP2.DICTDETAILCODE
AND TEMP2.Dictcode = 211
/*--- end ----*/
/*----------------begin SYS_TICKETMODELCITEM TMCI检票元素 ----------------------*/
LEFT JOIN SYS_TICKETMODELCITEM TMCI
ON TMCI.FTICKETMODELCODE = TM.TICKETMODELCODE
AND TM.USEFLAG = 0
/*--- end ----*/
/*----------------begin SYS_TICKETMODELDITEM TMDI分成元素 --------------------------*/
LEFT JOIN SYS_TICKETMODELDITEM TMDI
ON TMDI.FTICKETMODELCODE = TM.TICKETMODELCODE
AND TM.USEFLAG = 0
/*--- end ----*/
INNER JOIN SYS_TICKETMODELGROUP TMG
ON TMG.TICKETMODELGROUPCODE = TM.TICKETMODELGROUPCODE
AND TMG.USEFLAG = 0
INNER JOIN STO_TICKETTYPE TT
ON TT.BARCODETYPE = TM.BARCODETYPE
AND TT.TICKETTYPEFLAG != 2
INNER JOIN SYS_DICTDETAIL SD
ON SD.DICTDETAILCODE = TM.TICKETMODELKIND
AND SD.dictcode = 101
LEFT JOIN VIEW_TKT_TICKETMODEL VTM
ON TM.TICKETMODELCODE = VTM.TICKETMODELCODE
--判断淡旺季
WHERE (EXISTS (SELECT SEASONTYPE
FROM SYS_SEASONTYPE ST1
WHERE ST1.SEASONTYPE = TM.SEASONTYPE
AND BEGDATE <= (SELECT TRUNC(SYSDATE) FROM DUAL)
AND ENDDATE >= (SELECT TRUNC(SYSDATE) FROM DUAL)) OR
TM.SEASONTYPE = 2)
AND TM.USEFLAG = 0
--判断票型权限
AND EXISTS
(SELECT 1
FROM WEB_SYS_ROLE SR
INNER JOIN WEB_SYS_ROLEOPERATOR SRO
ON SRO.ROLEID = SR.FID
INNER JOIN SYS_ROLETICKETMODEL RTM
ON RTM.ROLEID = SR.FID
WHERE TM.FISSHOWTEAM = 1
AND SRO.OPERATORID = :OPERATORID
AND RTM.TICKETMODELCODE = TM.TICKETMODELCODE)
--售票限制日期
and (tm.daterangeflag = 0 or
(tm.daterangeflag = 1 and trunc(sysdate) >= tm.begdate and
trunc(sysdate) <= tm.enddate))
--售票限制时间(赵斌 2014-10-22修改)
and (tm.timerangeflag = 0 or
(tm.timerangeflag = 1 and
TO_CHAR(sysdate, 'hh24:mi:ss') >= tm.begtime and
TO_CHAR(sysdate, 'hh24:mi:ss') <= tm.endtime))
--判断是否可卖该票型(add Licl 2016-03-08)
and EXISTS (select 1
from SYS_TICKETMODELPARKLIST T
where T.TICKETMODELCODE = TM.Ticketmodelcode
and T.PARKCODE = :PARKCODE)
ORDER BY TM.SORT
SQL语句参数(共2个):
{"ParameterName:"OPERATORID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 15:48:01 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:01 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTicketSalesBaseDataNo_C_zjw_002_01_By_Licl","Code":"Base_GetTicketSalesBaseDataNo_C_zjw_002_01_By_Licl","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPERATORID":"177FFEDC45E3490E9F149C711CECB3E1"}}
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:
SELECT
--TICKETMODEL TM
TM.MONFLAG,
TM.TUESFLAG,
TM.WEDFLAG,
TM.THURSFLAG,
TM.FRIDAYFLAG,
TM.SATFLAG,
TM.SUNFLAG,
TM.DATERANGEFLAG, ---星期限制
TM.TICKETMODELCODE AS TMC, --票型编号********
TM.TICKETMODELGROUPCODE AS TMG, --票型分组编号
TM.TICKETMODELNAME AS TMN, --票型名称********
TM.TICKETSALEMODEL AS TSM, --售票类型:电脑售票、手工售票
--TM.TICKETUNITCOUNT AS TUC, --单票成员数量
TM.TICKETMODELTYPE AS TMT, --票型类型:01、散客 02、团队 03、团散客 04、协议票/政策票(NEW)
TM.TICKETMODELKIND AS TMK, --票种编号
TM.TICKETMODELKINDNAME AS TMKN,--票种名称
TM.SEASONTYPE AS ST, --季节类型 0:淡季 1:旺季 2:淡旺季
TM.BARCODETYPE AS BCT, --条码标记 与门票类型中的条码标记相对于--MP,HW等等
--TM.PRICESUM AS PU, --单票合计价格 ********
TM.REBATE, --折扣率
--TM.REBATEPRICE AS RP,
TM.SORT, --此处为2.0分组所用
TM.REMARK, --此处为2.0门票所用
TM.REBATEPRICE AS TM_RP, --2.0为分成所用
TM.BUYLIMITCOUNT AS BLC,
TM.FBELONGCODE AS FBCODE, --2.0.1为归属景点(绍兴版本)
TM.ISCHARTBOAT AS IS_BOAT, --V2.0.2是否包船票
TM.ISFITPOST, --V2.0.2是否补差价 :0 不补差价,1:补差价
TM.FITPOST, --V2.0.2补差价
TM.PRINTFITMODEL, --2.0.2散客打印方式(通用版本)
TM.PRINTTEAMMODEL, --2.0.2团队打印方式(通用版本)
TEMP1.Remark AS FITPRINTTEMP, --散客打印模板(九华山版本)
TEMP2.REMARK AS TEAMPRINTTEMP, --团队打印模板(九华山版本)
TM.VALIDDAYS AS VD, --有效天数 ********(INVALIDATE门票失效时间)
TM.USERCOUNT AS UC, --一个票型的可使用人数(TKT_CHECKDETAIL--使用人数)********
TM.CHILDCOUNT AS CC, -----小朋友人数
TM.SHOWPRICE AS SP, --票面显示价格 ********
TM.PRINTPRICETYPE AS PPT, --价格打印内容类型 0 票面价格 1 折扣价格/销售价 ********
TM.TAXPRICE AS TP, --打印发票金额,如果设置0表示不打印发票 ********
TM.DIVTYPE, --分成方式 0 权重分成 1 固定金额分成 2 先固定后权重 ********
TM.RETTKTFLAG AS RTF, --允许退票标志 0:不允许退票 1:允许部分退票 2:只能全部退票 ********
TM.EDITPRICEFLAG AS EPF, --售票是否允许修改价格 0 不允许 1 允许 ********
TM.VERIFYFINGERFLAG AS VFF, --指纹验证标志 0:不需要验证指纹,1:需要验证指纹 ********
TM.REGCERT AS RC, ----优惠票用,是否登记证件 0 不登记 1 登记 ********
TM.BARCODERULE AS TM_BR,--条码生成规则(全局为自定义生成规则时 则用当前规则)
TM.DAYORNIGHTFIELD, --日夜场标志
--SYS_TICKETMODELGROUP TMG
TMG.TICKETMODELGROUPCODE AS TMG_TMGC,
TMG.TICKETMODELGROUPNAME AS TMG_TMGN,
VTM.EDATE,
VTM.LDATE,
--STO_TICKETTYPE TT
TT.POSTFIXLEN AS TT_CODELENGTH,--票型长度
TT.TICKETTYPECODE AS TT_TTC,
TT.Tickettypename AS TT_TTN,
TT.BARCODETYPE AS TT_BT,
TT.TICKETTYPEFLAG AS TT_TTF,
TT.ISPRINT,--是否打印
(CASE
WHEN TT.TICKETTYPEFLAG = 0 THEN
'打印'
WHEN TT.TICKETTYPEFLAG = 1 THEN
'印刷'
END) AS TT_TTFN,
--SYS_DICTDETAIL SD
SD.DICTDETAILCODE AS SD_DC,
SD.DICTDETAILNAME AS SD_DN,
/*----------------------(2.0新增) begion-----*/
TM.FID AS TM_ID,
TM.FPARENTID AS TM_FPARENTID,
TM.FTICKETTYPE AS TM_FTICKETTYPE,
--TM.FCN,
--TM.FCM,
TM.FUSEEXPRESSION, --SYS_TICKETMODEL
TMCI.FTICKETMODELCODE,
TMCI.FITEMTYPE,
TMCI.FITEMCODE,
TMCI.FFROMCODE,
TMCI.FTOCODE,
TMCI.FCHECKCOUNT,
TMCI.FID AS TMCIFID,
TMCI.FPRINTONLY AS TMCIFFPRINTONLY, --TMCI-SYS_TICKETMODELCITEM
TMDI.FID AS TMDI_FID,
TMDI.FITEMTYPE AS TMDI_FITEMTYPE,
TMDI.FCODE AS TMDI_FCODE,
--TMDI.FEXPRESSIONCODE AS TMDI_FEXPRESSIONCODE, --TMDI-SYS_TICKETMODELDITEM
TMDI.FDIVIDEMONEY AS TMDI_FDIVIDEMONEY,
TMDI.FSCALE AS TMDI_FSCALE,
TMDI.FSORT AS TMDI_FSORTT,
TM.FISTICKETGROUP AS TM_ISSINGLE --是否为联票 -0 否 1 是
/*----------------------(2.0新增) end-----*/
FROM SYS_TICKETMODEL TM
/*----------------begin SYS_DICTDETAIL TEMP1 散客打印模板 TEMP2 团队打印模板 ----------------------*/
LEFT JOIN SYS_DICTDETAIL TEMP1
ON TM.PRINTFITCODE = TEMP1.DICTDETAILCODE
AND TEMP1.Dictcode = 211
LEFT JOIN SYS_DICTDETAIL TEMP2
ON TM.PRINTTEAMCODE = TEMP2.DICTDETAILCODE
AND TEMP2.Dictcode = 211
/*--- end ----*/
/*----------------begin SYS_TICKETMODELCITEM TMCI检票元素 ----------------------*/
LEFT JOIN SYS_TICKETMODELCITEM TMCI
ON TMCI.FTICKETMODELCODE = TM.TICKETMODELCODE
AND TM.USEFLAG=0
/*--- end ----*/
/*----------------begin SYS_TICKETMODELDITEM TMDI分成元素 --------------------------*/
LEFT JOIN SYS_TICKETMODELDITEM TMDI
ON TMDI.FTICKETMODELCODE = TM.TICKETMODELCODE
AND TM.USEFLAG=0
/*--- end ----*/
INNER JOIN SYS_TICKETMODELGROUP TMG
ON TMG.TICKETMODELGROUPCODE = TM.TICKETMODELGROUPCODE
AND TMG.USEFLAG=0
INNER JOIN STO_TICKETTYPE TT
ON TT.BARCODETYPE = TM.BARCODETYPE
AND TT.TICKETTYPEFLAG != 2
INNER JOIN SYS_DICTDETAIL SD
ON SD.DICTDETAILCODE = TM.TICKETMODELKIND
AND SD.Dictcode = 101
LEFT JOIN VIEW_TKT_TICKETMODEL VTM
ON TM.TICKETMODELCODE = VTM.TICKETMODELCODE
--判断淡旺季
WHERE (EXISTS (SELECT SEASONTYPE
FROM SYS_SEASONTYPE ST1
WHERE ST1.SEASONTYPE = TM.SEASONTYPE
AND BEGDATE <= (SELECT TRUNC(SYSDATE) FROM DUAL)
AND ENDDATE >= (SELECT TRUNC(SYSDATE) FROM DUAL)) OR
TM.SEASONTYPE = 2)
AND TM.USEFLAG=0
--判断票型权限
AND EXISTS (SELECT 1
FROM WEB_SYS_ROLE SR
INNER JOIN WEB_SYS_ROLEOPERATOR SRO
ON SRO.ROLEID = SR.FID
INNER JOIN SYS_ROLETICKETMODEL RTM
ON RTM.ROLEID = SR.FID
WHERE TM.FISSHOWTEAM = 1
AND SRO.OPERATORID = :OPERATORID
AND RTM.TICKETMODELCODE = TM.TICKETMODELCODE)
--售票限制日期
and (tm.daterangeflag = 0 or
(tm.daterangeflag = 1 and trunc(sysdate) >= tm.begdate and
trunc(sysdate) <= tm.enddate))
--售票限制时间(赵斌 2014-10-22修改)
and (tm.timerangeflag = 0 or
(tm.timerangeflag = 1 and
TO_CHAR(sysdate, 'hh24:mi:ss') >= tm.begtime and
TO_CHAR(sysdate, 'hh24:mi:ss') <= tm.endtime))
ORDER BY TM.SORT
SQL语句参数(共1个):
{"ParameterName:"OPERATORID","Value":"177FFEDC45E3490E9F149C711CECB3E1","DbType":"String"}
【Info】 2019-09-08 15:48:01 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:01 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTicketSalesFilmData_C_lp_004","Code":"Base_GetTicketSalesFilmData_C_lp_004","SQLMapFile":"LpSQLMap.config"}
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:
SELECT * FROM VIEW_FILMTICKETMODEL
SQL语句参数:无。
【Info】 2019-09-08 15:48:01 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"ItemList","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:01 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetClientInfoData_C_(COMMON)","Code":"Base_GetClientInfoData","SQLMapFile":"LpSQLMap.config","DataAuthority":false,"PlugCode":"ClientInfoManage","ShowTree":false,"OptorParameters":{"OptorID":"177FFEDC45E3490E9F149C711CECB3E1","OptorCode":"HSSP001"}}
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:
SELECT * FROM (
SELECT CLIENTCODE,CLIENTFULLNAME,CONTRACTFLAG,PYCODE,AREACODE,BEGINDATE,ENDDATE,CLIENTSTATUS,ORGID,CREATE_OPTORCODE FROM CLT_CLIENTINFO
WHERE USEFLAG=0 AND DELETED=0
ORDER BY CLIENTCODE
)
SQL语句参数:无。
【Info】 2019-09-08 15:48:01 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:01 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetOriginAllData_C","Code":"Base_GetOriginAllData_C_zjw_019","SQLMapFile":"ZjwSQLMap.config"}
【Debugger】 2019-09-08 15:48:01 192.168.109.123
SQL语句:
SELECT AREACODE,AREANAME,PYCODE FROM SYS_AREA
WHERE LENGTH(AREACODE)<13 ORDER BY PYCODE
SQL语句参数:无。
【Info】 2019-09-08 15:48:01 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:01 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:02 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTicketModelGroup_C","Code":"Base_GetTicketModelGroup_C_Licl","SQLMapFile":"ZjwSQLMap.config","Parameters":{}}
【Debugger】 2019-09-08 15:48:02 192.168.109.123
SQL语句:
SELECT T.TICKETMODELGROUPCODE,T.TICKETMODELGROUPNAME
FROM SYS_TICKETMODELGROUP T
WHERE T.USEFLAG=0
SQL语句参数:无。
【Info】 2019-09-08 15:48:02 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:02 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXmlBySimpleCondition
对应参数:
data:{"Version":"Base_GetPayTypeData_C_(COMMON)","TableName":"SYS_PAYTYPE","SelectFields":"PAYTYPECODE AS OPTIONCODE,PAYTYPENAME AS OPTIONNAME,CLIENTTYPE AS OPTIONTYPE ","OrderFields":"SORT,PAYTYPECODE","Condition":{"USEFLAG":0}}
【Debugger】 2019-09-08 15:48:02 192.168.109.123
SQL语句:select * from WEB_TKT_TABLEMAPPING
SQL语句参数:无。
【Debugger】 2019-09-08 15:48:02 192.168.109.123
SQL语句:select PAYTYPECODE AS OPTIONCODE,PAYTYPENAME AS OPTIONNAME,CLIENTTYPE AS OPTIONTYPE from SYS_PAYTYPE where USEFLAG=:USEFLAG order by SORT,PAYTYPECODE
SQL语句参数(共1个):
{"ParameterName:"USEFLAG","Value":"0","DbType":"Int32"}
【Info】 2019-09-08 15:48:02 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:02 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_GetTradeBaseData_C_zjw_016","Code":"Base_GetTradeBaseData_C_zjw_016","SQLMapFile":"ZjwSQLMap.config","Parameters":{"OPTORCODE":"HSSP001","PARKCODE":"0129002"}}
【Debugger】 2019-09-08 15:48:02 192.168.109.123
SQL语句:
SELECT
m.TRADEID
,(CASE WHEN m.CLIENTTYPE='01' THEN '散客' WHEN m.CLIENTTYPE='02' THEN '团队' END) AS CLIENTTYPE
,m.CLIENTCODE,m.TICKETCOUNT,m.PAYSUM,m.TRADEDATE
,(CASE WHEN C.CLIENTFULLNAME IS NULL THEN '散客' WHEN C.CLIENTFULLNAME IS NOT NULL THEN C.CLIENTFULLNAME END) AS CLIENTFULLNAME
FROM(
SELECT ROWNUM AS R,TT.TRADEID,TT.TRADETYPE,TT.CLIENTTYPE,TT.CLIENTCODE,TT.TICKETCOUNT,TT.PAYSUM,TT.TRADEDATE
FROM (
SELECT TRADEID,TRADETYPE,CLIENTTYPE,CLIENTCODE,(select sum(a.ticketnocount) from tkt_tradedetail a where a.tradeid=t.tradeid ) as TICKETCOUNT,PAYSUM,TRADEDATE
FROM TKT_TRADEMAIN t
WHERE TRADETYPE='01' AND CREATE_OPTORCODE=:OPTORCODE AND PARKCODE=:PARKCODE ORDER BY TRADEID DESC) TT
) m
LEFT JOIN CLT_CLIENTINFO c ON c.CLIENTCODE=m.CLIENTCODE
WHERE R<6 AND m.TRADEDATE>= TRUNC(SYSDATE) ORDER BY m.TRADEID DESC
SQL语句参数(共2个):
{"ParameterName:"OPTORCODE","Value":"HSSP001","DbType":"String"},
{"ParameterName:"PARKCODE","Value":"0129002","DbType":"String"}
【Info】 2019-09-08 15:48:02 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"序列化类型为“System.Xml.Linq.XElement”的对象时检测到循环引用。","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:02 192.168.109.123
请求信息:
mn:TKT
cn:BIMGroupManage
mn2:Base_GetTicketTagList
对应参数:
data:{"OPTORCODE":"HSSP001"}
【Debugger】 2019-09-08 15:48:02 192.168.109.123
SQL语句:SELECT G.FID,G.FNAME,G.FTAGTYPE,G.FISSHOW,G.FBACKGROUND,to_char(WM_CONCAT(GI.FENTITYID)) AS ITEMS,to_char(WM_CONCAT(GI.FSORT)) AS ITEMSORTS
FROM BIM_GROUP G LEFT JOIN BIM_GROUPITEM GI ON G.FID = GI.FGROUPID
WHERE G.FACCNO = 'HSSP001' GROUP BY G.FID,G.FNAME,G.FTAGTYPE,G.FISSHOW,G.FBACKGROUND
SQL语句参数:无。
【Info】 2019-09-08 15:48:02 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"ItemList","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:02 192.168.109.123
请求信息:
mn:TKT
cn:PageCommon
mn2:GetXMLBySQLMap
对应参数:
data:{"Version":"Base_RemoveSelectFilm_C_LP_21","Code":"Base_RemoveSelectFilm_C_LP_21","SQLMapFile":"LpSQLMap.config","Parameters":{"OPERATORCODE":"HSSP001"}}
【Debugger】 2019-09-08 15:48:02 192.168.109.123
SQL语句:
UPDATE FILM_SEATSELLDETAIL SET SEATSTATUS=FSTATICSTATUS, OPERATORCODE='',RecVer='' WHERE
SEATSTATUS=2 and OPERATORCODE= :OPERATORCODE
SQL语句参数(共1个):
{"ParameterName:"OPERATORCODE","Value":"HSSP001","DbType":"String"}
【Info】 2019-09-08 15:48:02 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":{"FirstAttribute":null,"HasAttributes":false,"HasElements":false,"IsEmpty":true,"LastAttribute":null,"Name":{"LocalName":"ItemList","Namespace":{"NamespaceName":""},"NamespaceName":""},"NodeType":1,"Value":"","FirstNode":null,"LastNode":null,"NextNode":null,"PreviousNode":null,"BaseUri":"","Document":null,"Parent":null},"totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================
【Begin】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult开始调用...
【Info】 2019-09-08 15:48:02 192.168.109.123
请求信息:
mn:TKT
cn:TicketSaleForLake
mn2:Base_UnLockSeatByPlanID2P
对应参数:
data:
HSSP001
【Debugger】 2019-09-08 15:48:02 192.168.109.123
SQL语句:update Atp_Tradeshipseat t set fstate=0,t.FOPTORCODE='',FOPTOR='',
FLASTEDITTIME=sysdate,FVERSION='' where fstate=2 and FOPTORCODE='HSSP001'
SQL语句参数:无。
【Info】 2019-09-08 15:48:02 192.168.109.123
返回结果TwiReturn对象,序列化后为:
{"id":null,"code":null,"success":true,"hasRight":true,"rightName":null,"knowError":100,"errors":null,"message":"操作成功!","data":"","totalCount":0,"affRows":0,"stamp":null,"list":[]}
【End】 2019-09-08 15:48:02 192.168.109.123
TwiAjaxHelper.GetResult执行完成!
=================================================================