Merge branch 'feature/REQ-2046' into pre

This commit is contained in:
yanglin 2024-01-27 10:35:10 +08:00
commit a7049a940e

View File

@ -440,7 +440,7 @@ public class MessageRecordServiceImpl implements MessageRecordService {
@Override
public PageResult<MessageNewRes> pageMsgInfo(CmsMsgQueryReq req, Long personId, List<IdentityDTO> identities) {
IPage page = req.toPage();
List<Integer> states = CollectionUtils.isEmpty(req.getStates()) ? buildStates(req) : req.knownStateCodes();
List<Integer> states = buildStates(req);
CmsMsgQueryReqDTO param=BeanConvertUtils.copyBean(req, CmsMsgQueryReqDTO.class);
List<IdentifyAndReceiveType> convertedIdentifies = identities.stream()
.map(i -> new IdentifyAndReceiveType(i, PersonIdentityUtil.toReceiveType(i.getType())))