m3 Security Fixes
This commit is contained in:
@@ -33,36 +33,36 @@ class whsePerfDetailsController extends Controller
|
||||
|
||||
$all = "tempfile4 as (
|
||||
select a5macpkr, a4shshnm, a4shipvia1, interco, a4shiptype, sum(dollarvalue) as dollarvalue, sum(weight) as weight, max(source) as source
|
||||
from tempfile3
|
||||
where not (a4shipvia1='OCEAN' or interco='interco') and source<>'A2'
|
||||
from tempfile3
|
||||
where not (a4shipvia1='OCEAN' or interco='interco') and source<>'A2'
|
||||
group by a5macpkr, a4shshnm, a4shipvia1, interco, a4shiptype
|
||||
)
|
||||
select * from tempfile4 order by source";
|
||||
|
||||
|
||||
$ltl = "tempfile4 as (
|
||||
select a5macpkr, a4shshnm, a4shipvia1, interco, a4shiptype, sum(dollarvalue) as dollarvalue, sum(weight) as weight, max(source) as source
|
||||
from tempfile3
|
||||
where not (a4shipvia1='OCEAN' or interco='interco') and source<>'A2' and a4shiptype='LTL'
|
||||
from tempfile3
|
||||
where not (a4shipvia1='OCEAN' or interco='interco') and source<>'A2' and a4shiptype='LTL'
|
||||
group by a5macpkr, a4shshnm, a4shipvia1, interco, a4shiptype
|
||||
)
|
||||
select * from tempfile4 order by source";
|
||||
|
||||
$parcel = "tempfile4 as (
|
||||
select a5macpkr, a4shshnm, a4shipvia1, interco, a4shiptype, sum(dollarvalue) as dollarvalue, sum(weight) as weight, max(source) as source
|
||||
from tempfile3
|
||||
from tempfile3
|
||||
where not (a4shipvia1='OCEAN' or interco='interco') and source<>'A2' and a4shiptype='SmallPack'
|
||||
group by a5macpkr, a4shshnm, a4shipvia1, interco, a4shiptype
|
||||
)
|
||||
select * from tempfile4 order by source";
|
||||
|
||||
|
||||
$io = "tempfile4 as (
|
||||
select a5macpkr, a4shshnm, a4shipvia1, interco, a4shiptype, sum(dollarvalue) as dollarvalue, sum(weight) as weight, max(source) as source
|
||||
from tempfile3
|
||||
where (a4shipvia1='OCEAN' or interco='interco') and source<>'A2'
|
||||
from tempfile3
|
||||
where (a4shipvia1='OCEAN' or interco='interco') and source<>'A2'
|
||||
group by a5macpkr, a4shshnm, a4shipvia1, interco, a4shiptype
|
||||
)
|
||||
select * from tempfile4 order by source";
|
||||
|
||||
|
||||
switch ($for) {
|
||||
case "a":
|
||||
$stmt2=$all;
|
||||
|
||||
Reference in New Issue
Block a user