Browse Source

优化查询条件

shuiqilin
zhangxin 1 year ago
parent
commit
80985a8a3d

+ 1
- 1
src/main/java/com/qtzl/alterSales/manager/model/protocol/sales/AflSignReboundInfoFindPageRequest.java View File

@@ -57,7 +57,7 @@ public class AflSignReboundInfoFindPageRequest extends JpaPageableDataRequest<Af
builder.append(" AND asri.vehicleBrand = :vehicleBrand", vehicleBrand);
}
if (reboundType!=null){
builder.append(" AND asri.reboundType LIKE :reboundType", reboundType);
builder.append(" AND asri.reboundType = :reboundType", reboundType);
}
if (!StringUtils.isEmpty(channelName)){
builder.append(" AND asci.channelName LIKE :channelName",like(channelName));

+ 1
- 1
src/main/java/com/qtzl/alterSales/manager/model/protocol/sales/AflUiInfoFindPageRequest.java View File

@@ -63,7 +63,7 @@ public class AflUiInfoFindPageRequest extends JpaPageableDataRequest<AflUiInfoVo
builder.append(" AND aui.accessChannelCode = :accessChannelCode", accessChannelCode);
}
if (applicationType!=null){
builder.append(" AND aui.applicationType LIKE :applicationType", applicationType);
builder.append(" AND aui.applicationType = :applicationType", applicationType);
}
if (!StringUtils.isEmpty(accessChannelName)){
builder.append(" AND aaci.accessChannelName LIKE :accessChannelName",like(accessChannelName));

Loading…
Cancel
Save