判断调整

pro
wj 2 years ago
parent 2832d8944c
commit 56ac3bb262

@ -13,4 +13,5 @@ public class BasicExportStatusRequest extends ListPageRequest {
public Integer createType;
private String syncTime;
private String receiveStatus;
private String orderBy;
}

@ -140,7 +140,7 @@ public class IoOrderServiceImpl implements IoOrderService {
@Override
public List<IoOrderEntity> findByStatus(String action, Integer status, Date lastUpdateTime) {
return orderDao.selectList(new QueryWrapper<IoOrderEntity>().eq("action", action).eq("status", status).gt("updateTime", lastUpdateTime));
return orderDao.selectList(new QueryWrapper<IoOrderEntity>().eq("action", action).eq("status", status).le(lastUpdateTime != null, "updateTime", lastUpdateTime));
}

Loading…
Cancel
Save