This commit is contained in:
parent
f4be6ddb90
commit
898454a2c5
|
|
@ -985,12 +985,12 @@
|
||||||
,c.rstime time,c.retime time2
|
,c.rstime time,c.retime time2
|
||||||
,row_number() over(order by c.retime) rno
|
,row_number() over(order by c.retime) rno
|
||||||
from payitem a
|
from payitem a
|
||||||
inner join pay b on b.payno=a.payno and b.pstatus in (1,21,22,51) and b.rstatus < 2
|
inner join pay b on b.payno=a.payno and b.pstatus in (1,21,22,51,55) and b.rstatus < 2
|
||||||
inner join cm c on c.cmno=a.itemno and c.rstime < <include refid="sql.now"></include> and c.retime > <include refid="sql.now"></include>
|
inner join cm c on c.cmno=a.itemno and c.rstime < <include refid="sql.now"></include> and c.retime > <include refid="sql.now"></include>
|
||||||
inner join lect l on l.cmno=c.cmno and l.status < 5 and l.ischanged=0 and l.userno=b.userno
|
inner join lect l on l.cmno=c.cmno and (l.status < 5 or l.status = 6) and l.ischanged=0 and l.userno=b.userno
|
||||||
inner join term d on d.tmno=c.tmno
|
inner join term d on d.tmno=c.tmno
|
||||||
left outer join payrfd e on e.payno=a.payno and e.payno=a.payno and e.rstatus=0
|
left outer join payrfd e on e.payno=a.payno and e.payno=a.payno and e.rstatus=0
|
||||||
where a.ptype in (0,1,4) and a.userno=#userno# and a.pstatus in (1,21,22,51) and a.rstatus=0
|
where a.ptype in (0,1,4) and a.userno=#userno# and a.pstatus in (1,21,22,51,55) and a.rstatus=0
|
||||||
order by rno
|
order by rno
|
||||||
) a
|
) a
|
||||||
union all
|
union all
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@
|
||||||
<b>@d.strval</b>
|
<b>@d.strval</b>
|
||||||
</h5>
|
</h5>
|
||||||
<dl>
|
<dl>
|
||||||
<dt class="mpglSta@(d.intval5 == 0 && d.intval4 == 1 ? 3 : 1)">@(d.intval5 == 1 ? "환불요청" : d.intval4 == 1 ? "결제완료" : d.intval4 == 21 ? "결제대기" : d.intval4 == 22 ? "입금대기" : d.intval4 == 51 ? "심사중" : "")</dt>
|
<dt class="mpglSta@(d.intval5 == 0 && d.intval4 == 1 ? 3 : 1)">@(d.intval5 == 1 ? "환불요청" : d.intval4 == 1 ? "결제완료" : d.intval4 == 21 ? "결제대기" : d.intval4 == 22 ? "입금대기" : d.intval4 == 51 ? "심사중" : d.intval4 == 55 ? "승인대기" : "")</dt>
|
||||||
<dd>신청기간 : @d.time.ToString("yy/MM/dd") ~ @d.time2.ToString("yy/MM/dd")</dd>
|
<dd>신청기간 : @d.time.ToString("yy/MM/dd") ~ @d.time2.ToString("yy/MM/dd")</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue