修改作者信息
This commit is contained in:
@ -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
|
||||
|
@ -13,7 +13,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
/**
|
||||
* WebMvcConfigurer
|
||||
*
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-30
|
||||
*/
|
||||
@Configuration
|
||||
|
@ -15,7 +15,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* 数据权限配置
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019-4-1
|
||||
*/
|
||||
@Component
|
||||
|
@ -7,7 +7,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
/**
|
||||
* 自定义线程名称
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019年10月31日17:49:55
|
||||
*/
|
||||
@Component
|
||||
|
@ -8,7 +8,7 @@ import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* 用于获取自定义线程池
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019年10月31日18:16:47
|
||||
*/
|
||||
public class ThreadPoolExecutorUtil {
|
||||
|
@ -10,7 +10,7 @@ import org.springframework.stereotype.Component;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019-01-07
|
||||
*/
|
||||
@Component
|
||||
|
@ -29,7 +29,7 @@ import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019-01-07
|
||||
*/
|
||||
@Slf4j
|
||||
|
@ -5,7 +5,7 @@ import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 测试用
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019-01-08
|
||||
*/
|
||||
@Slf4j
|
||||
|
@ -11,7 +11,7 @@ import java.util.Date;
|
||||
import static org.quartz.TriggerBuilder.newTrigger;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019-01-07
|
||||
*/
|
||||
@Slf4j
|
||||
|
@ -28,7 +28,7 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
*/
|
||||
@Configuration
|
||||
@EnableWebSecurity
|
||||
|
@ -7,7 +7,7 @@ import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* Jwt参数配置
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019年11月28日
|
||||
*/
|
||||
@Data
|
||||
|
@ -34,7 +34,7 @@ import java.util.Map;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-23
|
||||
* 授权、根据token获取用户详细信息
|
||||
*/
|
||||
|
@ -17,7 +17,7 @@ import java.io.IOException;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/auth/online")
|
||||
|
@ -9,7 +9,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
*/
|
||||
@Component
|
||||
public class JwtAccessDeniedHandler implements AccessDeniedHandler {
|
||||
|
@ -9,7 +9,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
*/
|
||||
@Component
|
||||
public class JwtAuthenticationEntryPoint implements AuthenticationEntryPoint {
|
||||
|
@ -6,7 +6,7 @@ import lombok.Setter;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-30
|
||||
*/
|
||||
@Getter
|
||||
|
@ -11,7 +11,7 @@ import java.util.Date;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-23
|
||||
*/
|
||||
@Getter
|
||||
|
@ -7,7 +7,7 @@ import lombok.NoArgsConstructor;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
|
@ -14,7 +14,7 @@ import java.io.IOException;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @Date 2019年10月26日21:56:27
|
||||
*/
|
||||
@Service
|
||||
|
@ -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")
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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 {}
|
||||
}
|
||||
}
|
||||
|
@ -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 {}
|
||||
}
|
||||
}
|
||||
|
@ -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 {}
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-17
|
||||
*/
|
||||
@Entity
|
||||
|
@ -14,7 +14,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* 角色
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-22
|
||||
*/
|
||||
@Entity
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -5,7 +5,7 @@ import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-20
|
||||
*/
|
||||
@Data
|
||||
|
@ -8,7 +8,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* 构建前端路由时用到
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-20
|
||||
*/
|
||||
@Data
|
||||
|
@ -4,7 +4,7 @@ import lombok.Data;
|
||||
|
||||
/**
|
||||
* 修改密码的 Vo 类
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019年7月11日13:59:49
|
||||
*/
|
||||
@Data
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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> {
|
||||
}
|
||||
}
|
||||
|
@ -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> {
|
||||
}
|
||||
}
|
||||
|
@ -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> {
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-17
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
|
@ -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")
|
||||
|
@ -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> {
|
||||
|
@ -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> {
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-03
|
||||
*/
|
||||
@Api(tags = "系统:菜单管理")
|
||||
|
@ -32,7 +32,7 @@ import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-03
|
||||
*/
|
||||
@Api(tags = "系统:角色管理")
|
||||
|
@ -40,7 +40,7 @@ import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-23
|
||||
*/
|
||||
@Api(tags = "系统:用户管理")
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-17
|
||||
*/
|
||||
public interface MenuService {
|
||||
|
@ -15,7 +15,7 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-03
|
||||
*/
|
||||
public interface RoleService {
|
||||
|
@ -11,7 +11,7 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-23
|
||||
*/
|
||||
public interface UserService {
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019-04-10
|
||||
*/
|
||||
@Getter
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ import lombok.Data;
|
||||
import co.yixiang.annotation.Query;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* 公共查询类
|
||||
*/
|
||||
@Data
|
||||
|
@ -5,7 +5,7 @@ import lombok.Setter;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019-04-10
|
||||
*/
|
||||
@Getter
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-17
|
||||
*/
|
||||
@Data
|
||||
|
@ -7,7 +7,7 @@ import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* 公共查询类
|
||||
*/
|
||||
@Data
|
||||
|
@ -7,7 +7,7 @@ import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-03
|
||||
*/
|
||||
@Data
|
||||
|
@ -6,7 +6,7 @@ import java.sql.Timestamp;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-23
|
||||
*/
|
||||
@Data
|
||||
|
@ -7,7 +7,7 @@ import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* 公共查询类
|
||||
*/
|
||||
@Data
|
||||
|
@ -4,7 +4,7 @@ import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-23
|
||||
*/
|
||||
@Data
|
||||
|
@ -9,7 +9,7 @@ import java.util.Date;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-23
|
||||
*/
|
||||
@Data
|
||||
|
@ -8,7 +8,7 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-23
|
||||
*/
|
||||
@Data
|
||||
|
@ -23,7 +23,7 @@ import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2019-03-25
|
||||
*/
|
||||
@Service
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
*/
|
||||
@Service
|
||||
@CacheConfig(cacheNames = "menu")
|
||||
|
@ -30,7 +30,7 @@ import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-12-03
|
||||
*/
|
||||
@Service
|
||||
|
@ -30,7 +30,7 @@ import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author Zheng Jie
|
||||
* @author hupeng
|
||||
* @date 2018-11-23
|
||||
*/
|
||||
@Service
|
||||
|
@ -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> {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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> {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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> {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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> {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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> {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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> {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user