diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessUserController.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessUserController.java index 5e69fc06..5e292c4c 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessUserController.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessUserController.java @@ -50,7 +50,7 @@ public class DgProcessUserController { @ApiParam(name = "processId", value = "进程id") @RequestParam Integer processId){ QueryWrapper wrapper = new QueryWrapper<>(); - wrapper.eq("process_id",processId).select("user_id"); + wrapper.eq("process_id",processId); List list = processUserService.list(wrapper); List arr = new ArrayList<>(); for (DgProcessUser res : list) { diff --git a/dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgProcessUser.java b/dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgProcessUser.java index acfd1fb1..84013d02 100644 --- a/dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgProcessUser.java +++ b/dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgProcessUser.java @@ -1,6 +1,7 @@ package com.daqing.framework.domain.guarantee; import com.baomidou.mybatisplus.annotation.*; +import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -39,6 +40,7 @@ public class DgProcessUser implements Serializable { @ApiModelProperty(value = "创建时间") @TableField(fill = FieldFill.INSERT) + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date createTime; @TableField(exist = false)