|
|
@@ -150,7 +150,10 @@ public class PosFoodController extends BaseController {
|
|
|
InfoUser user = infoUserService.getById(ids);
|
|
|
QueryWrapper<PosFood> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.eq("fl_id", id);
|
|
|
- queryWrapper.eq("to_examine", "1");
|
|
|
+ //普通用户显示审核通过的
|
|
|
+ if("1".equals(user.getUserType())){
|
|
|
+ queryWrapper.eq("to_examine", "1");
|
|
|
+ }
|
|
|
if (stackingUp != null && !"".equals(stackingUp)) {
|
|
|
queryWrapper.eq("stacking_up", stackingUp);
|
|
|
}
|