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

修改和创哥表结构不一致导致查询失败的问题

王苗苗 1 долоо хоног өмнө
parent
commit
36f261c7cb

+ 1 - 0
slibra-quartz/src/main/java/com/slibra/quartz/task/AsyncTask.java

@@ -7076,6 +7076,7 @@ public class AsyncTask {
             breakPointList.add(warningMoreExceed.getBreakPointWarningRecord());
         }
 
+        log.info("获取到的最近10条的计算氨氮数据为{}", JSON.toJSONString(tenVals));
         String anDan10Str = getBigDecimalList(tenVals);
         String hyXsy1Str = getBigDecimalList(tXinyiRobots6Lst.stream().map(TXinyiRobot::getNo3Hlj1Jqr).collect(Collectors.toList()));
         String hyXsy2Str = getBigDecimalList(tXinyiRobots6Lst.stream().map(TXinyiRobot::getNo3Hlj2Jqr).collect(Collectors.toList()));

+ 2 - 3
slibra-system/src/main/resources/mapper/business/AutoFeedbackMapper.xml

@@ -25,7 +25,7 @@
 
     <select id="selectAutoFeedbackById" parameterType="Long" resultMap="AutoFeedbackResult">
         <include refid="selectAutoFeedbackVo"/>
-        where id = #{id} and del_flag = 0
+        where id = #{id}
     </select>
 
     <insert id="insertAutoFeedback" parameterType="AutoFeedback" useGeneratedKeys="true" keyProperty="id">
@@ -73,7 +73,6 @@
             <if test="cf != null">cf = #{cf},</if>
             <if test="ext != null">ext = #{ext},</if>
         </trim>
-        ,revision = revision + 1
         where id = #{id}
     </update>
 
@@ -119,6 +118,6 @@
             <if test="dateBegin != null "> and SUBSTRING(update_time, 1, 10)  &gt;= #{dateBegin}</if>
             <if test="dateEnd != null "> and SUBSTRING(update_time, 1, 10)  &lt;= #{dateEnd}</if>
         </where>
-        and del_flag = 0 order by id desc
+        order by id desc
     </select>
 </mapper>

+ 2 - 3
slibra-system/src/main/resources/mapper/business/ValidateCoefMapper.xml

@@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectValidateCoefById" parameterType="Long" resultMap="ValidateCoefResult">
         <include refid="selectValidateCoefVo"/>
-        where id = #{id} and del_flag = 0
+        where id = #{id}
     </select>
         
     <insert id="insertValidateCoef" parameterType="ValidateCoef" useGeneratedKeys="true" keyProperty="id">
@@ -89,7 +89,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="MLVSS != null">MLVSS = #{MLVSS},</if>
             <if test="ext != null">ext = #{ext},</if>
         </trim>
-        ,revision = revision + 1
         where id = #{id}
     </update>
 
@@ -131,6 +130,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="dateBegin != null "> and validate_date &gt;= #{dateBegin}</if>
             <if test="dateEnd != null "> and validate_date &lt;= #{dateEnd}</if>
         </where>
-        and del_flag = 0 order by id desc
+        order by id desc
     </select>
 </mapper>