ipaylinks 列表查询修改

feature/trippest
lyt 8 years ago
parent 7052a9c3dd
commit 6281487374

@ -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

@ -182,7 +182,7 @@
$isRecord = '已录入';
} else {
$isRecord = '未记录';
$record_class = ' btn btn-sm btn_margin btn-danger ';
$record_class = ' btn btn-sm btn_margin btn-warning ';
}
?>
<a href="javascript:void(0);" onclick="" class="<?php echo $record_class; ?>"><?php echo $isRecord; ?></a>

Loading…
Cancel
Save