We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to refer to Syncfusion.EJ dll and use the POST method for Datamanager ( 2 )

Hello Syncfusion.

I would like to answer the questions whichVenkatesh Ayothi Ramanhave replied

THREAD ID :121949


1) Can you please share your execute query ?

Here is the Query which is used while using the POST request

select SQL_CALC_FOUND_ROWS b.*
from
(select
a.id as storeId
, a.name as storeName
, a.description as storeDesc
, cc.mark_name as storeType
, cc.code_name as storeTypeCode
, if(
(select getCommCodeCodeNameByCodeId(type, #lang#) from beacon.account acc where id = a.par_acc_id) = 'GROUP'
, (select name from beacon.account acc2 where id = a.par_acc_id)
, '') as parGroupName
, a.create_date as createDate
from beacon.account a
join beacon.comm_code cc on a.type = cc.id and cc.lang = #lang#

where $strSVCType$

limit #skipCount#, #pageSize#



2) Are you using Servlet mapping action ?

Yes, I am using Spring, and using the mapping action, here are the sample below

@Controller
@RequestMapping("/beacon/test")
public class testController extends BeaconBaseController{

......

@RequestMapping(value="/sync/getStoreListSync.do", method = RequestMethod.POST)
public @ResponseBody DataResult getStoreListSync(HttpServletRequest request, @RequestBody DataRequest drs){

......
return dr;
}


3) .do extension is file or mapping action

As written in the sample below, mapping action is used in the POST request

@RequestMapping(value="/sync/getStoreListSync.do", method = RequestMethod.POST)
public @ResponseBody DataResult getStoreListSync(HttpServletRequest request, @RequestBody DataRequest drs){


1 Reply

KK K Kalai Selvi Syncfusion Team February 12, 2016 04:53 AM UTC

Hi Maverick,
 
We have transferred the details shared with this forum to the relevent forum thread 121949. Please follow up with the forum 121949 for further updates. Also we request you to post your related queries/ updates in that forum for better follow up.
 
Regards,
Kalaiselvi

Loader.
Live Chat Icon For mobile
Up arrow icon