Parcourir la source

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

lipf il y a 4 mois
Parent
commit
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
                 left join sys_system ss on ss.sys_code = suji.system_code
         WHERE
         WHERE
             suji.user_id = #{userId}
             suji.user_id = #{userId}
+        ORDER BY suji.create_time DESC, so.name desc
+        LIMIT 1
     </select>
     </select>
 
 
     <select id="selectByUserNameAndMobile" resultType="com.jzg.commons.entity.vo.PartnerRecommenderVo">
     <select id="selectByUserNameAndMobile" resultType="com.jzg.commons.entity.vo.PartnerRecommenderVo">