wuqiping
2021-06-09 f342a0d88b2a7168f794d0cf545d16a3138acb6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.moral.api.pojo.vo.user;
 
import com.moral.api.entity.Organization;
import com.moral.api.entity.User;
import com.moral.api.pojo.dto.user.UserDTO;
import com.moral.constant.ResponseCodeEnum;
 
/**
 * @ClassName UserUpdateVO
 * @Description TODO
 * @Author 陈凯裕
 * @Date 2021/4/29 17:15
 * @Version TODO
 **/
public class UserUpdateVO extends UserVO{
    public UserUpdateVO convert(UserDTO dto){
        if (dto.getCode() != ResponseCodeEnum.SUCCESS.getCode())
            return null;
        UserUpdateVO vo = new UserUpdateVO();
        User user = dto.getUser();
        return null;
 
    }
}