Commit 2f0827d9 by 徐高华

Merge branch 'feature-canvas' into 'master'

非空判断

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