src/main/java/com/zy/asrs/controller/WrkDetlController.java
@@ -12,6 +12,7 @@ import com.core.common.R; import com.zy.asrs.entity.WrkDetl; import com.zy.asrs.service.WrkDetlService; import com.zy.common.utils.RoleUtils; import com.zy.common.web.BaseController; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @@ -50,6 +51,8 @@ } else { wrapper.orderBy("appe_time", false); } // 不同继承角色显示不同库信息 RoleUtils.addRoleWrapperByBarcode(getUserId(),wrapper); return R.ok(wrkDetlService.selectPage(new Page<>(curr, limit), wrapper)); }