通过了离线申请的数据不再计入限制范围内
This commit is contained in:
parent
7a67f4d24c
commit
d5d6f3fd86
|
@ -800,7 +800,7 @@ class DataController extends Zend_Controller_Action
|
|||
// 10:离线申请完成?
|
||||
// -1: 取消了在线下载进程
|
||||
//首先判断离线申请的数据数量是否超过系统限制
|
||||
$sql="select count(*) as datacount from dataorder where (ts_approved is null) and userid=? and status>0 and status<6";
|
||||
$sql="select count(*) as datacount from dataorder where (ts_approved is null) and userid=? and status>0 and status<5";
|
||||
$r=$this->db->fetchRow($sql,array($userid));
|
||||
//保证添加的离线数据申请未申请
|
||||
$sql="select count(*) as datacount from dataorder where (ts_approved is null) and userid=? and uuid=? and status=1";
|
||||
|
|
|
@ -314,7 +314,7 @@ class WaterController extends DataController
|
|||
// 10:离线申请完成?
|
||||
// -1: 取消了在线下载进程
|
||||
//首先判断离线申请的数据数量是否超过系统限制
|
||||
$sql="select count(*) as datacount from dataorder where (ts_approved is null) and userid=? and status>0 and status<6";
|
||||
$sql="select count(*) as datacount from dataorder where (ts_approved is null) and userid=? and status>0 and status<5";
|
||||
$r=$this->db->fetchRow($sql,array($userid));
|
||||
//保证添加的离线数据申请未申请
|
||||
$sql="select count(*) as datacount from dataorder where (ts_approved is null) and userid=? and uuid=? and status=1";
|
||||
|
|
Loading…
Reference in New Issue