Sfoglia il codice sorgente

修改查询构造物列表代码

tags/v1.0.0^2
wanjing 1 anno fa
parent
commit
db5fb90277
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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

Loading…
Annulla
Salva