@Query("from QualityRuleInfo qualityRuleInfo where qualityRuleInfo.businessTime between timestampadd(M,-1,getdate()) and getdate() order by qualityRuleInfo.businessTime Desc")
@Query("from QualityRuleInfo qualityRuleInfo where qualityRuleInfo.businessTime between timestampadd(D,-1,getdate()) and getdate() order by qualityRuleInfo.businessTime Desc")
List<QualityRuleInfo>findQualityRuleInfo();
List<QualityRuleInfo>findQualityRuleInfo();
//根据质量规则ID查找质量规则
//根据质量规则ID查找质量规则
...
@@ -22,4 +22,8 @@ public interface QualityRuleInfoDao extends JpaSpecificationExecutor<QualityRule
...
@@ -22,4 +22,8 @@ public interface QualityRuleInfoDao extends JpaSpecificationExecutor<QualityRule