修改作者信息

This commit is contained in:
xuwenbo
2020-05-14 12:36:32 +08:00
parent 7511efbf82
commit ebcd99cf28
149 changed files with 196 additions and 196 deletions

View File

@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018/11/15 9:20:19
*/
@EnableAsync

View File

@ -13,7 +13,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
/**
* WebMvcConfigurer
*
* @author Zheng Jie
* @author hupeng
* @date 2018-11-30
*/
@Configuration

View File

@ -15,7 +15,7 @@ import java.util.Set;
/**
* 数据权限配置
* @author Zheng Jie
* @author hupeng
* @date 2019-4-1
*/
@Component

View File

@ -7,7 +7,7 @@ import java.util.concurrent.atomic.AtomicInteger;
/**
* 自定义线程名称
* @author Zheng Jie
* @author hupeng
* @date 2019年10月31日17:49:55
*/
@Component

View File

@ -8,7 +8,7 @@ import java.util.concurrent.TimeUnit;
/**
* 用于获取自定义线程池
* @author Zheng Jie
* @author hupeng
* @date 2019年10月31日18:16:47
*/
public class ThreadPoolExecutorUtil {

View File

@ -10,7 +10,7 @@ import org.springframework.stereotype.Component;
import java.util.List;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-01-07
*/
@Component

View File

@ -29,7 +29,7 @@ import java.util.ArrayList;
import java.util.Arrays;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-01-07
*/
@Slf4j

View File

@ -5,7 +5,7 @@ import org.springframework.stereotype.Component;
/**
* 测试用
* @author Zheng Jie
* @author hupeng
* @date 2019-01-08
*/
@Slf4j

View File

@ -11,7 +11,7 @@ import java.util.Date;
import static org.quartz.TriggerBuilder.newTrigger;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-01-07
*/
@Slf4j

View File

@ -28,7 +28,7 @@ import java.util.Map;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
*/
@Configuration
@EnableWebSecurity

View File

@ -7,7 +7,7 @@ import org.springframework.stereotype.Component;
/**
* Jwt参数配置
* @author Zheng Jie
* @author hupeng
* @date 2019年11月28日
*/
@Data

View File

@ -34,7 +34,7 @@ import java.util.Map;
import java.util.concurrent.TimeUnit;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
* 授权、根据token获取用户详细信息
*/

View File

@ -17,7 +17,7 @@ import java.io.IOException;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
*/
@RestController
@RequestMapping("/auth/online")

View File

@ -9,7 +9,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* @author Zheng Jie
* @author hupeng
*/
@Component
public class JwtAccessDeniedHandler implements AccessDeniedHandler {

View File

@ -9,7 +9,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* @author Zheng Jie
* @author hupeng
*/
@Component
public class JwtAuthenticationEntryPoint implements AuthenticationEntryPoint {

View File

@ -6,7 +6,7 @@ import lombok.Setter;
import javax.validation.constraints.NotBlank;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-30
*/
@Getter

View File

@ -11,7 +11,7 @@ import java.util.Date;
import java.util.stream.Collectors;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
@Getter

View File

@ -7,7 +7,7 @@ import lombok.NoArgsConstructor;
import java.util.Date;
/**
* @author Zheng Jie
* @author hupeng
*/
@Data
@AllArgsConstructor

View File

@ -14,7 +14,7 @@ import java.io.IOException;
import java.util.*;
/**
* @author Zheng Jie
* @author hupeng
* @Date 2019年10月26日21:56:27
*/
@Service

View File

@ -15,7 +15,7 @@ import org.springframework.transaction.annotation.Transactional;
import java.util.Optional;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-22
*/
@Service("userDetailsService")

View File

@ -13,7 +13,7 @@ import java.util.Objects;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-25
*/
@Entity
@ -66,4 +66,4 @@ public class Dept implements Serializable {
public int hashCode() {
return Objects.hash(id, name);
}
}
}

View File

@ -11,7 +11,7 @@ import java.sql.Timestamp;
import java.util.List;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Entity
@ -41,4 +41,4 @@ public class Dict implements Serializable {
private List<DictDetail> dictDetails;
public @interface Update {}
}
}

View File

@ -9,7 +9,7 @@ import java.io.Serializable;
import java.sql.Timestamp;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Entity
@ -45,4 +45,4 @@ public class DictDetail implements Serializable {
private Timestamp createTime;
public @interface Update {}
}
}

