wudingsheng 2 hónapja
szülő
commit
1b73c39db8

+ 1 - 2
imcs-admin-boot/imcs-business-biz/src/main/resources/mapper_business/base/centralToolMagezine/ToolCostomAddressHistoryMapper.xml

@@ -5,14 +5,13 @@
     <select id="getGroupByList" resultType="com.github.zuihou.business.centralToolMagazine.entity.ToolCostomAddressHistory">
         select tcah.* from tool_costom_address_history tcah
                                left join imcs_tenant_productionresource itp on tcah.ip=itp.ip
-        where tcah.result='true'
         order by tcah.id desc limit 0,3
 
     </select>
 
     <delete id="deleteHistory30">
         DELETE FROM tool_costom_address_history
-        WHERE create_time &lt; NOW() - INTERVAL 5 DAY
+        WHERE create_time &lt; NOW() - INTERVAL 7 DAY
     </delete>
 
 </mapper>