Просмотр исходного кода

Merge remote-tracking branch 'origin/dev_jzg_lipf_v20260506' into dev_jzg_lipf_v20260506

lipf 4 месяцев назад
Родитель
Сommit
4125c4fded

+ 2 - 0
tenant/organization/src/main/resources/mapper/SysUserJzgInfoMapper.xml

@@ -351,6 +351,8 @@
                 left join sys_system ss on ss.sys_code = suji.system_code
         WHERE
             suji.user_id = #{userId}
+        ORDER BY suji.create_time DESC, so.name desc
+        LIMIT 1
     </select>
 
     <select id="selectByUserNameAndMobile" resultType="com.jzg.commons.entity.vo.PartnerRecommenderVo">