Browse Source

增强程序健壮性

dev_shibei_match
jianjun 4 years ago
parent
commit
3d46bba9a0
  1. 2
      epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/group/dao/ResiGroupAchievementStatsDao.java
  2. 2
      epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupAchievementStatsDao.xml

2
epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/group/dao/ResiGroupAchievementStatsDao.java

@ -44,7 +44,7 @@ public interface ResiGroupAchievementStatsDao extends BaseDao<ResiGroupAchieveme
List<ResiGroupAchievementStatsDTO> selectUnAchieved(@Param("groupId") String groupId);
/**
* desc: 获取最后一个为实现的成就
* desc: 获取级别最低的最后一个未实现的成就
*
* @param customerId
* @param groupId

2
epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupAchievementStatsDao.xml

@ -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

Loading…
Cancel
Save