<오류수정>
1. PMS NO : 7474 2. (주요)작업내용 (1) D:/Project/NEW_LMS/2020LMSYNICTE/Dao/MyBatis/Maps/CRoom.xml - 결제완료 항목에 '전체환불' 및 '환불요청' 건 노출 막기 쿼리 추가
This commit is contained in:
parent
2a8a402ce8
commit
bb4473fd88
|
|
@ -1404,13 +1404,14 @@
|
|||
left outer join assign ua on ua.asno=u.asno
|
||||
<dynamic prepend="where">
|
||||
<isNotEmpty property="pstatus" prepend="and">
|
||||
<isEqual property="pstatus" compareValue="p21">(p.pstatus in (21) and p.rstatus = 0)</isEqual>
|
||||
<isEqual property="pstatus" compareValue="p22">(p.pstatus in (22) and p.rstatus = 0)</isEqual>
|
||||
<isEqual property="pstatus" compareValue="p1">(p.pstatus in (1) and (p.rstatus = 0 or pri.pino is null))</isEqual>
|
||||
<isEqual property="pstatus" compareValue="rf1">(pr.rfdno is not null and pr.rstatus = 0)</isEqual>
|
||||
<isEqual property="pstatus" compareValue="r1">(pi.rstatus=1 and p.payamt>p.refundamt)</isEqual>
|
||||
<isEqual property="pstatus" compareValue="r2">(p.rstatus > 0 and p.payamt=p.refundamt)</isEqual>
|
||||
<isEqual property="pstatus" compareValue="p41,42,43">(p.pstatus in (41,42,43) and p.rstatus = 0)</isEqual>
|
||||
<isEqual property="pstatus" compareValue="p21">(p.pstatus in (21) and p.rstatus = 0)</isEqual><!--결제대기-->
|
||||
<isEqual property="pstatus" compareValue="p22">(p.pstatus in (22) and p.rstatus = 0)</isEqual><!--입금대기-->
|
||||
<isEqual property="pstatus" compareValue="p1">(p.pstatus in (1) and (p.rstatus = 0 or pri.pino is null)) and p.rstatus = 0
|
||||
and (case when p.rstatus=0 and pr.rstatus = 0 and pri.rfdno is not null then 1 else 0 end) = 0 </isEqual><!--결제완료-->
|
||||
<isEqual property="pstatus" compareValue="rf1">(pr.rfdno is not null and pr.rstatus = 0)</isEqual><!--환불요청-->
|
||||
<isEqual property="pstatus" compareValue="r1">(pi.rstatus=1 and p.payamt>p.refundamt)</isEqual><!--부분환불-->
|
||||
<isEqual property="pstatus" compareValue="r2">(p.rstatus > 0 and p.payamt=p.refundamt)</isEqual><!--전액환불-->
|
||||
<isEqual property="pstatus" compareValue="p41,42,43">(p.pstatus in (41,42,43) and p.rstatus = 0)</isEqual><!--결제취소-->
|
||||
</isNotEmpty>
|
||||
</dynamic>
|
||||
) a
|
||||
|
|
|
|||
Loading…
Reference in New Issue