master
chen 4 years ago
parent 4c3dd6ab02
commit 02de2d7817
  1. 2
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessUserController.java
  2. 2
      dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgProcessUser.java

@ -50,7 +50,7 @@ public class DgProcessUserController {
@ApiParam(name = "processId", value = "进程id") @ApiParam(name = "processId", value = "进程id")
@RequestParam Integer processId){ @RequestParam Integer processId){
QueryWrapper<DgProcessUser> wrapper = new QueryWrapper<>(); QueryWrapper<DgProcessUser> wrapper = new QueryWrapper<>();
wrapper.eq("process_id",processId).select("user_id"); wrapper.eq("process_id",processId);
List<DgProcessUser> list = processUserService.list(wrapper); List<DgProcessUser> list = processUserService.list(wrapper);
List<Integer> arr = new ArrayList<>(); List<Integer> arr = new ArrayList<>();
for (DgProcessUser res : list) { for (DgProcessUser res : list) {

@ -1,6 +1,7 @@
package com.daqing.framework.domain.guarantee; package com.daqing.framework.domain.guarantee;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ -39,6 +40,7 @@ public class DgProcessUser implements Serializable {
@ApiModelProperty(value = "创建时间") @ApiModelProperty(value = "创建时间")
@TableField(fill = FieldFill.INSERT) @TableField(fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date createTime; private Date createTime;
@TableField(exist = false) @TableField(exist = false)

Loading…
Cancel
Save