Subversion Repositories SmartDukaan

Rev

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

Rev 10024 Rev 10025
Line 69... Line 69...
69
	{
69
	{
70
		sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
70
		sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
71
		emailFromAddress = "build@shop2020.in";
71
		emailFromAddress = "build@shop2020.in";
72
		password = "cafe@nes";
72
		password = "cafe@nes";
73
		mailer = new GmailUtils();
73
		mailer = new GmailUtils();
74
		//sendTo = new String[]{"vikram.raghav@shop2020.in"};
74
		sendTo = new String[]{"vikram.raghav@shop2020.in"};
75
		sendTo = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
75
		/*sendTo = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
76
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
76
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
77
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in","amar.kumar@shop2020.in"};
77
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in","amar.kumar@shop2020.in"};
78
		 List<String> flipkartorderids = null;
78
		*/ List<String> flipkartorderids = null;
79
		 Client catalogServiceClient = null;
79
		 Client catalogServiceClient = null;
80
		 try {
80
		 try {
81
			 catalogServiceClient = new CatalogClient().getClient();
81
			 catalogServiceClient = new CatalogClient().getClient();
82
		 } catch (TTransportException e) {
82
		 } catch (TTransportException e) {
83
			 e.printStackTrace();
83
			 e.printStackTrace();
Line 249... Line 249...
249
					+"<td>" + item.getId() + "</td>"
249
					+"<td>" + item.getId() + "</td>"
250
					+"<td>" + actualstock + "</td>"
250
					+"<td>" + actualstock + "</td>"
251
					+"<td>" + orders + "</td>"
251
					+"<td>" + orders + "</td>"
252
					+"<td>" + stock + "</td>"
252
					+"<td>" + stock + "</td>"
253
					+"</tr>");
253
					+"</tr>");
254
			if(i%10!=0 && flipkartItemsInventoryMap.entrySet().size()!=1 && (i!=flipkartItemsInventoryMap.entrySet().size() -1 ) ){
254
			if(flipkartItemsInventoryMap.entrySet().size()!=1 && (i!=flipkartItemsInventoryMap.entrySet().size() -1 ) ){
255
				jsonRequest.append(",");	
255
				jsonRequest.append(",");	
256
			}
256
			}
257
			i++;
257
			i++;
258
			if(i%10==0 || i==flipkartItemsInventoryMap.entrySet().size()){
258
			if(i%10==0 || i==flipkartItemsInventoryMap.entrySet().size()){
259
				StringEntity input = null;
259
				StringEntity input = null;