Compare commits
	
		
			No commits in common. "4c7575f8c586b5c6ac045beb1b7300178474f6f7" and "73178e4f777727da039542a30cc48a23ebbe83fa" have entirely different histories.
		
	
	
		
			4c7575f8c5
			...
			73178e4f77
		
	
		| 
						 | 
				
			
			@ -855,10 +855,10 @@
 | 
			
		|||
            NVL( mr.SMALL_BOX_NUM, 0 ) smallBoxNum,
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            NVL( mrs.ALL_NEW_BOX_NUM, 0 ) sNewBoxNum,
 | 
			
		||||
            NVL( mrs.ALL_TEAM_NEW_BOX_NUM, 0 ) sTeamNewBoxNum,
 | 
			
		||||
            NVL( mrs.ALL_NEW_CONSUME_PV, 0 ) sNewConsumePv,
 | 
			
		||||
            NVL( mrs.ALL_TEAM_NEW_PV, 0 ) sTeamNewPv
 | 
			
		||||
            NVL( mrs.NEW_BOX_NUM, 0 ) sNewBoxNum,
 | 
			
		||||
            NVL( mrs.TEAM_NEW_BOX_NUM, 0 ) sTeamNewBoxNum,
 | 
			
		||||
            NVL( mrs.NEW_CONSUME_PV, 0 ) sNewConsumePv,
 | 
			
		||||
            NVL( mrs.TEAM_NEW_PV, 0 ) sTeamNewPv
 | 
			
		||||
        FROM
 | 
			
		||||
            cu_member cu
 | 
			
		||||
                left join ${memberRetailTable} mr on cu.PK_ID = mr.PK_MEMBER and mr.CATEGORY = 0
 | 
			
		||||
| 
						 | 
				
			
			@ -882,15 +882,15 @@
 | 
			
		|||
            cu.PK_AWARDS,
 | 
			
		||||
            awards.AWARDS_NAME,
 | 
			
		||||
            currentMonth.ENABLE_STATUS,
 | 
			
		||||
            NVL( NVL( currentDay.ALL_NEW_CONSUME_PV, 0 ) + NVL( currentDay.ALL_TEAM_NEW_PV, 0 ), 0 ) todayPv,
 | 
			
		||||
            NVL( NVL( currentDay.ALL_NEW_BOX_NUM, 0 ) + NVL( currentDay.ALL_TEAM_NEW_BOX_NUM, 0 ), 0 ) todayBoxNum,
 | 
			
		||||
            NVL( NVL( currentDay.NEW_CONSUME_PV, 0 ) + NVL( currentDay.TEAM_NEW_PV, 0 ), 0 ) todayPv,
 | 
			
		||||
            NVL( NVL( currentDay.NEW_BOX_NUM, 0 ) + NVL( currentDay.TEAM_NEW_BOX_NUM, 0 ), 0 ) todayBoxNum,
 | 
			
		||||
            NVL( NVL( currentMonth.NEW_CONSUME_PV, 0 ) + NVL( currentMonth.TEAM_NEW_PV, 0 ), 0 ) yesterdayPv,
 | 
			
		||||
            NVL( NVL( currentMonth.NEW_BOX_NUM, 0 ) + NVL( currentMonth.TEAM_NEW_BOX_NUM, 0 ), 0 ) yesterdayBoxNum,
 | 
			
		||||
            NVL( NVL( currentMonth.MONTH_CONSUME_PV, 0 ) + NVL( currentDay.ALL_NEW_CONSUME_PV, 0 ) + NVL( currentDay.ALL_TEAM_NEW_PV, 0 ), 0 ) currentMonthPv,
 | 
			
		||||
            NVL( NVL( currentMonth.MONTH_BOX_NUM, 0 ) + NVL( currentMonth.TEAM_MONTH_BOX_NUM, 0 ) + NVL( currentDay.ALL_NEW_BOX_NUM, 0 ) + NVL( currentDay.ALL_TEAM_NEW_BOX_NUM, 0 ), 0 ) currentMonthBoxNum,
 | 
			
		||||
            NVL( NVL( currentMonth.MONTH_CONSUME_PV, 0 ) + NVL( currentDay.NEW_CONSUME_PV, 0 ) + NVL( currentDay.TEAM_NEW_PV, 0 ), 0 ) currentMonthPv,
 | 
			
		||||
            NVL( NVL( currentMonth.MONTH_BOX_NUM, 0 ) + NVL( currentMonth.TEAM_MONTH_BOX_NUM, 0 ) + NVL( currentDay.NEW_BOX_NUM, 0 ) + NVL( currentDay.TEAM_NEW_BOX_NUM, 0 ), 0 ) currentMonthBoxNum,
 | 
			
		||||
            NVL( lastMonth.MONTH_CONSUME_PV, 0 ) lastMonthPv,
 | 
			
		||||
            NVL( lastMonth.MONTH_BOX_NUM, 0 ) lastMonthBoxNum,
 | 
			
		||||
            NVL( NVL( currentMonth.CONSUME_BOX_NUM, 0 ) + NVL( currentDay.ALL_NEW_BOX_NUM, 0 ) + NVL( currentDay.ALL_TEAM_NEW_BOX_NUM, 0 ), 0 ) totalBoxNum
 | 
			
		||||
            NVL( NVL( currentMonth.CONSUME_BOX_NUM, 0 ) + NVL( currentDay.NEW_BOX_NUM, 0 ) + NVL( currentDay.TEAM_NEW_BOX_NUM, 0 ), 0 ) totalBoxNum
 | 
			
		||||
        FROM
 | 
			
		||||
            cu_member cu
 | 
			
		||||
                LEFT JOIN ${param.currentDayTableName} currentDay ON cu.PK_ID = currentDay.PK_MEMBER
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue