|
@@ -2,10 +2,11 @@ drop procedure if exists lt1_shop_sales_statistics_graph;
|
|
|
|
|
|
DELIMITER //
|
|
DELIMITER //
|
|
CREATE PROCEDURE lt1_shop_sales_statistics_graph( _listToken varchar(21), _sdate varchar(8), _edate varchar(8),
|
|
CREATE PROCEDURE lt1_shop_sales_statistics_graph( _listToken varchar(21), _sdate varchar(8), _edate varchar(8),
|
|
-_s1 varchar(32), _e1 varchar(32), _s2 varchar(32), _e2 varchar(32),
|
|
|
|
-_s3 varchar(32), _e3 varchar(32), _s4 varchar(32), _e4 varchar(32),
|
|
|
|
-_having varchar(386), _orderby varchar(64),
|
|
|
|
-_branch int, _storage int, _member_company_id int, _lt_filter int)
|
|
|
|
|
|
+ _s1 varchar(32), _e1 varchar(32), _s2 varchar(32), _e2 varchar(32),
|
|
|
|
+ _s3 varchar(32), _e3 varchar(32), _s4 varchar(32), _e4 varchar(32),
|
|
|
|
+ _where varchar(386), _having varchar(386), _orderby varchar(64),
|
|
|
|
+ _branch int, _storage int)
|
|
|
|
+SQL SECURITY INVOKER
|
|
BEGIN
|
|
BEGIN
|
|
DECLARE start_date varchar(8);
|
|
DECLARE start_date varchar(8);
|
|
DECLARE end_date varchar(8);
|
|
DECLARE end_date varchar(8);
|