edit-entity-settle
This commit is contained in:
@@ -45,10 +45,10 @@ class Settle_entity{
|
||||
$biz_price = 0;//门店成本
|
||||
$biz_price_list = [];
|
||||
$p_where = [
|
||||
'biz_id' => $biz_id,
|
||||
'biz_id' => $static_row['biz_id'],
|
||||
'status' => 1,
|
||||
'year' => $year,
|
||||
'month' => $month,
|
||||
'year' => $static_row['year'],
|
||||
'month' => $static_row['month'],
|
||||
];
|
||||
$price_row = $this->ci->biz_settle_price_model->get($p_where);
|
||||
if($price_row){
|
||||
|
||||
@@ -44,7 +44,6 @@ class Biz_settle_price_model extends HD_Model
|
||||
*/
|
||||
public function sum_jsondata($jsondata=[]){
|
||||
$jsondata = json_decode($jsondata,true);
|
||||
print_r($jsondata);
|
||||
$res = 0;
|
||||
if($jsondata){
|
||||
foreach ($jsondata as $key=>$val) {
|
||||
|
||||
Reference in New Issue
Block a user