|
@@ -1239,7 +1239,7 @@ class Lampcontrol extends Base_Controller {
|
|
|
}
|
|
|
if ($datatype == 'lampinfo') {
|
|
|
|
|
|
- $fields = "number,projectid,address,longitude,latitude,section,boardpower,lamptype,boardtype,batteryah,loadpower,devstatus,loadtype,supplier,upazilla,po,manu,protocoltype,updatetime,status,power,model,fascal_year,fascal_year_phase";
|
|
|
+ $fields = "number,projectid,address,longitude,latitude,section,boardpower,lamptype,boardtype,batteryah,loadpower,devstatus,loadtype,supplier,upazilla,po,manu,protocoltype,updatetime,status,power,model,fascal_year,fascal_year_phase,iccid";
|
|
|
|
|
|
$res = $this->Lamp_model->get_one(['id'=>$lamp_id],$fields);
|
|
|
if (empty($res)) {
|
|
@@ -1315,6 +1315,7 @@ class Lampcontrol extends Base_Controller {
|
|
|
'model' => $res['model'],
|
|
|
'fascal_year' => $res['fascal_year'],
|
|
|
'fascal_year_phase' => $res['fascal_year_phase'],
|
|
|
+ 'iccid' => $res['iccid'],
|
|
|
);
|
|
|
// $msisdn = $this->db->query('select iccid from msisdn where imsi = "'.$res['simid'].'"')->row_array();
|
|
|
// if (empty($msisdn) || empty($msisdn['iccid'])) {
|