Subversion Repositories SmartDukaan

Rev

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

Rev 10499 Rev 10500
Line 80... Line 80...
80
	public static void initilaize() {
80
	public static void initilaize() {
81
		sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
81
		sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
82
		emailFromAddress = "build@shop2020.in";
82
		emailFromAddress = "build@shop2020.in";
83
		password = "cafe@nes";
83
		password = "cafe@nes";
84
		mailer = new GmailUtils();
84
		mailer = new GmailUtils();
85
		//sendTo = new String[]{"vikram.raghav@shop2020.in"};
85
		sendTo = new String[]{"vikram.raghav@shop2020.in"};
86
		sendTo = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
86
		/*sendTo = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
87
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
87
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
88
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in"};
88
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in"};
89
		 itemIdpendingOrdersMap = new HashMap<Long,Long>();
89
		*/ itemIdpendingOrdersMap = new HashMap<Long,Long>();
90
		 CatalogClient catalogServiceClient = null;
90
		 CatalogClient catalogServiceClient = null;
91
		 try {
91
		 try {
92
			 catalogServiceClient = new CatalogClient();
92
			 catalogServiceClient = new CatalogClient();
93
		 } catch (TTransportException e1) {
93
		 } catch (TTransportException e1) {
94
			 e1.printStackTrace();
94
			 e1.printStackTrace();
Line 832... Line 832...
832
					}
832
					}
833
					snapdealInventoryItemList.add(snapdealInventoryItem);
833
					snapdealInventoryItemList.add(snapdealInventoryItem);
834
				}
834
				}
835
				System.out.println("Before incremental check");
835
				System.out.println("Before incremental check");
836
				System.out.println("Before incremental available "+inventory.getAvailableInventory());
836
				System.out.println("Before incremental available "+inventory.getAvailableInventory());
-
 
837
				sent_inventory = 0;
837
				System.out.println("To send "+sent_inventory);
838
				System.out.println("To send "+sent_inventory);
838
				if(inventory.getAvailableInventory()!= sent_inventory){
839
				if(inventory.getAvailableInventory()!= sent_inventory){
839
					System.out.println("Incremental check success");
840
					System.out.println("Incremental check success");
840
					if(!PANEL){
841
					if(!PANEL){
841
						row.getCell((short) 0).setCellValue(inventory.getSupc());
842
						row.getCell((short) 0).setCellValue(inventory.getSupc());