更新订单查询汇总
This commit is contained in:
parent
669f3a2d39
commit
54acf6a447
@ -1101,7 +1101,7 @@ class Auth extends BaseController
|
||||
if ($villageCode) {
|
||||
$villageCodeArray = explode(',', $villageCode);
|
||||
if (count($villageCodeArray) == 1) {
|
||||
$villageIdArray = Db::name('GeoVillage')->where('village_code', $villageCodeArray)->fetchSql(false)->column('village_id');
|
||||
$villageIdArray = Db::name('GeoVillage')->where('village_code', $villageCode)->fetchSql(false)->column('village_id');
|
||||
}
|
||||
if (count($villageCodeArray) > 1) {
|
||||
$villageIdArray = Db::name('GeoVillage')->whereIn('village_code', $villageCodeArray)->fetchSql(false)->column('village_id');
|
||||
@ -1164,7 +1164,7 @@ class Auth extends BaseController
|
||||
if ($villageCode) {
|
||||
$villageCodeArray = explode(',', $villageCode);
|
||||
if (count($villageCodeArray) == 1) {
|
||||
$villageIdArray = Db::name('GeoVillage')->where('village_code', $villageCodeArray)->fetchSql(false)->column('village_id');
|
||||
$villageIdArray = Db::name('GeoVillage')->where('village_code', $villageCode)->fetchSql(false)->column('village_id');
|
||||
}
|
||||
if (count($villageCodeArray) > 1) {
|
||||
$villageIdArray = Db::name('GeoVillage')->whereIn('village_code', $villageCodeArray)->fetchSql(false)->column('village_id');
|
||||
|
Loading…
x
Reference in New Issue
Block a user