View File

@ -12,7 +12,7 @@ import java.io.Serializable;
import java.sql.Timestamp;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-29
*/
@Entity
@ -48,4 +48,4 @@ public class Job implements Serializable {
private Timestamp createTime;
public @interface Update {}
}
}

View File

@ -13,7 +13,7 @@ import java.util.Objects;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-17
*/
@Entity

View File

@ -14,7 +14,7 @@ import java.util.Set;
/**
* 角色
* @author Zheng Jie
* @author hupeng
* @date 2018-11-22
*/
@Entity

View File

@ -14,7 +14,7 @@ import java.util.Objects;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-22
*/
@Entity
@ -93,4 +93,4 @@ public class User implements Serializable {
public int hashCode() {
return Objects.hash(id, username);
}
}
}

View File

@ -11,7 +11,7 @@ import java.io.Serializable;
import java.sql.Timestamp;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019年9月7日 16:16:59
*/
@Entity

View File

@ -5,7 +5,7 @@ import lombok.Data;
import java.io.Serializable;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-20
*/
@Data

View File

@ -8,7 +8,7 @@ import java.util.List;
/**
* 构建前端路由时用到
* @author Zheng Jie
* @author hupeng
* @date 2018-12-20
*/
@Data

View File

@ -4,7 +4,7 @@ import lombok.Data;
/**
* 修改密码的 Vo 类
* @author Zheng Jie
* @author hupeng
* @date 2019年7月11日13:59:49
*/
@Data

View File

@ -8,7 +8,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-25
*/
@SuppressWarnings("all")
@ -35,4 +35,4 @@ public interface DeptRepository extends JpaRepository<Dept, Long>, JpaSpecificat
* @return /
*/
Set<Dept> findByRoles_Id(Long id);
}
}

View File

@ -5,8 +5,8 @@ import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
public interface DictDetailRepository extends JpaRepository<DictDetail, Long>, JpaSpecificationExecutor<DictDetail> {
}
}

View File

@ -5,8 +5,8 @@ import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
public interface DictRepository extends JpaRepository<Dict, Long>, JpaSpecificationExecutor<Dict> {
}
}

View File

@ -5,8 +5,8 @@ import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-29
*/
public interface JobRepository extends JpaRepository<Job, Long>, JpaSpecificationExecutor<Job> {
}
}

View File

@ -8,7 +8,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-17
*/
@SuppressWarnings("all")

View File

@ -8,7 +8,7 @@ import org.springframework.data.jpa.repository.Query;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-03
*/
@SuppressWarnings("all")

View File

@ -5,7 +5,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-22
*/
public interface UserAvatarRepository extends JpaRepository<UserAvatar, Long>, JpaSpecificationExecutor<UserAvatar> {

View File

@ -8,7 +8,7 @@ import org.springframework.data.jpa.repository.Query;
import java.util.Date;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-22
*/
public interface UserRepository extends JpaRepository<User, Long>, JpaSpecificationExecutor<User> {

View File

@ -25,7 +25,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-25
*/
@RestController
@ -104,4 +104,4 @@ public class DeptController {
}
return new ResponseEntity<>(HttpStatus.OK);
}
}
}

View File

@ -19,7 +19,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Api(tags = "系统:字典管理")
@ -89,4 +89,4 @@ public class DictController {
dictService.delete(id);
return new ResponseEntity<>(HttpStatus.OK);
}
}
}

View File

@ -21,7 +21,7 @@ import java.util.HashMap;
import java.util.Map;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@RestController
@ -89,4 +89,4 @@ public class DictDetailController {
dictDetailService.delete(id);
return new ResponseEntity<>(HttpStatus.OK);
}
}
}

View File

@ -22,7 +22,7 @@ import java.io.IOException;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-29
*/
@Api(tags = "系统:岗位管理")
@ -93,4 +93,4 @@ public class JobController {
}
return new ResponseEntity<>(HttpStatus.OK);
}
}
}

View File

@ -26,7 +26,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-03
*/
@Api(tags = "系统:菜单管理")

View File

