省厅基础数据对接问题修改

stwzhj
luyya 2026-03-27 17:32:06 +08:00
parent ddc8d4a8bd
commit a8f0b96a75
2 changed files with 3 additions and 13 deletions

View File

@ -100,11 +100,7 @@ public class SourceDeviceV2 implements Serializable {
@Column(name = "update_time")
private Date updateTime;
/**
*
*/
@Column(name = "info_source")
private String infoSource;
/**
* - 使

View File

@ -28,13 +28,7 @@ public interface SourceDeviceV2Repository extends JpaRepository<SourceDeviceV2,
* @param infoSource
* @return
*/
SourceDeviceV2 findByDeviceCodeAndInfoSource(String deviceCode, String infoSource);
/**
*
* @param infoSource
* @return
*/
@Query("SELECT MAX(d.updateTime) FROM SourceDeviceV2 d WHERE d.infoSource = :infoSource")
Date findMaxUpdateTimeByInfoSource(@Param("infoSource") String infoSource);
}