From 5702e460f00e2e16e10d0741947aea7b4a576b97 Mon Sep 17 00:00:00 2001 From: "DESKTOP-DDTUS3E\\yaxin" Date: Tue, 10 Sep 2024 16:55:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BB=B6=E6=9F=A5=E8=AF=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=B7=BB=E5=8A=A0=E2=80=9C=E5=B7=B2=E5=88=86=E6=9E=90?= =?UTF-8?q?=E2=80=9D=EF=BC=8C=E2=80=9C=E6=9C=AA=E5=88=86=E6=9E=90=E2=80=9D?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/supervision/police/vo/ModelCaseVO.java | 3 +++ src/main/resources/mapper/ModelCaseMapper.xml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/main/java/com/supervision/police/vo/ModelCaseVO.java b/src/main/java/com/supervision/police/vo/ModelCaseVO.java index 0a362cd..1bd5192 100644 --- a/src/main/java/com/supervision/police/vo/ModelCaseVO.java +++ b/src/main/java/com/supervision/police/vo/ModelCaseVO.java @@ -41,6 +41,9 @@ public class ModelCaseVO { @Schema(description = "删除状态,默认查询未删除数据") private Boolean isDelete = false; + @Schema(description = "案件数据状态 0:没有基础数据 1:数据未更新 2:数据已更新") + private String caseDataStatus; + @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private LocalDateTime updateStartTime; diff --git a/src/main/resources/mapper/ModelCaseMapper.xml b/src/main/resources/mapper/ModelCaseMapper.xml index 3842a55..f32b71a 100644 --- a/src/main/resources/mapper/ModelCaseMapper.xml +++ b/src/main/resources/mapper/ModelCaseMapper.xml @@ -13,6 +13,9 @@ and data_status = '1' + + and case_data_status = #{modelCase.caseDataStatus} + and case_no like concat('%', #{modelCase.caseNo}, '%')