This commit is contained in:
hzj
2024-12-10 13:41:02 +08:00
parent 840c48e136
commit 55f04541bd

View File

@@ -82,7 +82,7 @@ public class CarryCapacityUserPOServiceImpl extends ServiceImpl<CarryCapacityUse
if(StringUtils.isBlank(userUpdateParam.getUserName())){ if(StringUtils.isBlank(userUpdateParam.getUserName())){
throw new BusinessException("用户称不能为空"); throw new BusinessException("用户称不能为空");
} }
checkName(userUpdateParam,false); checkName(userUpdateParam,true);
CarryCapacityUserPO carryCapacityUser = new CarryCapacityUserPO(); CarryCapacityUserPO carryCapacityUser = new CarryCapacityUserPO();
BeanUtils.copyProperties(userUpdateParam, carryCapacityUser); BeanUtils.copyProperties(userUpdateParam, carryCapacityUser);