查询条件修改

This commit is contained in:
yan.y 2024-11-04 15:08:20 +08:00
parent 17184458bb
commit 28781bfe79
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ public class FactoryServiceImpl implements FactoryService {
//授权日期 //授权日期
String sSearch1 = searchFilter.getsSearch1(); String sSearch1 = searchFilter.getsSearch1();
if(sSearch1!=null && !sSearch1.equals("")){ if(sSearch1!=null && !sSearch1.equals("")){
queryList.add(Restrictions.sqlRestriction("'"+sSearch1+"'=date_format(create_time,'%Y-%m-%d')")); queryList.add(Restrictions.sqlRestriction("'"+sSearch1+"'=date_format(authorize_time,'%Y-%m-%d')"));
} }
if (hardwareTypeSet != null && hardwareTypeSet.size() != 0) { if (hardwareTypeSet != null && hardwareTypeSet.size() != 0) {