任务管理
parent
bf60933eac
commit
76761de5e8
|
@ -0,0 +1,54 @@
|
|||
package com.muyu.domain.job;
|
||||
|
||||
import com.muyu.common.core.web.domain.BaseEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
/**
|
||||
* @PackageName:com.muyu.domain.job
|
||||
* @ClassName:SysJob
|
||||
* @Description:
|
||||
* @author: ¥陈思豪¥
|
||||
* @date: 2024/8/21 22:29
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@SuperBuilder
|
||||
public class SysJob extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 任务id
|
||||
*/
|
||||
private Long jobId;
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
private String jobName;
|
||||
|
||||
/**
|
||||
* 任务分组
|
||||
*/
|
||||
private String jobGroup;
|
||||
|
||||
/**
|
||||
* 目标字符串
|
||||
*/
|
||||
private String characterString;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* 状态(0正常 1暂停)
|
||||
*/
|
||||
private String status;
|
||||
|
||||
}
|
|
@ -15,9 +15,7 @@ public class DesensitizationUtil {
|
|||
return StringUtils.rightPad(name, StringUtils.length(fullName), "*");
|
||||
}
|
||||
|
||||
/**
|
||||
* [中文姓名] 只显示第一个汉字,其他隐藏为2个星号<例子:李**>
|
||||
*/
|
||||
|
||||
public static String chineseName(final String familyName, final String givenName) {
|
||||
if (StringUtils.isBlank(familyName) || StringUtils.isBlank(givenName)) {
|
||||
return "";
|
||||
|
@ -28,7 +26,7 @@ public class DesensitizationUtil {
|
|||
/**
|
||||
* [身份证号] 显示最后四位,其他隐藏。共计18位或者15位。<例子:*************5762>
|
||||
*/
|
||||
public static String idCardNum(final String id) {
|
||||
public static String annotationDTO(final String id) {
|
||||
if (StringUtils.isBlank(id)) {
|
||||
return "";
|
||||
}
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
package com.muyu.cloud.etl.controller;
|
||||
|
||||
import com.muyu.cloud.etl.service.SysJobService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @PackageName:com.muyu.cloud.etl.controller
|
||||
* @ClassName:SysJobController
|
||||
* @Description:
|
||||
* @author: ¥陈思豪¥
|
||||
* @date: 2024/8/21 22:37
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/monitor/job")
|
||||
public class SysJobController {
|
||||
|
||||
@Autowired
|
||||
private SysJobService sysJobService;
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.muyu.cloud.etl.service;
|
||||
|
||||
/**
|
||||
* @PackageName:com.muyu.cloud.etl.service
|
||||
* @ClassName:SysJobService
|
||||
* @Description:
|
||||
* @author: ¥陈思豪¥
|
||||
* @date: 2024/8/21 22:42
|
||||
*/
|
||||
public class SysJobService {
|
||||
}
|
Loading…
Reference in New Issue