|
@@ -82,11 +82,15 @@ class Notice extends Start_Controller {
|
|
|
$ordertatus = $this->input->post('ordertatus',true);
|
|
$ordertatus = $this->input->post('ordertatus',true);
|
|
|
$arg = $this->input->post('arg',true);
|
|
$arg = $this->input->post('arg',true);
|
|
|
$logisticstatus = $this->input->post('logisticstatus',true);
|
|
$logisticstatus = $this->input->post('logisticstatus',true);
|
|
|
|
|
+ $state = $this->input->post('state',true);
|
|
|
$where = "1=1 and (".rtrim($fgshop,'or').")";
|
|
$where = "1=1 and (".rtrim($fgshop,'or').")";
|
|
|
if($shop)
|
|
if($shop)
|
|
|
{
|
|
{
|
|
|
$where .= " and shop = '$shop'";
|
|
$where .= " and shop = '$shop'";
|
|
|
}
|
|
}
|
|
|
|
|
+ if($state){
|
|
|
|
|
+ $where .= " and state = '$state'";
|
|
|
|
|
+ }
|
|
|
if($type)
|
|
if($type)
|
|
|
{
|
|
{
|
|
|
$where .= " and type = '$type'";
|
|
$where .= " and type = '$type'";
|