Browse Source

fix: 解决风险排查查询报错问题

zhongwei
haungxing 4 months ago
parent
commit
2a0bd04bf5
  1. 4
      hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/risk/vo/HazardTaskVo.java

4
hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/risk/vo/HazardTaskVo.java

@ -5,6 +5,8 @@ import com.hnac.hzims.safeproduct.risk.entity.HazardTask;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tool.utils.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.List;
@ -17,9 +19,11 @@ import java.util.List;
public class HazardTaskVo extends HazardTask {
@ApiModelProperty("开始时间")
@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
private Date startTime;
@ApiModelProperty("结束时间")
@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
private Date endTime;
@ApiModelProperty("风险评估对象")

Loading…
Cancel
Save