Subversion Repositories SmartDukaan

Rev

Rev 7343 | Rev 7747 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7343 Rev 7386
Line 77... Line 77...
77
        }
77
        }
78
 
78
 
79
        return SDF.format(new Date(date));
79
        return SDF.format(new Date(date));
80
    }
80
    }
81
    
81
    
-
 
82
    public double getDifference(double num1, double num2) {
-
 
83
        return num1-num2;
-
 
84
    }
-
 
85
    
82
    public void setSourceId(long sourceId){
86
    public void setSourceId(long sourceId){
83
        this.sourceId = sourceId;
87
        this.sourceId = sourceId;
84
    }
88
    }
85
 
89
 
86
    public String index() {
90
    public String index() {
Line 104... Line 108...
104
    }
108
    }
105
 
109
 
106
    public void setStoreId(Long storeId) {
110
    public void setStoreId(Long storeId) {
107
        this.storeId = storeId;
111
        this.storeId = storeId;
108
    }
112
    }
-
 
113
    
-
 
114
    public String getStoreCode(){
-
 
115
        return hotspotStores.get(storeId).getHotspotId();   
-
 
116
    }
109
}
117
}