Commit a2404859 by guojuxing

会员ID查询关联小程序调整:异常和正常状态的查询

parent a1be6c7c
......@@ -7,6 +7,7 @@ import java.util.stream.Collectors;
import com.gic.enterprise.web.vo.GradeConfigListVO;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -131,6 +132,7 @@ public class LinkController {
if (CollectionUtils.isNotEmpty(dtoList)) {
return RestResponse.success(dtoList
.stream()
.filter(e -> e.getStatusFlag() != null && (e.getStatusFlag() == 3 || e.getStatusFlag() == 5))
.map(e -> new AppletsConfigSimpleOutputVO().setAppId(e.getAppId()).setName(e.getAppletConfigName()))
.collect(Collectors.toList()));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment