Browse Source

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
04792c013a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/StructureMapper.xml

+ 3
- 0
tuoheng-service/tuoheng-admin/src/main/resources/mapper/StructureMapper.xml View File

@@ -67,6 +67,9 @@
left JOIN th_section se ON sr.section_id=se.id
left JOIN th_road rd ON sr.road_id=rd.id
where sr.mark=1 and se.mark=1 and rd.mark=1
<if test="request.tenantId != null and request.tenantId != ''">
AND sr.tenant_id = #{request.tenantId}
</if>
<if test="request.structureName !=null and request.structureName !=''">
AND sr.`structure_name` like concat('%',#{request.structureName},'%')
</if>

Loading…
Cancel
Save