|
@ -280,7 +280,7 @@ public class AdvrtisementService extends BaseJpaService<AdvertisementPuttingAdmi
|
|
|
String orderBy = " ORDER BY a.sort,a.create_time limit "+(page-1)*size+","+size;
|
|
|
List<Map<String, Object>> list = jdbcTemplate.queryForList(sql+from+orderBy);
|
|
|
for (Map<String, Object> stringObjectMap : list) {
|
|
|
String publishLocationCode = (String) stringObjectMap.get("publishLocation");
|
|
|
String publishLocationCode = stringObjectMap.get("publishLocation").toString();
|
|
|
if (publishLocationCode != null) {
|
|
|
if ("0".equals(publishLocationCode)) {
|
|
|
stringObjectMap.put("publishLocationName","广告位");
|