Browse Source

Merge remote-tracking branch 'origin/dev' into dev

大数据与最优化研究所 1 tuần trước cách đây
mục cha
commit
b449f55e5f

+ 1 - 1
src/main/java/com/xjrsoft/module/evaluate/dto/AddEvaluateResultDto.java

@@ -35,6 +35,6 @@ public class AddEvaluateResultDto implements Serializable {
     private String opinion;
 
     @ApiModelProperty("选项")
-    private String option;
+    private String optionContent;
 
 }

+ 1 - 1
src/main/java/com/xjrsoft/module/evaluate/entity/EvaluateResult.java

@@ -106,5 +106,5 @@ public class EvaluateResult implements Serializable {
     private String submitRecordId;
 
     @ApiModelProperty("选项内容")
-    private String optionJson;
+    private String optionContent;
 }

+ 1 - 1
src/main/java/com/xjrsoft/module/evaluate/vo/EvaluateManageItemVo.java

@@ -70,6 +70,6 @@ public class EvaluateManageItemVo {
     private String optionJson;
 
     @ApiModelProperty("选项")
-    private String option;
+    private String optionContent;
 
 }

+ 3 - 1
src/main/resources/mapper/evaluate/EvaluateManageMapper.xml

@@ -173,7 +173,9 @@
                t2.score AS actualScore,
                t2.opinion,
                t1.input_not_null,
-            t2.option_json as option
+               t1.option_json,
+               t1.type,
+            t2.option_content
         FROM evaluate_submit_record t
                  LEFT JOIN evaluate_result t2 ON t2.submit_record_id = t.id
                  left join evaluate_manage_item t1 on t1.id = t2.evaluate_item_id