12345678910111213141516171819202122 |
- <?php
- /**
- * Created by PhpStorm.
- * User: sicilon_IT
- * Date: 2020/5/10
- * Time: 23:48
- */
- namespace app\index\model;
- use think\Model;
- class indatarec extends Model{
- public $table='t_indatarec';
- public function updrecbycid($cid,$rec)
- {
- //
- $where_arr['contractid'] = $cid;
- $update_arr['workrecid'] = $rec;
- $this->where($where_arr)->update($update_arr);
- }
- }
|