| | |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonInclude; |
| | | import com.moral.api.entity.ManageRole; |
| | | import com.moral.api.pojo.dto.account.AccountDTO; |
| | | import com.moral.api.pojo.dto.account.AccountInsertDTO; |
| | | import com.moral.api.pojo.dto.account.AccountUpdateDTO; |
| | | import com.moral.constant.ResponseCodeEnum; |
| | |
| | | |
| | | public class AccountUpdateVO extends AccountVO { |
| | | |
| | | public static AccountUpdateVO convert(AccountUpdateDTO dto) { |
| | | public static AccountUpdateVO convert(AccountDTO dto) { |
| | | if (dto.getCode() != ResponseCodeEnum.SUCCESS.getCode()) |
| | | return null; |
| | | |