Commit 6ecb1cdd by 徐高华

非空判断

parent 434b4c56
......@@ -104,6 +104,9 @@ public class GroupChatPlanApiServiceImpl implements GroupChatPlanApiService {
@Override
public ServiceResponse<GroupChatPlanOwnerLogDTO> getOwnerSendInfo(Long ownerLogId) {
TabGroupChatPlanOwnerLog log = this.groupChatPlanOwnerLogService.getById(ownerLogId);
if(null == log) {
return ServiceResponse.failure("9999","记录不存在") ;
}
GroupChatPlanOwnerLogDTO dto = EntityUtil.changeEntityByJSON(GroupChatPlanOwnerLogDTO.class, log);
if(null != dto && StringUtils.isNotBlank(dto.getClerkId())) {
ClerkDTO clerk = this.clerkService.getclerkById(dto.getClerkId());
......
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