Commit 47c32781 by “zcwang”

add: 工单列表传入端

parent 4acfa4d9
/**
* @(#)CreateSourceEnum.java, 2022/12/7.
* <p/>
* Copyright 2022 Netease, Inc. All rights reserved.
* NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.netease.mail.yanxuan.change.common.enums;
/**
* @Author zcwang
* @Date 2022/12/7
*/
public enum CreateSourceEnum {
QC(1, "网易QC端"),
TONG_ZHOU(2, "同舟端"),
PRODUCT(3, "商品端");
private Integer type;
private String desc;
CreateSourceEnum(Integer type, String desc) {
this.type = type;
this.desc = desc;
}
public Integer getType() {
return type;
}
}
\ No newline at end of file
......@@ -6,6 +6,8 @@
*/
package com.netease.mail.yanxuan.change.dal.meta.model.req;
import com.netease.mail.yanxuan.change.common.enums.CreateSourceEnum;
import lombok.Data;
/**
......@@ -63,4 +65,10 @@ public class ChangeFlowListQueryReq {
* 结束时间
*/
private Long endTime;
/**
* 创建端
* @see CreateSourceEnum
*/
private Integer createSource;
}
\ No newline at end of file
......@@ -73,6 +73,7 @@ public class ChangeFlowController {
@GetMapping("/query")
public AjaxResult<ChangeFlowListVO> query(@RequestParam(name = "page", defaultValue = "1") Integer page,
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
@RequestParam(name = "source") Integer createSource,
@RequestParam(name = "itemId", required = false) String itemId,
@RequestParam(name = "supplier", required = false) String supplier,
@RequestParam(name = "parentChangeClassId", required = false) Long parentChangeClassId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment