修改首页友情连接查询
This commit is contained in:
24
pom.xml
24
pom.xml
@ -263,18 +263,18 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
<!-- <resources>-->
|
<resources>
|
||||||
<!-- <resource>-->
|
<resource>
|
||||||
<!-- <directory>src/main/resources</directory>-->
|
<directory>src/main/resources</directory>
|
||||||
<!-- <filtering>true</filtering>-->
|
<filtering>true</filtering>
|
||||||
<!-- </resource>-->
|
</resource>
|
||||||
<!-- <resource>-->
|
<resource>
|
||||||
<!-- <directory>src/main/java</directory>-->
|
<directory>src/main/java</directory>
|
||||||
<!-- <includes>-->
|
<includes>
|
||||||
<!-- <include>**/mapper/*Mapper.xml</include>-->
|
<include>**/mapper/*Mapper.xml</include>
|
||||||
<!-- </includes>-->
|
</includes>
|
||||||
<!-- </resource>-->
|
</resource>
|
||||||
<!-- </resources>-->
|
</resources>
|
||||||
<!-- <plugins>-->
|
<!-- <plugins>-->
|
||||||
<!-- <plugin>-->
|
<!-- <plugin>-->
|
||||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
|
@ -98,13 +98,21 @@
|
|||||||
<select id="friendshipConnections"
|
<select id="friendshipConnections"
|
||||||
|
|
||||||
resultMap="CoscoPortalsLinksResult">
|
resultMap="CoscoPortalsLinksResult">
|
||||||
<include refid="selectCoscoPortalsLinksVo"/>
|
select cpl.id,
|
||||||
where
|
cpl.classification_id,
|
||||||
del_flag = 'normal'
|
cpl.name,
|
||||||
and status = 0
|
cpl.name_en,
|
||||||
and classification_id=1
|
cpl.thumbnail,
|
||||||
order by update_time desc
|
cpl.url,
|
||||||
limit 12
|
cpl.status,
|
||||||
|
cpl.order_by,
|
||||||
|
cpl.remark
|
||||||
|
from cosco_portals_links cpl
|
||||||
|
left join cosco_portals_links_classification cplc on cpl.classification_id = cplc.id
|
||||||
|
where cpl.del_flag = 'normal'
|
||||||
|
and cpl.status = 0
|
||||||
|
and cplc.type = 1
|
||||||
|
order by cpl.update_time desc limit 12
|
||||||
</select>
|
</select>
|
||||||
<select id="selectCoscoPortalsLinksList"
|
<select id="selectCoscoPortalsLinksList"
|
||||||
parameterType="com.chinaunicom.zyhy.ebtp.supplier.portals.entity.CoscoPortalsLinks"
|
parameterType="com.chinaunicom.zyhy.ebtp.supplier.portals.entity.CoscoPortalsLinks"
|
||||||
|
Reference in New Issue
Block a user