Commit d2b571ec authored by huyuchen's avatar huyuchen

huych-商险完整度监控角色添加

parent da51ae85
......@@ -7936,7 +7936,9 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
searchVo.setIdList(Common.getList(idstr));
}
YifuUser user = SecurityUtils.getUser();
if ("许瑞玲".equals(user.getNickname()) || "1".equals(user.getId())) {
long roleId = 1851541100126863362L;
boolean isSsc = this.haveRole(user, roleId);
if ("许瑞玲".equals(user.getNickname()) || "1".equals(user.getId()) || isSsc) {
searchVo.setCreateBy(null);
} else {
searchVo.setCreateBy(user.getId());
......
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