edit-entity-settle

This commit is contained in:
lccsw
2022-08-24 16:17:25 +08:00
parent 3d6b4d1b6d
commit 1acc172360
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -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) {