@ -32,7 +32,7 @@ import java.util.Set;
import java.util.stream.Collectors;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-03
*/
@Api(tags = "系统:角色管理")

View File

@ -40,7 +40,7 @@ import java.util.Set;
import java.util.stream.Collectors;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
@Api(tags = "系统:用户管理")

View File

@ -10,7 +10,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-25
*/
public interface DeptService {
@ -85,4 +85,4 @@ public interface DeptService {
* @return /
*/
Set<DeptDTO> getDeleteDepts(List<Dept> deptList, Set<DeptDTO> deptDtos);
}
}

View File

@ -7,7 +7,7 @@ import org.springframework.data.domain.Pageable;
import java.util.Map;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
public interface DictDetailService {
@ -45,4 +45,4 @@ public interface DictDetailService {
* @return /
*/
Map<String,Object> queryAll(DictDetailQueryCriteria criteria, Pageable pageable);
}
}

View File

@ -11,7 +11,7 @@ import java.util.List;
import java.util.Map;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
public interface DictService {
@ -64,4 +64,4 @@ public interface DictService {
* @throws IOException /
*/
void download(List<DictDTO> queryAll, HttpServletResponse response) throws IOException;
}
}

View File

@ -12,7 +12,7 @@ import java.util.Map;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-29
*/
public interface JobService {
@ -65,4 +65,4 @@ public interface JobService {
* @throws IOException /
*/
void download(List<JobDTO> queryAll, HttpServletResponse response) throws IOException;
}
}

View File

@ -12,7 +12,7 @@ import java.util.Map;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-17
*/
public interface MenuService {

View File

@ -15,7 +15,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-03
*/
public interface RoleService {

View File

@ -11,7 +11,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
public interface UserService {

View File

@ -9,7 +9,7 @@ import java.sql.Timestamp;
import java.util.List;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-25
*/
@Data
@ -32,4 +32,4 @@ public class DeptDTO implements Serializable {
public String getLabel() {
return name;
}
}
}

View File

@ -8,7 +8,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-25
*/
@Data
@ -28,4 +28,4 @@ public class DeptQueryCriteria{
@Query(type = Query.Type.BETWEEN)
private List<Timestamp> createTime;
}
}

View File

@ -4,7 +4,7 @@ import lombok.Data;
import java.io.Serializable;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-6-10 16:32:18
*/
@Data
@ -13,4 +13,4 @@ public class DeptSmallDTO implements Serializable {
private Long id;
private String name;
}
}

View File

@ -8,7 +8,7 @@ import java.sql.Timestamp;
import java.util.List;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Getter

View File

@ -7,7 +7,7 @@ import java.io.Serializable;
import java.sql.Timestamp;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Getter
@ -25,4 +25,4 @@ public class DictDetailDTO implements Serializable {
private DictSmallDto dict;
private Timestamp createTime;
}
}

View File

@ -4,7 +4,7 @@ import lombok.Data;
import co.yixiang.annotation.Query;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Data
@ -15,4 +15,4 @@ public class DictDetailQueryCriteria {
@Query(propName = "name",joinName = "dict")
private String dictName;
}
}

View File

@ -4,7 +4,7 @@ import lombok.Data;
import co.yixiang.annotation.Query;
/**
* @author Zheng Jie
* @author hupeng
* 公共查询类
*/
@Data

View File

@ -5,7 +5,7 @@ import lombok.Setter;
import java.io.Serializable;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Getter

View File

@ -8,7 +8,7 @@ import java.io.Serializable;
import java.sql.Timestamp;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-29
*/
@Getter
@ -34,4 +34,4 @@ public class JobDTO implements Serializable {
this.name = name;
this.enabled = enabled;
}
}
}

View File

@ -8,7 +8,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-6-4 14:49:34
*/
@Data
@ -29,4 +29,4 @@ public class JobQueryCriteria {
@Query(type = Query.Type.BETWEEN)
private List<Timestamp> createTime;
}
}

View File

@ -5,7 +5,7 @@ import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-6-10 16:32:18
*/
@Data
@ -15,4 +15,4 @@ public class JobSmallDTO implements Serializable {
private Long id;
private String name;
}
}

View File

