员工账号查询修改

This commit is contained in:
张松
2025-02-25 15:24:30 +08:00
parent 064af338d5
commit f262aafb28

View File

@@ -104,7 +104,7 @@ public class ShopStaffServiceImpl extends ServiceImpl<ShopStaffMapper, ShopStaff
} }
if (StrUtil.isNotBlank(code)) { if (StrUtil.isNotBlank(code)) {
queryWrapper.like(ShopStaff::getCode, name); queryWrapper.like(ShopStaff::getCode, code);
} }
queryWrapper.eq(ShopStaff::getShopId, StpKit.USER.getLoginIdAsLong()); queryWrapper.eq(ShopStaff::getShopId, StpKit.USER.getLoginIdAsLong());