1) Can you please share your execute query ?
2) Are you using Servlet mapping action ?
3) .do extension is file or mapping action
It would be helpful for us to provide a prompt solution.
Thanks,
Venkatesh Ayothiraman.
Created on 2/11/2016, 7:51 PM by maverickjin8.
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){
Hi Maverick,
We considered this requirement “Use the Post method for Datamanager” as Custom sample request and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents
Regards,
Venkatesh Ayothiraman.