bug6724-留样仪登录

This commit is contained in:
sxu 2025-07-09 09:34:47 +08:00
parent c7176a1782
commit 7222dc3e5c
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ public class SysUserServiceImpl implements ISysUserService {
@Override @Override
public SysUser selectKitchenStaffByPhotoNumber(String photoNumber) { public SysUser selectKitchenStaffByPhotoNumber(String photoNumber) {
return userMapper.selectKitchenStaffByPhoneNumber(photoNumber); return userMapper.selectKitchenStaffByPhoneNumber(Sm4Utils.encrypt(photoNumber));
} }
/** /**

View File

@ -256,7 +256,7 @@
mobile as phonenumber, mobile as phonenumber,
mobile as user_name, mobile as user_name,
staff_name as nick_name, staff_name as nick_name,
sex, password sex, `password`
from kitchen_staff_info from kitchen_staff_info
where mobile = #{phoneNumber} where mobile = #{phoneNumber}
</select> </select>