yang_shj
1 year ago
21 changed files with 188 additions and 48 deletions
@ -0,0 +1,35 @@
|
||||
package com.hnac.hzims.ticket.allTicket.dto; |
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import lombok.Builder; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.tool.utils.DateUtil; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.io.Serializable; |
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @ClassName TicketStatisticDTO |
||||
* @description: 两票统计请求 |
||||
* @author: hx |
||||
* @create: 2023-08-17 11:26 |
||||
* @Version 4.0 |
||||
**/ |
||||
@Data |
||||
@Builder |
||||
@EqualsAndHashCode |
||||
public class TicketStatisticDTO implements Serializable { |
||||
|
||||
private String deptIds; |
||||
|
||||
@JsonFormat(pattern = DateUtil.PATTERN_DATETIME) |
||||
@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME) |
||||
private LocalDateTime startTime; |
||||
|
||||
@JsonFormat(pattern = DateUtil.PATTERN_DATETIME) |
||||
@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME) |
||||
private LocalDateTime endTime; |
||||
|
||||
} |
@ -0,0 +1,71 @@
|
||||
package com.hnac.hzims.ticket.allTicket.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springblade.core.mp.support.QueryField; |
||||
import org.springblade.core.mp.support.SqlCondition; |
||||
import org.springblade.core.tenant.mp.TenantEntity; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @ClassName TicketInfoEntity |
||||
* @description: |
||||
* @author: hx |
||||
* @create: 2023-08-30 08:30 |
||||
* @Version 4.0 |
||||
**/ |
||||
@TableName("v_hzims_ticket_info") |
||||
@ApiModel("两票合计对象") |
||||
@Data |
||||
public class TicketInfoEntity extends TenantEntity { |
||||
@ApiModelProperty("审批流程ID") |
||||
@QueryField(condition = SqlCondition.EQUAL) |
||||
private String processInstanceId; |
||||
|
||||
@ApiModelProperty(value = "关联业务类型") |
||||
@QueryField(condition = SqlCondition.EQUAL) |
||||
private String type; |
||||
|
||||
@ApiModelProperty(value = "单位") |
||||
@QueryField(condition = SqlCondition.LIKE) |
||||
private String company; |
||||
|
||||
@ApiModelProperty(value = "编号") |
||||
@QueryField(condition = SqlCondition.LIKE) |
||||
private String code; |
||||
|
||||
@ApiModelProperty(value = "关联业务类型") |
||||
@QueryField(condition = SqlCondition.EQUAL) |
||||
private String taskType; |
||||
|
||||
@ApiModelProperty(value = "关联业务ID") |
||||
@QueryField(condition = SqlCondition.EQUAL) |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Long taskId; |
||||
|
||||
@ApiModelProperty("关联业务名称") |
||||
@QueryField(condition = SqlCondition.LIKE) |
||||
private String taskName; |
||||
|
||||
@ApiModelProperty(value = "计划开始时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private LocalDateTime planStartTime; |
||||
|
||||
@ApiModelProperty(value = "计划结束时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private LocalDateTime planEndTime; |
||||
|
||||
@ApiModelProperty("流程描述") |
||||
private String flowDescription; |
||||
|
||||
} |
@ -0,0 +1,4 @@
|
||||
package com.hnac.hzims.ticket.allTicket.service; |
||||
|
||||
public interface ITicketInfoAlService { |
||||
} |
Loading…
Reference in new issue