From 566e7986291e73051d30ee252b0ebf852b1577a7 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Tue, 02 Apr 2024 14:25:51 +0800
Subject: [PATCH] 娱乐场所标签新增180200

---
 src/main/java/org/springblade/modules/place/mapper/PlacePractitionerMapper.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/springblade/modules/place/mapper/PlacePractitionerMapper.xml b/src/main/java/org/springblade/modules/place/mapper/PlacePractitionerMapper.xml
index 847de74..db7a0ef 100644
--- a/src/main/java/org/springblade/modules/place/mapper/PlacePractitionerMapper.xml
+++ b/src/main/java/org/springblade/modules/place/mapper/PlacePractitionerMapper.xml
@@ -72,15 +72,15 @@
 
             <if test="placePractitioner.type == 1">
                 and TIMESTAMPDIFF(year, substring(jpp.id_card, 7, 8), now()) &lt; 18
-                and jc.category_no in (180202,180201)
+                and jc.category_no in (180202,180201,180200)
             </if>
             <if test="placePractitioner.type == 2">
                 and jpp.ethnicity != 1
-                and jc.category_no in (180202,180201)
+                and jc.category_no in (180202,180201,180200)
             </if>
             <if test="placePractitioner.type == 3">
                 and (TIMESTAMPDIFF(year, substring(jpp.id_card, 7, 8), now()) &lt; 18  or jpp.ethnicity != 1)
-                and jc.category_no in (180202,180201)
+                and jc.category_no in (180202,180201,180200)
             </if>
             and jpp.is_deleted = 0
             order by jpp.id desc
@@ -142,11 +142,11 @@
         <where>
             <if test="placePractitioner.type == 1">
                 and TIMESTAMPDIFF(year, substring(jpp.id_card, 7, 8), now()) &lt; 18
-                and jc.category_no in (180202,180201)
+                and jc.category_no in (180202,180201,180200)
             </if>
             <if test="placePractitioner.type == 2">
                 and jpp.ethnicity != 1
-                and jc.category_no in (180202,180201)
+                and jc.category_no in (180202,180201,180200)
             </if>
             <if test="placePractitioner.id != null ">and jpp.id = #{placePractitioner.id}</if>
             <if test="placePractitioner.placeId != null ">and jpp.place_id = #{placePractitioner.placeId}</if>

--
Gitblit v1.9.3