bug修复

This commit is contained in:
jjLv 2024-08-29 19:06:57 +08:00
parent 4a944e3379
commit 1e0e0e4dee
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public class BaseProjectServiceImpl implements IBaseProjectService
for (BaseProject vo : list) { for (BaseProject vo : list) {
vo.setContactInformation(Sm4Utils.decode(vo.getContactInformation())); vo.setContactInformation(Sm4Utils.decode(vo.getContactInformation()));
vo.setAppnum(projectMapper.getAppCount(vo.getProjectId())); vo.setAppnum(projectMapper.getAppCount(vo.getProjectId()));
vo.setPronum(projectMapper.getProCount(project.getProjectId())); vo.setPronum(projectMapper.getProCount(vo.getProjectId()));
} }
} catch (Exception e) { } catch (Exception e) {
log.error("查询人员列表", e); log.error("查询人员列表", e);

View File

@ -45,7 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="selectDeviceById" parameterType="int" resultType="com.bonus.common.entity.bracelet.vo.DeviceVo"> <select id="selectDeviceById" parameterType="int" resultType="com.bonus.common.entity.bracelet.vo.DeviceVo">
select td.id as deviceId,tdd.dict_label AS deviceTypeName,td.dev_name as deviceName,td.dev_code as deviceCode,td.dev_status as deviceStatus,td.dev_index as deviceIndex select td.id as deviceId,td.dev_type as deviceType,tdd.dict_label AS deviceTypeName,td.dev_name as deviceName,td.dev_code as deviceCode,td.dev_status as deviceStatus,td.dev_index as deviceIndex
from tb_device td from tb_device td
left join sys_dict_data tdd on tdd.dict_value=td.dev_type AND tdd .dict_type='sys_device_type' left join sys_dict_data tdd on tdd.dict_value=td.dev_type AND tdd .dict_type='sys_device_type'
where td.id = #{deviceId} and td.del_flag = 0 where td.id = #{deviceId} and td.del_flag = 0