@ -160,7 +160,7 @@ public class DevicePDAServiceImpl implements IDevicePDAService {
// 处理人员信息
List<SysUser> personList = new ArrayList<>();
for (String id : users) {
personList.add(personMapper.selectSysUserByUserId(Long.valueOf(id)));
personList.add(personMapper.selectSysUserByUserId(id));
}
// 将人员信息置入工单
order.setPersonList(personList);
@ -104,7 +104,7 @@ public class EquOrderServiceImpl implements IEquOrderService {
@ -47,9 +47,9 @@
</where>
</select>
<select id="selectSysUserByUserId" parameterType="Long" resultMap="SysUserResult">
<select id="selectSysUserByUserId" parameterType="String" resultMap="SysUserResult">
<include refid="selectSysUserVo"/>
where user_id = #{userId}
where user_name = #{userId}
<insert id="insertSysUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">