From fd33b1408f39e30fcfee037468ace9050e27b739 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期五, 16 五月 2025 18:20:32 +0800
Subject: [PATCH] 熏蒸备案调整
---
src/main/java/com/fzzy/api/view/Api1306.view.xml | 2 +-
src/main/java/com/fzzy/api/view/repository/Api9201Rep.java | 6 +++---
src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/fzzy/api/view/Api1306.view.xml b/src/main/java/com/fzzy/api/view/Api1306.view.xml
index 7313740..318de20 100644
--- a/src/main/java/com/fzzy/api/view/Api1306.view.xml
+++ b/src/main/java/com/fzzy/api/view/Api1306.view.xml
@@ -230,7 +230,7 @@
<PropertyDef name="ctz">
<Property></Property>
<Property name="label">CT鍊�</Property>
- <Property name="dataType">double</Property>
+ <Property name="dataType">Double</Property>
</PropertyDef>
<PropertyDef name="sqqlhqnd">
<Property></Property>
diff --git a/src/main/java/com/fzzy/api/view/repository/Api9201Rep.java b/src/main/java/com/fzzy/api/view/repository/Api9201Rep.java
index 62034f5..f97094e 100644
--- a/src/main/java/com/fzzy/api/view/repository/Api9201Rep.java
+++ b/src/main/java/com/fzzy/api/view/repository/Api9201Rep.java
@@ -19,14 +19,14 @@
/**
* 鏍规嵁琛ㄥ崟涓婚敭鏇存柊鎿嶄綔鏍囧織鐘舵��
*
- * @param dwdm 涓婚敭ID
+ * @param
* @param czbz 鎿嶄綔鏍囧織
* @return
*/
@Transactional
@Modifying
- @Query("update Api9201 set czbz =:czbz where dwdm =:dwdm ")
- int updateStatus(@Param("dwdm") String dwdm, @Param("czbz") String czbz);
+ @Query("update Api9201 set czbz =:czbz where tbrq =:tbrq and czbz = 'i'")
+ int updateStatus(@Param("tbrq") Date tbrq, @Param("czbz") String czbz);
@Query("from Api9201 where kqdm=:kqdm and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ")
diff --git a/src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java b/src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java
index 37504ed..2c23f9c 100644
--- a/src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java
+++ b/src/main/java/com/fzzy/otherview/gd2022/pr/GDApi9201PR.java
@@ -217,7 +217,7 @@
result += responseDto.toString();
if (responseDto.getSuccess() == 0) {
if (Constant.CZBZ_I.equals(d.getCzbz())) {
- api9201Rep.updateStatus(data.getDwdm(), Constant.CZBZ_U);
+ api9201Rep.updateStatus(data.getTbrq(), Constant.CZBZ_U);
}
}
}
@@ -245,7 +245,7 @@
for (Api9201 data : items) {
if (Constant.CZBZ_I.equals(data.getCzbz())) {
//鏇存柊鐘舵��
- api9201Rep.updateStatus(data.getDwdm(), Constant.CZBZ_U);
+ api9201Rep.updateStatus(data.getTbrq(), Constant.CZBZ_U);
}
}
}
--
Gitblit v1.9.3