varsql="select xsi.servicer_code,xsi.servicer_name,xsi.push_domain_addr from x_product xp join x_service_info xsi on xp.servicer_code=xsi.servicer_code "
varsql="select xsi.servicer_code,xsi.servicer_name,xsi.push_domain_addr,xsi.is_enabled is_enabled from x_product xp join x_service_info xsi on xp.servicer_code=xsi.servicer_code "
sql+="where xp.path_code=:path_code and xp.region_id=:region_id";
try{
varlist=awaitthis.customQuery(sql,obj);
...
...
@@ -16,6 +16,7 @@ class NeedInfoDao extends Dao {
rtn.servicer_code=list[0].servicer_code;
rtn.servicer_name=list[0].servicer_name;
rtn.push_domain_addr=list[0].push_domain_addr;
rtn.is_enabled=list[0].is_enabled;
returnsystem.getResultSuccess(rtn);
}else{
returnsystem.getResultFail(-203,"servicer is empty");