Parcourir la source

修改查询构造物列表代码

tags/v1.0.0^2
wanjing il y a 1 an
Parent
révision
db5fb90277
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/StructureMapper.xml

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/mapper/StructureMapper.xml Voir le fichier

@@ -42,7 +42,7 @@
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.structureName !=null and request.structureName !=''"> and sr.`structure_name` like concat('%',#{request.structureName},'%') </if>
<if test="request.tenantId != null and request.tenantId != ''"> and tenant_id = #{request.tenantId} </if>
<if test="request.tenantId != null and request.tenantId != ''"> and sr.tenant_id = #{request.tenantId} </if>
<if test="request.structureType !=null"> and sr.structure_type = #{request.structureType} </if>
<if test="request.roadId !=null"> and sr.road_id = #{request.roadId} </if>
ORDER BY

Chargement…
Annuler
Enregistrer