@ -44,7 +44,7 @@ public interface ResiGroupAchievementStatsDao extends BaseDao<ResiGroupAchieveme
List<ResiGroupAchievementStatsDTO> selectUnAchieved(@Param("groupId") String groupId);
/**
* desc: 获取最后一个为实现的成就
* desc: 获取级别最低的最后一个未实现的成就
*
* @param customerId
* @param groupId
@ -46,6 +46,8 @@
AND CUSTOMER_ID = #{customerId}
AND ACHIEVEMENT_TYPE = #{achievementType}
AND IS_ARRIVE = 0
ORDER BY TARGET_VALUE
LIMIT 1
</select>
<insert id="saveOrUpdate">
INSERT INTO resi_group_achievement_stats