Subversion Repositories SmartDukaan

Rev

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

Rev 23784 Rev 23786
Line 47... Line 47...
47
	private CookiesProcessor cookiesProcessor;
47
	private CookiesProcessor cookiesProcessor;
48
	
48
	
49
	@Autowired
49
	@Autowired
50
	@Qualifier("fofoInventoryService")
50
	@Qualifier("fofoInventoryService")
51
	private InventoryService inventoryService;
51
	private InventoryService inventoryService;
52
	
52
 
53
	@Value("${saholic.api.host}")
53
	@Value("${saholic.api.host}")
54
	private String host;
54
	private String host;
55
	
55
 
56
	@Value("${saholic.api.port}")
56
	@Value("${saholic.api.port}")
57
	private int port;
57
	private int port;
58
	
58
 
59
	@Value("${saholic.api.webapp}")
59
	@Value("${saholic.api.webapp}")
60
	private String webapp;
60
	private String webapp;
61
 
61
 
62
	@RequestMapping(value = "/getCurrentInventorySnapshot", method = RequestMethod.GET)
62
	@RequestMapping(value = "/getCurrentInventorySnapshot")
63
	public String getCurrentAvailability(HttpServletRequest request,@RequestParam(name = "offset",defaultValue="0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit , @RequestParam(name = "searchTerm", required=false, defaultValue="") String searchTerm ,Model model) throws ProfitMandiBusinessException{
63
	public String getCurrentAvailability(HttpServletRequest request,
-
 
64
			@RequestParam(name = "offset", defaultValue = "0") int offset,
-
 
65
			@RequestParam(name = "limit", defaultValue = "10") int limit,
-
 
66
			@RequestParam(name = "searchTerm", required = false, defaultValue = "") String searchTerm, 
-
 
67
			Model model)
-
 
68
			throws ProfitMandiBusinessException {
64
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
69
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
65
		Map<String, Object> map = inventoryService.getCurrentInventorySnapshot(loginDetails.getFofoId(), offset, limit, searchTerm);
70
		Map<String, Object> map = inventoryService.getCurrentInventorySnapshot(loginDetails.getFofoId(), offset, limit,
-
 
71
				searchTerm);
66
		model.addAllAttributes(map);
72
		model.addAllAttributes(map);
67
		return "inventory-snapshot";
73
		return "inventory-snapshot";
68
	}
74
	}
69
 
75
 
70
	@RequestMapping(value = "/getBadInventorySnapshot", method = RequestMethod.GET)
76
	@RequestMapping(value = "/getBadInventorySnapshot")
71
	public String getBadAvailability(HttpServletRequest request,@RequestParam(name = "offset",defaultValue="0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit , @RequestParam(name = "searchTerm", required=false, defaultValue="") String searchTerm ,Model model) throws ProfitMandiBusinessException{
77
	public String getBadAvailability(HttpServletRequest request,
-
 
78
			@RequestParam(name = "offset", defaultValue = "0") int offset,
-
 
79
			@RequestParam(name = "limit", defaultValue = "10") int limit,
-
 
80
			@RequestParam(name = "searchTerm", required = false, defaultValue = "") String searchTerm, Model model)
-
 
81
			throws ProfitMandiBusinessException {
72
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
82
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
73
		Map<String, Object> map = inventoryService.getBadInventorySnapshot(loginDetails.getFofoId(), offset, limit, searchTerm);
83
		Map<String, Object> map = inventoryService.getBadInventorySnapshot(loginDetails.getFofoId(), offset, limit,
-
 
84
				searchTerm);
74
		model.addAllAttributes(map);
85
		model.addAllAttributes(map);
75
		return "bad-inventory-snapshot";
86
		return "bad-inventory-snapshot";
76
	}
87
	}
77
 
88
 
78
	@RequestMapping(value = "/getPaginatedCurrentInventorySnapshot", method = RequestMethod.GET)
89
	@RequestMapping(value = "/getPaginatedCurrentInventorySnapshot")
79
	public String getPaginatedCurrentInventorySnapshot(HttpServletRequest request, @RequestParam(name = "offset", defaultValue="0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit, @RequestParam(name = "searchTerm", required=false, defaultValue="") String searchTerm , Model model) throws ProfitMandiBusinessException{
90
	public String getPaginatedCurrentInventorySnapshot(HttpServletRequest request,
-
 
91
			@RequestParam(name = "offset", defaultValue = "0") int offset,
-
 
92
			@RequestParam(name = "limit", defaultValue = "10") int limit,
-
 
93
			@RequestParam(name = "searchTerm", required = false, defaultValue = "") String searchTerm, Model model)
-
 
94
			throws ProfitMandiBusinessException {
80
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
95
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
81
		Map<String, Object> map = inventoryService.getPaginatedCurrentInventorySnapshot(loginDetails.getFofoId(), offset, limit, searchTerm);
96
		Map<String, Object> map = inventoryService.getPaginatedCurrentInventorySnapshot(loginDetails.getFofoId(),
-
 
97
				offset, limit, searchTerm);
82
		model.addAllAttributes(map);
98
		model.addAllAttributes(map);
83
		return "inventory-snapshot-paginated";
99
		return "inventory-snapshot-paginated";
84
	}
100
	}
85
	
101
 
86
	@RequestMapping(value = "/getCatalog", method = RequestMethod.GET)
102
	@RequestMapping(value = "/getCatalog")
87
	public String getCatalog(HttpServletRequest request,@RequestParam(name = "offset",defaultValue="0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit , @RequestParam(name = "searchTerm", required=false, defaultValue="") String searchTerm ,Model model) throws ProfitMandiBusinessException{
103
	public String getCatalog(HttpServletRequest request, @RequestParam(name = "offset", defaultValue = "0") int offset,
-
 
104
			@RequestParam(name = "limit", defaultValue = "10") int limit,
-
 
105
			@RequestParam(name = "searchTerm", required = false, defaultValue = "") String searchTerm, Model model)
-
 
106
			throws ProfitMandiBusinessException {
88
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
107
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
89
		Map<String, Object> map = inventoryService.getCatalog(loginDetails.getFofoId(), offset, limit, searchTerm);
108
		Map<String, Object> map = inventoryService.getCatalog(loginDetails.getFofoId(), offset, limit, searchTerm);
90
		model.addAllAttributes(map);
109
		model.addAllAttributes(map);
91
		return "catalog";
110
		return "catalog";
92
	}
111
	}
93
	
112
 
94
	@RequestMapping(value = "/getPaginatedCatalog", method = RequestMethod.GET)
113
	@RequestMapping(value = "/getPaginatedCatalog")
95
	public String getCatalogPaginated(HttpServletRequest request,@RequestParam(name = "offset",defaultValue="0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit, @RequestParam(name = "searchTerm", required=false, defaultValue="") String searchTerm , Model model) throws ProfitMandiBusinessException{
114
	public String getCatalogPaginated(HttpServletRequest request,
-
 
115
			@RequestParam(name = "offset", defaultValue = "0") int offset,
-
 
116
			@RequestParam(name = "limit", defaultValue = "10") int limit,
-
 
117
			@RequestParam(name = "searchTerm", required = false, defaultValue = "") String searchTerm, Model model)
-
 
118
			throws ProfitMandiBusinessException {
96
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
119
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
97
		Map<String, Object> map = inventoryService.getPaginatedCatalog(loginDetails.getFofoId(), offset, limit, searchTerm);
120
		Map<String, Object> map = inventoryService.getPaginatedCatalog(loginDetails.getFofoId(), offset, limit,
-
 
121
				searchTerm);
98
		model.addAllAttributes(map);
122
		model.addAllAttributes(map);
99
		return "catalog-paginated";
123
		return "catalog-paginated";
100
	}
124
	}
101
 
125
 
102
	
-
 
103
	@RequestMapping(value = "/checkItemAvailability", method = RequestMethod.GET)
126
	@RequestMapping(value = "/checkItemAvailability")
-
 
127
	public String getItemAvailability(HttpServletRequest request,
104
	public String getItemAvailability(HttpServletRequest request, @RequestParam(name = ProfitMandiConstants.ITEM_ID) int itemId, Model model) throws ProfitMandiBusinessException{
128
			@RequestParam(name = ProfitMandiConstants.ITEM_ID) int itemId, Model model)
-
 
129
			throws ProfitMandiBusinessException {
105
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
130
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
106
		CustomCurrentInventorySnapshot customCurrentInventorySnapshot = inventoryService.checkItemAvailability(itemId, loginDetails.getFofoId());
131
		CustomCurrentInventorySnapshot customCurrentInventorySnapshot = inventoryService.checkItemAvailability(itemId,
-
 
132
				loginDetails.getFofoId());
-
 
133
		customCurrentInventorySnapshot
107
		customCurrentInventorySnapshot.setIconUrl(Utils.getIconUrl(customCurrentInventorySnapshot.getCatalogItemId(), host, port, webapp));
134
				.setIconUrl(Utils.getIconUrl(customCurrentInventorySnapshot.getCatalogItemId(), host, port, webapp));
108
		model.addAttribute("currentInventorySnapshot", new Gson().toJson(customCurrentInventorySnapshot));
135
		model.addAttribute("currentInventorySnapshot", new Gson().toJson(customCurrentInventorySnapshot));
109
		return "current-item-availability";
136
		return "current-item-availability";
110
		
137
 
111
	}
138
	}
112
	
139
 
113
	@RequestMapping(value = "/cart", method = RequestMethod.POST)
140
	@RequestMapping(value = "/cart", method = RequestMethod.POST)
114
	public String addToCart(HttpServletRequest request, @RequestParam(name = "cartData") String cartData, Model model) throws ProfitMandiBusinessException{
141
	public String addToCart(HttpServletRequest request, @RequestParam(name = "cartData") String cartData, Model model)
-
 
142
			throws ProfitMandiBusinessException {
115
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
143
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
116
		
144
 
117
		Map<String, Object> map = inventoryService.addToCart(cartData, loginDetails.getFofoId());
145
		Map<String, Object> map = inventoryService.addToCart(cartData, loginDetails.getFofoId());
118
		model.addAllAttributes(map);
146
		model.addAllAttributes(map);
119
		return "cart";
147
		return "cart";
120
	}
148
	}
121
	
149
 
122
	@RequestMapping(value = "/validate-cart", method = RequestMethod.POST)
150
	@RequestMapping(value = "/validate-cart", method = RequestMethod.POST)
-
 
151
	public String validateCart(HttpServletRequest request, HttpServletResponse response,
123
	public String validateCart(HttpServletRequest request, HttpServletResponse response,@RequestParam(name = "cartData") String cartData, Model model) throws ProfitMandiBusinessException{
152
			@RequestParam(name = "cartData") String cartData, Model model) throws ProfitMandiBusinessException {
124
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
153
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
125
		
154
 
126
		Map<String, Object> map = inventoryService.validateCart(cartData, loginDetails.getFofoId());
155
		Map<String, Object> map = inventoryService.validateCart(cartData, loginDetails.getFofoId());
127
		model.addAllAttributes(map);
156
		model.addAllAttributes(map);
128
		return "validate-cart";
157
		return "validate-cart";
129
	}
158
	}
130
 
159
 
131
	@RequestMapping(value = "/grnHistory", method = RequestMethod.GET)
160
	@RequestMapping(value = "/grnHistory")
-
 
161
	public String getGrnHistory(HttpServletRequest request,
132
	public String getGrnHistory(HttpServletRequest request, @RequestParam(name = ProfitMandiConstants.START_TIME, required = false) String startTimeString, @RequestParam(name = ProfitMandiConstants.END_TIME, required = false) String endTimeString, @RequestParam(name = "offset",defaultValue="0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit, @RequestParam(name = ProfitMandiConstants.PURCHASE_REFERENCE,defaultValue="") String purchaseReference, @RequestParam(name = "searchType",defaultValue="") String searchType,Model model) throws ProfitMandiBusinessException{
162
			@RequestParam(name = ProfitMandiConstants.START_TIME, required = false) String startTimeString,
-
 
163
			@RequestParam(name = ProfitMandiConstants.END_TIME, required = false) String endTimeString,
-
 
164
			@RequestParam(name = "offset", defaultValue = "0") int offset,
-
 
165
			@RequestParam(name = "limit", defaultValue = "10") int limit,
-
 
166
			@RequestParam(name = ProfitMandiConstants.PURCHASE_REFERENCE, defaultValue = "") String purchaseReference,
-
 
167
			@RequestParam(name = "searchType", defaultValue = "") String searchType, Model model)
-
 
168
			throws ProfitMandiBusinessException {
133
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
169
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
134
		Map<String, Object> map = inventoryService.getGrnHistory(loginDetails.getFofoId(), startTimeString, endTimeString, offset, limit, purchaseReference, searchType);
170
		Map<String, Object> map = inventoryService.getGrnHistory(loginDetails.getFofoId(), startTimeString,
-
 
171
				endTimeString, offset, limit, purchaseReference, searchType);
135
		model.addAllAttributes(map);
172
		model.addAllAttributes(map);
136
		return "grn-history";
173
		return "grn-history";
137
	}
174
	}
138
 
175
 
139
	@RequestMapping(value = "/getPaginatedGrnHistory", method = RequestMethod.GET)
176
	@RequestMapping(value = "/getPaginatedGrnHistory")
-
 
177
	public String getPaginatedGrnHistory(HttpServletRequest request,
140
	public String getPaginatedGrnHistory(HttpServletRequest request, @RequestParam(name = ProfitMandiConstants.START_TIME, required = false) String startTimeString, @RequestParam(name = ProfitMandiConstants.END_TIME, required = false) String endTimeString, @RequestParam(name = "offset",defaultValue="0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit, @RequestParam(name = ProfitMandiConstants.PURCHASE_REFERENCE,defaultValue="") String purchaseReference, @RequestParam(name = "searchType",defaultValue="") String searchType,Model model) throws ProfitMandiBusinessException{
178
			@RequestParam(name = ProfitMandiConstants.START_TIME, required = false) String startTimeString,
-
 
179
			@RequestParam(name = ProfitMandiConstants.END_TIME, required = false) String endTimeString,
-
 
180
			@RequestParam(name = "offset", defaultValue = "0") int offset,
-
 
181
			@RequestParam(name = "limit", defaultValue = "10") int limit,
-
 
182
			@RequestParam(name = ProfitMandiConstants.PURCHASE_REFERENCE, defaultValue = "") String purchaseReference,
-
 
183
			@RequestParam(name = "searchType", defaultValue = "") String searchType, Model model)
-
 
184
			throws ProfitMandiBusinessException {
141
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
185
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
142
		Map<String, Object> map = inventoryService.getPaginatedGrnHistory(loginDetails.getFofoId(), startTimeString, endTimeString, offset, limit);
186
		Map<String, Object> map = inventoryService.getPaginatedGrnHistory(loginDetails.getFofoId(), startTimeString,
-
 
187
				endTimeString, offset, limit);
143
		model.addAllAttributes(map);
188
		model.addAllAttributes(map);
144
		return "grn-history-paginated";
189
		return "grn-history-paginated";
145
	}
190
	}
146
 
191
 
147
	@RequestMapping(value = "/grnHistoryDetailByPurchaseId", method = RequestMethod.GET)
192
	@RequestMapping(value = "/grnHistoryDetailByPurchaseId")
-
 
193
	public String grnHistoryByPurchaseId(HttpServletRequest request,
148
	public String grnHistoryByPurchaseId(HttpServletRequest request, @RequestParam(name = ProfitMandiConstants.PURCHASE_ID) int purchaseId, Model model) throws ProfitMandiBusinessException{
194
			@RequestParam(name = ProfitMandiConstants.PURCHASE_ID) int purchaseId, Model model)
-
 
195
			throws ProfitMandiBusinessException {
149
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
196
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
150
		Map<String, Object> map = inventoryService.getGrnHistoryDetail(loginDetails.getFofoId(), purchaseId, host, port, webapp);
197
		Map<String, Object> map = inventoryService.getGrnHistoryDetail(loginDetails.getFofoId(), purchaseId, host, port,
-
 
198
				webapp);
151
		model.addAllAttributes(map);
199
		model.addAllAttributes(map);
152
		return "grn-details";
200
		return "grn-details";
153
	}
201
	}
154
 
202
 
155
	@RequestMapping(value = "/grnHistoryDetailByPurchaseReference", method = RequestMethod.GET)
203
	@RequestMapping(value = "/grnHistoryDetailByPurchaseReference")
-
 
204
	public String grnHistoryByPurchaseReference(HttpServletRequest request,
156
	public String grnHistoryByPurchaseReference(HttpServletRequest request, @RequestParam(name = ProfitMandiConstants.PURCHASE_REFERENCE) String purchaseReference, Model model) throws ProfitMandiBusinessException{
205
			@RequestParam(name = ProfitMandiConstants.PURCHASE_REFERENCE) String purchaseReference, Model model)
-
 
206
			throws ProfitMandiBusinessException {
157
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
207
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
158
		Map<String, Object> map = inventoryService.getGrnHistoryDetail(loginDetails.getFofoId(), purchaseReference, host, port, webapp);
208
		Map<String, Object> map = inventoryService.getGrnHistoryDetail(loginDetails.getFofoId(), purchaseReference,
-
 
209
				host, port, webapp);
159
		model.addAllAttributes(map);
210
		model.addAllAttributes(map);
160
		return "grn-details";
211
		return "grn-details";
161
	}
212
	}
162
	
213
 
163
	@RequestMapping(value = "/getInventoryItemAgingByInterval", method = RequestMethod.POST)
214
	@RequestMapping(value = "/getInventoryItemAgingByInterval", method = RequestMethod.POST)
-
 
215
	public String getInventoryItemAgingByInterval(HttpServletRequest request, @RequestBody List<Integer> intervals,
164
	public String getInventoryItemAgingByInterval(HttpServletRequest request, @RequestBody List<Integer> intervals, Model model, @RequestParam(name = "searchContent", defaultValue = "") String searchContent, @RequestParam(name = "offset",defaultValue="0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit) throws ProfitMandiBusinessException{
216
			Model model, @RequestParam(name = "searchContent", defaultValue = "") String searchContent,
-
 
217
			@RequestParam(name = "offset", defaultValue = "0") int offset,
-
 
218
			@RequestParam(name = "limit", defaultValue = "10") int limit) throws ProfitMandiBusinessException {
165
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
219
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
166
		Map<String, Object> map = inventoryService.getPaginatedItemAgingByInterval(loginDetails.getFofoId(), intervals, searchContent, offset, limit);
220
		Map<String, Object> map = inventoryService.getPaginatedItemAgingByInterval(loginDetails.getFofoId(), intervals,
-
 
221
				searchContent, offset, limit);
167
		model.addAllAttributes(map);
222
		model.addAllAttributes(map);
168
		return "item-aging";
223
		return "item-aging";
169
	}
224
	}
170
	
225
 
171
	@RequestMapping(value = "/downloadInventoryItemAgingByInterval", method = RequestMethod.POST)
226
	@RequestMapping(value = "/downloadInventoryItemAgingByInterval", method = RequestMethod.POST)
172
	public ResponseEntity<?> downloadInventoryItemAgingByInterval(HttpServletRequest request, @RequestBody List<Integer> intervals, Model model) throws ProfitMandiBusinessException{
227
	public ResponseEntity<?> downloadInventoryItemAgingByInterval(HttpServletRequest request,
-
 
228
			@RequestBody List<Integer> intervals, Model model) throws ProfitMandiBusinessException {
173
		LOGGER.info("Request received at url{} with body {}", request.getRequestURI(), intervals);
229
		LOGGER.info("Request received at url{} with body {}", request.getRequestURI(), intervals);
174
		LoginDetails fofoDetails = cookiesProcessor.getCookiesObject(request);
230
		LoginDetails fofoDetails = cookiesProcessor.getCookiesObject(request);
175
		
231
 
176
		List<InventoryItemAgingModel> inventoryItemAgingModels = inventoryService.getItemAgingByInterval(fofoDetails.getFofoId(), intervals);
232
		List<InventoryItemAgingModel> inventoryItemAgingModels = inventoryService
-
 
233
				.getItemAgingByInterval(fofoDetails.getFofoId(), intervals);
177
		
234
 
178
		ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
235
		ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
179
		ExcelUtils.writeInventoryItemAgingModels(inventoryItemAgingModels, intervals, byteArrayOutputStream);
236
		ExcelUtils.writeInventoryItemAgingModels(inventoryItemAgingModels, intervals, byteArrayOutputStream);
180
		
237
 
181
		final HttpHeaders headers=new HttpHeaders();
238
		final HttpHeaders headers = new HttpHeaders();
-
 
239
		// private static final String CONTENT_TYPE_XLSX =
182
		//private static final String CONTENT_TYPE_XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
240
		// "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
183
        headers.set("Content-Type", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
241
		headers.set("Content-Type", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
184
        //headers.set("Content-Type", "application/vnd.ms-excel");
242
		// headers.set("Content-Type", "application/vnd.ms-excel");
185
		headers.set("Content-disposition", "inline; filename=InventoryItemAging.xlsx");
243
		headers.set("Content-disposition", "inline; filename=InventoryItemAging.xlsx");
186
        headers.setContentLength(byteArrayOutputStream.toByteArray().length);
244
		headers.setContentLength(byteArrayOutputStream.toByteArray().length);
187
        final InputStream inputStream=new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
245
		final InputStream inputStream = new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
188
        final InputStreamResource inputStreamResource=new InputStreamResource(inputStream);
246
		final InputStreamResource inputStreamResource = new InputStreamResource(inputStream);
189
        return new ResponseEntity<InputStreamResource>(inputStreamResource, headers, HttpStatus.OK);
247
		return new ResponseEntity<InputStreamResource>(inputStreamResource, headers, HttpStatus.OK);
190
		
248
 
191
		//return responseSender.ok(ResponseCodeHolder.getMessage("ITM_AGNG_OK_1000"));
249
		// return responseSender.ok(ResponseCodeHolder.getMessage("ITM_AGNG_OK_1000"));
192
	}
250
	}
193
 
251
 
194
}
252
}