Commit 5274a13d authored by youjj's avatar youjj

增加开放的营地信息列表

parent 83075f63
......@@ -98,7 +98,7 @@ public class CampsiteBiz extends BaseBiz<CampsiteMapper, Campsite> {
if(addrTown!=null) {
criteria.andCondition(" addr_town = '" + addrTown + "'");
}
if(DATA_ALL_FALSE.equals(userDTO.getDataAll())) {
if(userDTO != null && DATA_ALL_FALSE.equals(userDTO.getDataAll())) {
if(StringUtils.isNotBlank(userDTO.getDataZone())) {
criteria.andIn(COMPANY_ZONE_ID, userDTO.dataZone2List());
}
......
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