Subversion Repositories SmartDukaan

Rev

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

Rev 15183 Rev 15184
Line 34... Line 34...
34
		}
34
		}
35
		return "index";
35
		return "index";
36
	}
36
	}
37
 
37
 
38
	public String latestPriceById(){
38
	public String latestPriceById(){
-
 
39
		log.info("Inside lastestPriceById");
-
 
40
		log.info("Id is "+id);
-
 
41
		log.info("Source id "+source_id);
-
 
42
		log.info("Encoded Url is "+url);
-
 
43
		
39
		Client dc = null;
44
		Client dc = null;
40
		try {
45
		try {
41
			dc = new DtrClient().getClient();
46
			dc = new DtrClient().getClient();
42
			dc.updateLatestPriceForItem(Long.valueOf(id));
47
			dc.updateLatestPriceForItem(Long.valueOf(id));
43
			if (Long.valueOf(source_id) == 3){
48
			if (Long.valueOf(source_id) == 3){