This commit is contained in:
velz 2018-10-24 13:12:16 +05:30
parent d25b5a80e9
commit 18e67795df
2 changed files with 20 additions and 3 deletions

View File

@ -369,9 +369,26 @@ class Entity_Management_Controller extends REST_Controller {
/*
* Save Entity Regions Mapping
*/
public function getCityHierarchy_get()
, //fk_region_id, fk_city_id, fk_entity_id, createdon, fk_createdby, updatedon, fk_updatedby
*/
public function SaveEntityRegionMapping_post()
{
// $records = $this->post('records');
// foreach($records as $key => $record)
// {
// if($record['entity_region_map_id'] != "" || $record['entity_region_map_id'] != null)
// {
// $where_condition_array = array('entity_region_map_id' => $record['entity_region_map_id']);
// $entity_region_map_id = $this->Entity_Management_Model->updateRecords($record,ENTITYREGION,$where_condition_array);
// if($entity_region_map_id != "" || $entity_region_map_id != null){ $count++; }
// }
// else
// {
// $entity_region_map_id = $this->Entity_Management_Model->saveRecords($record,ENTITYREGION,$where_condition_array);
// if($entity_region_map_id != "" || $entity_region_map_id != null){ $count++; }
// }
// }
}

View File

@ -345,7 +345,7 @@ class PD_Model extends SPARQ_Model {
*/
public function getPDQuestionAnswers($pdid)
{
return array();
}
/*