glj-代码提交
This commit is contained in:
parent
9c12722c82
commit
7d24e80fa1
|
@ -80,7 +80,7 @@ public class DisasterInfoController {
|
|||
public R<IPage<CallForHelpVo>> list(CallForHelpVo CallForHelpVo, Query query) {
|
||||
CallForHelpVo userRole = disasterInfoService.getByNameRole("admin");
|
||||
Long chiefIdEquals = CallForHelpVo.getChiefIdEquals();
|
||||
if (chiefIdEquals.equals(userRole.getRoleId())){
|
||||
if (chiefIdEquals == null || chiefIdEquals.equals(userRole.getRoleId())){
|
||||
CallForHelpVo.setChiefIdEquals(null);
|
||||
}
|
||||
IPage<CallForHelpVo> pages = disasterInfoService.page(Condition.getPage(query), CallForHelpVo);
|
||||
|
|
Loading…
Reference in New Issue