|
|
|
|
@ -150,7 +150,7 @@ class Note_model extends CI_Model {
|
|
|
|
|
FROM IPayLinksLog pn
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
and pn.IPL_payType='pay'
|
|
|
|
|
and (pn.IPL_stateCode=2 or pn.IPL_resultCode='0000')
|
|
|
|
|
and (pn.IPL_resultCode='0000')
|
|
|
|
|
$this->send
|
|
|
|
|
$this->search
|
|
|
|
|
$this->dealId
|
|
|
|
|
@ -207,7 +207,7 @@ class Note_model extends CI_Model {
|
|
|
|
|
left join Tourmanager.dbo.BIZ_GroupAccountInfo gaib on ipl.IPL_dealId=gaib.GAI_AccreditNo and gaib.DeleteFlag=0 and ipl.IPL_payType='pay'
|
|
|
|
|
left join Tourmanager.dbo.GroupAccountInfo gai on gai.GAI_AccreditNo=ipl.IPL_dealId and gai.DeleteFlag=0 and ipl.IPL_payType='pay'
|
|
|
|
|
where 1=1
|
|
|
|
|
and ( ipl.IPL_stateCode=2 or ipl.IPL_resultCode='0000')
|
|
|
|
|
and ( (ipl.IPL_stateCode=2 and ipl.IPL_payType<>'pay') or (ipl.IPL_resultCode='0000' and ipl.IPL_payType='pay') )
|
|
|
|
|
and (
|
|
|
|
|
1=1
|
|
|
|
|
$this->send
|
|
|
|
|
|