|
|
@@ -93,8 +93,7 @@ public class StaffService extends BaseService<Staff> {
|
|
|
public ResponseResultVO<Boolean> update(StaffVO staffVO) {
|
|
|
// 转化实体
|
|
|
Staff staff = staffConvert.convertToPo(staffVO);
|
|
|
- return ResponseResultUtil.success(super.update(staff, new UpdateWrapper<Staff>().lambda().eq(Staff::getStaffId,
|
|
|
- UUID.fromString(staff.getStaffId()))));
|
|
|
+ return super.updateByUuid(staff);
|
|
|
}
|
|
|
|
|
|
/**
|