Commit 8b479c80 by haojie

1

parent 426ca096
......@@ -4,6 +4,7 @@
use App\Models\MarketInscription;
use App\Service\Common\CommonService;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Redis;
......@@ -67,9 +68,10 @@ public function createOrUpdate()
}
if (array_key_exists('Name', $update) && array_key_exists('Protocol', $update)) {
// 产品和name都一致才更新
// 产品和name都一致才更新--区分大小写
$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) {
$model->update($update);
} else {
......
......@@ -293,8 +293,6 @@ onMounted(() => {
.page-market-inscription-table {
tbody {
tr {
td {
}
.font14 {
font-size: 14px;
}
......
......@@ -121,12 +121,6 @@ const props = withDefaults(
justify-content: space-between;
padding: 4px 12px;
box-sizing: border-box;
.label {
}
.value {
}
.line {
}
.font-small {
font-size: 11px;
}
......
......@@ -19,9 +19,6 @@ const props = withDefaults(
</script>
<style lang="less">
.custom-tooltip {
// background-color: #1e2329 !important;
}
.t-tooltip--default {
.t-popup__content {
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