Эх сурвалжийг харах

解决缺陷 履职任务 进行中的状态 Web端 任务详情和扫描记录 展示数据 错误的问题

zhulu 10 сар өмнө
parent
commit
cb96619e3d

+ 3 - 0
soc-modules/soc-modules-core/src/main/java/com/xunmei/core/resumption/vo/resumptionRecord/AppResumptionDataInfoVo.java

@@ -65,4 +65,7 @@ public class AppResumptionDataInfoVo {
     @ApiModelProperty(value = "要点排序值",notes = "如果没有设置排序,那么放在最后")
     private Integer pointSort=999;
 
+    @ApiModelProperty(value = "数据状态:1保存未处理,2保存已处理")
+    private Integer dataStatus;
+
 }

+ 2 - 1
soc-modules/soc-modules-core/src/main/resources/mapper/resumption/ResumptionRecordMapper.xml

@@ -243,7 +243,7 @@
         INNER JOIN core_resumption_data d on d.resumption_id = n.resumption_id and d.area_id = a.id
 
         <!--where d.resumption_id = #{dto.resumptionId}-->
-        where n.resumption_id = #{dto.resumptionId}
+        where n.status=1 and n.resumption_id = #{dto.resumptionId}
     </select>
 
     <!--    <resultMap id="secMap" type="com.isp.dict.domain.SecBookDtInst">-->
@@ -281,6 +281,7 @@
                d.submit_time                                       AS executeTime,
                d.res_remark                                        AS resRemark,
                d.res_status                                        AS executeStatus,
+               d.data_status                                       AS dataStatus,
                d.id                                                AS dataId,
                d.item_id,
                d.res_value,