Commit 5064ee40 authored by wujipeng's avatar wujipeng
Browse files

updateMerchantToPerson优化

parent dfb83adc
...@@ -449,6 +449,11 @@ public class CaseServiceImpl extends ServiceImpl<CaseMapper, CasesEntity> implem ...@@ -449,6 +449,11 @@ public class CaseServiceImpl extends ServiceImpl<CaseMapper, CasesEntity> implem
userService.save(userEntity); userService.save(userEntity);
}else { }else {
userEntity.setType("1"); userEntity.setType("1");
userEntity.setUserName(userDTO.getNewName());
userEntity.setSex(userDTO.getSex());
userEntity.setIdCard(userDTO.getIdCard());
userEntity.setBasicInfo(userDTO.getBasicInfo());
userEntity.setAge(userDTO.getAge());
userService.updateById(userEntity); userService.updateById(userEntity);
} }
return false; return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment