|
@@ -105,7 +105,7 @@ class FyySqlServerService extends Service
|
|
public function getDataFromSqlServer($data){
|
|
public function getDataFromSqlServer($data){
|
|
if(empty($data['out_order_no_time'][0]) || empty($data['out_order_no_time'][1])) return [false,'制单日期不能为空!',''];
|
|
if(empty($data['out_order_no_time'][0]) || empty($data['out_order_no_time'][1])) return [false,'制单日期不能为空!',''];
|
|
$bool = $this->is_same_month($data['out_order_no_time'][0],$data['out_order_no_time'][1]);
|
|
$bool = $this->is_same_month($data['out_order_no_time'][0],$data['out_order_no_time'][1]);
|
|
- if(! $bool) return [false,'制单日期必须同月!'];
|
|
|
|
|
|
+ if(! $bool) return [false,'制单日期必须同月!',''];
|
|
|
|
|
|
//查询产品主表副表数据
|
|
//查询产品主表副表数据
|
|
date_default_timezone_set("PRC");
|
|
date_default_timezone_set("PRC");
|