| | |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.stylefeng.guns.core.base.controller.BaseController; |
| | | import com.stylefeng.guns.core.base.tips.ErrorTip; |
| | | import com.stylefeng.guns.core.beetl.ShiroExtUtil; |
| | | import com.stylefeng.guns.core.log.LogObjectHolder; |
| | | import com.stylefeng.guns.core.shiro.ShiroKit; |
| | | import org.springframework.data.redis.core.RedisTemplate; |
| | |
| | | |
| | | @Autowired |
| | | private RedisTemplate<String, String> redisTemplate; |
| | | |
| | | @Autowired |
| | | private ShiroExtUtil shiroExtUtil; |
| | | |
| | | /** |
| | | * 跳转到代检车订单管理首页 |
| | |
| | | public Object checkNewOrderNotification() { |
| | | try { |
| | | // 获取当前用户信息 |
| | | Integer roleType = ShiroKit.getUser().getRoleType(); |
| | | Integer objectId = ShiroKit.getUser().getObjectId(); |
| | | Integer roleType = shiroExtUtil.getUser().getRoleType(); |
| | | Integer objectId = shiroExtUtil.getUser().getObjectId(); |
| | | |
| | | Map<String, Object> result = new HashMap<>(); |
| | | List<String> orderIds = new ArrayList<>(); |