Commit 74ebac6f authored by W_Y's avatar W_Y

创建场景变更任务

parent 960f6683
......@@ -118,6 +118,12 @@ public class ReviewSceneChangeTask {
@ApiModelProperty(value = "操作" , notes = "[ADD DELETE UPDATE]")
private String operation;
@ApiModelProperty(value = "分类" , notes = "[KEYPOINT DETAILS SCENE]")
private String sort;
@ApiModelProperty("评审类型")
private String operationSort;
/**
* 当 operation 为 ADD 时该字段为空
*/
......
......@@ -39,6 +39,8 @@ public class ReviewSceneChangeTaskController extends BaseController {
ReviewSceneChangeTask reviewSceneChangeTask = new ReviewSceneChangeTask();
BeanUtils.copyBeanProp(reviewSceneChangeTask, request);
reviewSceneChangeTask.setOperationSort(request.getOperation()+"_"+request.getSort());
reviewSceneChangeTaskService.create(reviewSceneChangeTask);
return R.ok();
......
......@@ -62,6 +62,9 @@ public class ReviewSceneChangeTaskCreateRequest {
@ApiModelProperty(value = "操作" , notes = "[ADD DELETE UPDATE]")
private String operation;
@ApiModelProperty(value = "分类" , notes = "[KEYPOINT DETAILS SCENE]")
private String sort;
/**
* 当 operation 为 ADD 时该字段为空
*/
......
......@@ -70,6 +70,12 @@ public class ReviewSceneChangeTaskResponse {
@ApiModelProperty("操作(ADD DELETE UPDATE)")
private String operation;
@ApiModelProperty(value = "分类" , notes = "[KEYPOINT DETAILS SCENE]")
private String sort;
@ApiModelProperty("评审类型")
private String operationSort;
/**
* 当 operation 为 ADD 时该字段为空
*/
......
......@@ -12,6 +12,8 @@
<result property="keypoint" column="keypoint" jdbcType="VARCHAR"/>
<result property="details" column="details" jdbcType="VARCHAR"/>
<result property="operation" column="operation" jdbcType="VARCHAR"/>
<result property="sort" column="sort" jdbcType="VARCHAR"/>
<result property="operationSort" column="operation_sort" jdbcType="VARCHAR"/>
<result property="oldText" column="old_text" jdbcType="VARCHAR"/>
<result property="newText" column="new_text" jdbcType="VARCHAR"/>
<result property="taskInitiator" column="task_initiator" jdbcType="VARCHAR"/>
......@@ -30,6 +32,8 @@
<result property="keypoint" column="keypoint" jdbcType="VARCHAR"/>
<result property="details" column="details" jdbcType="VARCHAR"/>
<result property="operation" column="operation" jdbcType="VARCHAR"/>
<result property="sort" column="sort" jdbcType="VARCHAR"/>
<result property="operationSort" column="operation_sort" jdbcType="VARCHAR"/>
<result property="oldText" column="old_text" jdbcType="VARCHAR"/>
<result property="newText" column="new_text" jdbcType="VARCHAR"/>
<result property="taskInitiator" column="task_initiator" jdbcType="VARCHAR"/>
......
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