Przeglądaj źródła

后台志愿者列表增加名称筛选

wangwl 3 miesięcy temu
rodzic
commit
81c745fd64

+ 1 - 5
leromro-core/src/main/resources/mapper/core/VolunteerInfoMapper.xml

@@ -44,11 +44,7 @@
             <if test="dto.appStatus != null  and dto.appStatus != '' and dto.appStatus == 1"> and  lvi.app_status in (1,3)</if>
             <if test="dto.appStatus != null  and dto.appStatus != '' and dto.appStatus == 2"> and  lvi.app_status = 2</if>
             <if test="dto.serviceCenterId != null  and dto.serviceCenterId != '' "> and su.service_centre_id = #{dto.serviceCenterId}</if>
-            <!--<if test="name != null  and name != ''"> and lvi.name like concat('%', #{name}, '%')</if>
-            <if test="score != null "> and lvi.score = #{score}</if>
-            <if test="skillDescribe != null  and skillDescribe != ''"> and lvi.skill_describe = #{skillDescribe}</if>
-            <if test="city != null  and city != ''"> and lvi.city = #{city}</if>
-            -->
+            <if test="dto.name != null  and dto.name != ''"> and lvi.name like concat('%', #{dto.name}, '%')</if>
         </where>
         order by lvi.create_time desc
     </select>