Commit cc680dc6 authored by 赵啸非's avatar 赵啸非

修改查询%%问题

parent 1949a07c
......@@ -411,6 +411,14 @@ public class DeviceController extends BaseCRUDJsonBodyMappingController<DeviceSe
}
@Override
public void doExportBefore(Context context, DeviceEntity query, List<String> properties) throws AppException {
super.doExportBefore(context, query, properties);
if(ObjectUtils.isEmpty(query.getIdList())){
query.setIdList(null);
}
}
public static void main(String[] args) {
String str2 = "510000000000".replaceAll("(0)+$", "");
System.out.println(str2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment