Răsfoiți Sursa

工序大废品

qiuenguang 1 an în urmă
părinte
comite
e62ca06209
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      application/api/controller/LargeWasteRewardPunish.php

+ 2 - 2
application/api/controller/LargeWasteRewardPunish.php

@@ -97,7 +97,7 @@ class LargeWasteRewardPunish extends Api
         $req['date'] = str_replace('.','-',$date);
         $req['date'] = str_replace('.','-',$date);
         $where = [];
         $where = [];
         if (isset($req['date']) && !empty($req['date'])){
         if (isset($req['date']) && !empty($req['date'])){
-            $where['sys_rq'] = ['LIKE',$req['date'].'%'];
+            $where['sczl_rq'] = ['LIKE',$req['date'].'%'];
         }else{
         }else{
             $this->error('参数错误');
             $this->error('参数错误');
         }
         }
@@ -116,7 +116,7 @@ class LargeWasteRewardPunish extends Api
         }else{
         }else{
             $rows = db()->table('db_大废品')
             $rows = db()->table('db_大废品')
             ->field('sczl_gdbh, LEFT(sczl_rq, 10) as sczl_rq, rtrim(sczl_numDesc) as sczl_numDesc, sczl_ls, sczl_yjno, 
             ->field('sczl_gdbh, LEFT(sczl_rq, 10) as sczl_rq, rtrim(sczl_numDesc) as sczl_numDesc, sczl_ls, sczl_yjno, 
-            rtrim(责任部门) as 责任部门, CAST(sczl_cl AS SIGNED) as sczl_cl, 
+            rtrim(责任部门) as 责任部门, sczl_cl, 
             rtrim(sczl_fplxA) as sczl_fplxA, sczl_fplxB, Jl_bzdh, JL_bh1, 
             rtrim(sczl_fplxA) as sczl_fplxA, sczl_fplxB, Jl_bzdh, JL_bh1, 
             sczl_bzdh, sczl_bh1, sczl_je1, sczl_bh2, sczl_je2, rtrim(sys_id) as sys_id, sys_rq, UniqId')
             sczl_bzdh, sczl_bh1, sczl_je1, sczl_bh2, sczl_je2, rtrim(sys_id) as sys_id, sys_rq, UniqId')
             ->where($where)
             ->where($where)