@ -6,7 +6,7 @@ import java.sql.Timestamp;
import java.util.List;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-17
*/
@Data

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
import java.util.List;
/**
* @author Zheng Jie
* @author hupeng
* 公共查询类
*/
@Data

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
import java.util.List;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-03
*/
@Data

View File

@ -6,7 +6,7 @@ import java.sql.Timestamp;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
@Data

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
import java.util.List;
/**
* @author Zheng Jie
* @author hupeng
* 公共查询类
*/
@Data

View File

@ -4,7 +4,7 @@ import lombok.Data;
import java.io.Serializable;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
@Data

View File

@ -9,7 +9,7 @@ import java.util.Date;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
@Data

View File

@ -8,7 +8,7 @@ import java.util.List;
import java.util.Set;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
@Data

View File

@ -23,7 +23,7 @@ import java.util.*;
import java.util.stream.Collectors;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-25
*/
@Service

View File

@ -21,7 +21,7 @@ import org.springframework.transaction.annotation.Transactional;
import java.util.Map;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Service
@ -76,4 +76,4 @@ public class DictDetailServiceImpl implements DictDetailService {
public void delete(Long id) {
dictDetailRepository.deleteById(id);
}
}
}

View File

@ -29,7 +29,7 @@ import java.util.List;
import java.util.Map;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Service
@ -117,4 +117,4 @@ public class DictServiceImpl implements DictService {
}
FileUtil.downloadExcel(list, response);
}
}
}

View File

@ -25,7 +25,7 @@ import java.io.IOException;
import java.util.*;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-29
*/
@Service
@ -110,4 +110,4 @@ public class JobServiceImpl implements JobService {
}
FileUtil.downloadExcel(list, response);
}
}
}

View File

@ -29,7 +29,7 @@ import java.util.*;
import java.util.stream.Collectors;
/**
* @author Zheng Jie
* @author hupeng
*/
@Service
@CacheConfig(cacheNames = "menu")

View File

@ -30,7 +30,7 @@ import java.util.*;
import java.util.stream.Collectors;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-03
*/
@Service

View File

@ -30,7 +30,7 @@ import java.util.*;
import java.util.stream.Collectors;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
@Service

View File

@ -7,10 +7,10 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-25
*/
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface DeptMapper extends BaseMapper<DeptDTO, Dept> {
}
}

View File

@ -7,10 +7,10 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-25
*/
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface DeptSmallMapper extends BaseMapper<DeptSmallDTO, Dept> {
}
}

View File

@ -7,10 +7,10 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Mapper(componentModel = "spring", uses = {DictSmallMapper.class}, unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface DictDetailMapper extends BaseMapper<DictDetailDTO, DictDetail> {
}
}

View File

@ -7,10 +7,10 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface DictMapper extends BaseMapper<DictDTO, Dict> {
}
}

View File

@ -7,10 +7,10 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-04-10
*/
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface DictSmallMapper extends BaseMapper<DictSmallDto, Dict> {
}
}

View File

@ -8,7 +8,7 @@ import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-29
*/
@Mapper(componentModel = "spring",uses = {DeptMapper.class},unmappedTargetPolicy = ReportingPolicy.IGNORE)
@ -22,4 +22,4 @@ public interface JobMapper extends BaseMapper<JobDTO, Job> {
*/
@Mapping(source = "deptSuperiorName", target = "deptSuperiorName")
JobDTO toDto(Job job, String deptSuperiorName);
}
}

View File

@ -7,10 +7,10 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-03-29
*/
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface JobSmallMapper extends BaseMapper<JobSmallDTO, Job> {
}
}

View File

@ -7,7 +7,7 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-12-17
*/
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)

View File

@ -7,7 +7,7 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
@Mapper(componentModel = "spring", uses = {MenuMapper.class, DeptMapper.class}, unmappedTargetPolicy = ReportingPolicy.IGNORE)

View File

@ -7,7 +7,7 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2019-5-23
*/
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)

View File

@ -8,7 +8,7 @@ import org.mapstruct.Mapping;
import org.mapstruct.ReportingPolicy;
/**
* @author Zheng Jie
* @author hupeng
* @date 2018-11-23
*/
@Mapper(componentModel = "spring",uses = {RoleMapper.class, DeptMapper.class, JobMapper.class},unmappedTargetPolicy = ReportingPolicy.IGNORE)