@ -90,6 +90,6 @@ public class PushChatMessage extends CommonEntity {
@ApiModelProperty("用户手机号")
@TableField(exist = false)
private String phone;
private String[] phone;
}
@ -88,7 +88,7 @@ public class PushApplicationServiceImpl extends ServiceImpl<PushApplicationMappe
// 根据手机号筛选关联用户
if (StrUtil.isNotBlank(pushChatMessage.getPhone())) {
if (ArrayUtil.isNotEmpty(pushChatMessage.getPhone())) {
List<ConcernFanEnhancedVO> pushConcernFanList = pushConcernFanMapper.selectConcernFanEnhancedList(MapUtil.<String, Object>builder()
.put("status",PushAuditStatusEnum.APPROVED.getValue())
.put("dynamicJoinType", "1")
@ -220,7 +220,10 @@
and cf.status = #{map.status}
</if>
<if test="map.phone != null and map.phone != ''">
and phone = #{map.phone}
and phone in
<foreach collection="map.phone" item="item" open="(" close=")"
index="index" separator="," >#{item}
</foreach>
</where>
</select>