接口联调
This commit is contained in:
parent
2738a8912d
commit
ef367f4d2c
|
|
@ -53,6 +53,7 @@ public class MaTypeInfoServiceImpl implements MaTypeInfoSevice {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<DevInfoVo> getHotSearch(DevInfoVo devInfoVo) {
|
public List<DevInfoVo> getHotSearch(DevInfoVo devInfoVo) {
|
||||||
|
//暂取前五热度点击设备
|
||||||
return maTypeInfoMapper.getHotSearch(devInfoVo);
|
return maTypeInfoMapper.getHotSearch(devInfoVo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -288,7 +288,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="description != null and description != ''">`description`,</if>
|
<if test="description != null and description != ''">`description`,</if>
|
||||||
<if test="gpsCode != null and gpsCode != ''">gps_code,</if>
|
<if test="gpsCode != null and gpsCode != ''">gps_code,</if>
|
||||||
<if test="companyId != null">own_co,</if>
|
<if test="companyId != null">own_co,</if>
|
||||||
<if test="createTime != null">create_time,</if>
|
|
||||||
<if test="person != null and person != ''">person,</if>
|
<if test="person != null and person != ''">person,</if>
|
||||||
<if test="personPhone != null and personPhone != ''">person_phone,</if>
|
<if test="personPhone != null and personPhone != ''">person_phone,</if>
|
||||||
create_time,
|
create_time,
|
||||||
|
|
@ -299,7 +298,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="deposit != null and deposit != ''">deposit,</if>
|
<if test="deposit != null and deposit != ''">deposit,</if>
|
||||||
<if test="isOperator != null and isOperator != ''">is_operator,</if>
|
<if test="isOperator != null and isOperator != ''">is_operator,</if>
|
||||||
<if test="isActive != null and isActive != ''">is_active,</if>
|
<if test="isActive != null and isActive != ''">is_active,</if>
|
||||||
<if test="updateTime != null and updateTime != ''">update_time,</if>
|
|
||||||
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
|
@ -337,7 +335,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="deposit != null and deposit != ''">#{deposit},</if>
|
<if test="deposit != null and deposit != ''">#{deposit},</if>
|
||||||
<if test="isOperator != null and isOperator != ''">#{isOperator},</if>
|
<if test="isOperator != null and isOperator != ''">#{isOperator},</if>
|
||||||
<if test="isActive != null and isActive != ''">#{isActive},</if>
|
<if test="isActive != null and isActive != ''">#{isActive},</if>
|
||||||
<if test="updateTime != null and updateTime != ''">#{updateTime},</if>
|
|
||||||
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
@ -580,7 +577,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="description != null and description != ''">`description`,</if>
|
<if test="description != null and description != ''">`description`,</if>
|
||||||
<if test="gpsCode != null and gpsCode != ''">gps_code,</if>
|
<if test="gpsCode != null and gpsCode != ''">gps_code,</if>
|
||||||
<if test="companyId != null">own_co,</if>
|
<if test="companyId != null">own_co,</if>
|
||||||
<if test="createTime != null">create_time,</if>
|
|
||||||
<if test="person != null and person != ''">person,</if>
|
<if test="person != null and person != ''">person,</if>
|
||||||
<if test="personPhone != null and personPhone != ''">person_phone,</if>
|
<if test="personPhone != null and personPhone != ''">person_phone,</if>
|
||||||
create_time,
|
create_time,
|
||||||
|
|
@ -591,7 +587,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="deposit != null and deposit != ''">deposit,</if>
|
<if test="deposit != null and deposit != ''">deposit,</if>
|
||||||
<if test="isOperator != null and isOperator != ''">is_operator,</if>
|
<if test="isOperator != null and isOperator != ''">is_operator,</if>
|
||||||
is_active,
|
is_active,
|
||||||
<if test="updateTime != null and updateTime != ''">update_time,</if>
|
|
||||||
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
<if test="updateBy != null and updateBy != ''">update_by,</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
|
@ -629,7 +624,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="deposit != null and deposit != ''">#{deposit},</if>
|
<if test="deposit != null and deposit != ''">#{deposit},</if>
|
||||||
<if test="isOperator != null and isOperator != ''">#{isOperator},</if>
|
<if test="isOperator != null and isOperator != ''">#{isOperator},</if>
|
||||||
1,
|
1,
|
||||||
<if test="updateTime != null and updateTime != ''">#{updateTime},</if>
|
|
||||||
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
<if test="updateBy != null and updateBy != ''">#{updateBy},</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
and d.device_name = #{deviceName}
|
and d.device_name = #{deviceName}
|
||||||
</if>
|
</if>
|
||||||
ORDER BY h.search_num DESC
|
ORDER BY h.search_num DESC
|
||||||
|
LIMIT 5
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getTypeList" resultType="com.bonus.common.biz.domain.TypeInfo">
|
<select id="getTypeList" resultType="com.bonus.common.biz.domain.TypeInfo">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue