Commit 8b479c80 by haojie

1

parent 426ca096
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
use App\Models\MarketInscription; use App\Models\MarketInscription;
use App\Service\Common\CommonService; use App\Service\Common\CommonService;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Redis; use Illuminate\Support\Facades\Redis;
...@@ -67,9 +68,10 @@ public function createOrUpdate() ...@@ -67,9 +68,10 @@ public function createOrUpdate()
} }
if (array_key_exists('Name', $update) && array_key_exists('Protocol', $update)) { if (array_key_exists('Name', $update) && array_key_exists('Protocol', $update)) {
// 产品和name都一致才更新 // 产品和name都一致才更新--区分大小写
$model = MarketInscription::query(); $model = MarketInscription::query();
$model = $model->where('Name', $update['Name'])->where('Protocol', $update['Protocol'])->first(); $model = $model->where(DB::raw('BINARY Name'), $update['Name'])
->where(DB::raw('BINARY Protocol'), $update['Protocol'])->first();
if ($model) { if ($model) {
$model->update($update); $model->update($update);
} else { } else {
......
...@@ -293,8 +293,6 @@ onMounted(() => { ...@@ -293,8 +293,6 @@ onMounted(() => {
.page-market-inscription-table { .page-market-inscription-table {
tbody { tbody {
tr { tr {
td {
}
.font14 { .font14 {
font-size: 14px; font-size: 14px;
} }
......
...@@ -121,12 +121,6 @@ const props = withDefaults( ...@@ -121,12 +121,6 @@ const props = withDefaults(
justify-content: space-between; justify-content: space-between;
padding: 4px 12px; padding: 4px 12px;
box-sizing: border-box; box-sizing: border-box;
.label {
}
.value {
}
.line {
}
.font-small { .font-small {
font-size: 11px; font-size: 11px;
} }
......
...@@ -19,9 +19,6 @@ const props = withDefaults( ...@@ -19,9 +19,6 @@ const props = withDefaults(
</script> </script>
<style lang="less"> <style lang="less">
.custom-tooltip {
// background-color: #1e2329 !important;
}
.t-tooltip--default { .t-tooltip--default {
.t-popup__content { .t-popup__content {
background-color: #1e2329 !important; background-color: #1e2329 !important;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment