杂记 SY

 

 

$pid = M('xxx')->getField('product_id',true);

 

 

 $sum_orders_total = M("Order")->where( array( 'uid' => 1, 'status' => array( 'in','1,2,3' ) ) ) ->sum('total');

 

 

        $map['_string']="find_in_set('".$_SESSION['loginuserid']."',tj_str)>0";

posted @ 2018-11-23 09:28  王宇walkOn  阅读(90)  评论(0编辑  收藏  举报