md
This commit is contained in:
parent
68afbf2f92
commit
07ba0e3679
@ -64,7 +64,7 @@ public class EmisStaffController extends BaseController
|
|||||||
SysPost sysPost = new SysPost();
|
SysPost sysPost = new SysPost();
|
||||||
sysPost.setPostCode(postCode);
|
sysPost.setPostCode(postCode);
|
||||||
List<SysPost> listPost = postService.selectPostList(sysPost);
|
List<SysPost> listPost = postService.selectPostList(sysPost);
|
||||||
if(!CollectionUtil.isNotEmpty(listPost)) {
|
if(!CollectionUtil.isNotEmpty(listPost) && listPost.size() >0) {
|
||||||
postIds = new Long[]{listPost.get(0).getPostId()};
|
postIds = new Long[]{listPost.get(0).getPostId()};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user