Browse Source

bug修改

feature/teamB_zz_wgh
zhaoqifeng 3 years ago
parent
commit
7e89ab9602
  1. 2
      epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/VolunteerInfoServiceImpl.java
  2. 2
      epmet-user/epmet-user-server/src/main/resources/mapper/IcVolunteerPolyDao.xml

2
epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/VolunteerInfoServiceImpl.java

@ -343,7 +343,7 @@ public class VolunteerInfoServiceImpl extends BaseServiceImpl<VolunteerInfoDao,
if (volunteerRes.success() && CollectionUtils.isNotEmpty(volunteerRes.getData())) {
resultList = ConvertUtils.sourceToTarget(volunteerRes.getData(), OptionDTO.class);
resultList = resultList.stream().sorted((o1, o2) ->
Collator.getInstance(Locale.TRADITIONAL_CHINESE).compare(o1.getLabel(),o2.getLabel()))
Collator.getInstance(Locale.SIMPLIFIED_CHINESE).compare(o1.getLabel(),o2.getLabel()))
.collect(Collectors.toList());
}
return resultList;

2
epmet-user/epmet-user-server/src/main/resources/mapper/IcVolunteerPolyDao.xml

@ -81,7 +81,7 @@
AND c.CUSTOMER_ID = #{customerId}
</if>
<if test="agencyId != null and agencyId != ''">
AND p.AGENCY_ID = #{agencyId} OR p.AGENCY_PIDS LIKE concat('%',#{agencyId}, '%' )
AND (p.AGENCY_ID = #{agencyId} OR p.AGENCY_PIDS LIKE concat('%',#{agencyId}, '%' ))
</if>
group by p.id
</where>

Loading…
Cancel
Save