This commit is contained in:
sxu 2023-12-05 14:46:54 +08:00
parent 4e05bc5415
commit b9c6421c8d
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@ public class DevInfoVo extends DevInfo {
private String deviceName;
private int collectId;
private String companyName;
private String companyCreateTime;
/* 联系商家,被授权人手机号 */
private String authPhone;
private String[] pictures;

View File

@ -88,7 +88,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectDevInfoByMaId" parameterType="Long" resultType="com.bonus.zlpt.common.core.domain.equip.vo.DevInfoVo">
select d.*,c.company_name,c.auth_phone,ty.type_name as device_name,ty.parent_name as group_name,ty.grandpa_name as type_name,
select d.*,c.company_name,c.create_time as company_create_time,c.auth_phone,ty.type_name as device_name,
ty.parent_name as group_name,ty.grandpa_name as type_name,
col.id as collect_id, up.status as is_audit,h.search_num
from ma_dev_info d
left join bm_company_info c on d.own_co = c.company_id