Compare commits
	
		
			2 Commits
		
	
	
		
			9bd687944c
			...
			a69c4e70c1
		
	
	| Author | SHA1 | Date | 
|---|---|---|
|  | a69c4e70c1 | |
|  | dfb32bc389 | 
|  | @ -2468,6 +2468,12 @@ public class CuMemberServiceImpl extends ServiceImpl<CuMemberMapper, CuMember> i | ||||||
|         for (String day : days) { |         for (String day : days) { | ||||||
|             censusSummaryParam.setTime(day); |             censusSummaryParam.setTime(day); | ||||||
|             censusSummaryParam.setPkCountry(SecurityUtils.getPkCountry()); |             censusSummaryParam.setPkCountry(SecurityUtils.getPkCountry()); | ||||||
|  |             // 将体系转换成集合类型 | ||||||
|  |             if (censusSummaryParam.getPkBdVertexStr() != null) { | ||||||
|  |                 censusSummaryParam.setPkBdVertexStrList(Arrays.stream(censusSummaryParam.getPkBdVertexStr().split(",")) | ||||||
|  |                         .map(Integer::valueOf) | ||||||
|  |                         .collect(Collectors.toList())); | ||||||
|  |             } | ||||||
|             List<MemberMeritsSummaryVo> memberMeritsSummaryVoList = baseMapper.queryDateBySummary(censusSummaryParam); |             List<MemberMeritsSummaryVo> memberMeritsSummaryVoList = baseMapper.queryDateBySummary(censusSummaryParam); | ||||||
|             Map<Integer, MemberMeritsSummaryVo> memberMeritsSummaryMap = memberMeritsSummaryVoList.stream().collect(Collectors.toMap(MemberMeritsSummaryVo::getOrderType, Function.identity())); |             Map<Integer, MemberMeritsSummaryVo> memberMeritsSummaryMap = memberMeritsSummaryVoList.stream().collect(Collectors.toMap(MemberMeritsSummaryVo::getOrderType, Function.identity())); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -58,4 +58,8 @@ public class CensusSummaryParam { | ||||||
|      * 体系 |      * 体系 | ||||||
|      */ |      */ | ||||||
|     private String pkBdVertexStr; |     private String pkBdVertexStr; | ||||||
|  |     /** | ||||||
|  |      * 体系集合 | ||||||
|  |      */ | ||||||
|  |     private List<Integer> pkBdVertexStrList; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -2567,9 +2567,9 @@ | ||||||
|         and sa.DEL_FLAG = 0 |         and sa.DEL_FLAG = 0 | ||||||
|         and to_char(sa.pay_time, 'yyyy-mm-dd') = #{time} |         and to_char(sa.pay_time, 'yyyy-mm-dd') = #{time} | ||||||
|         and sa.PK_COUNTRY = #{pkCountry} |         and sa.PK_COUNTRY = #{pkCountry} | ||||||
|         <if test="pkVertex!=null and pkVertex.size> 0 "> |         <if test="pkBdVertexStrList!=null and pkBdVertexStrList.size> 0 "> | ||||||
|             and cm.PK_VERTEX in |             and cm.PK_VERTEX in | ||||||
|             <foreach collection="pkVertex" item="item" open="(" close=")" separator=","> |             <foreach collection="pkBdVertexStrList" item="item" open="(" close=")" separator=","> | ||||||
|                 #{item} |                 #{item} | ||||||
|             </foreach> |             </foreach> | ||||||
|         </if> |         </if> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue