|
@@ -53,7 +53,7 @@ public class KuaiShouDimensionUnitServiceImpl extends ServiceImpl<KuaiShouDimens
|
|
|
unitQueryWrapper.eq("account_id", accountId);
|
|
|
unitQueryWrapper.eq("submit_status", 1);
|
|
|
unitQueryWrapper.orderByAsc("create_time");
|
|
|
- unitQueryWrapper.last("limit 50");
|
|
|
+ unitQueryWrapper.last("limit 10");
|
|
|
List<KuaiShouDimensionUnit> kuaiShouDimensionUnits = dimensionUnitMapper.selectList(unitQueryWrapper);
|
|
|
if (Check.isNull(kuaiShouDimensionUnits)) {
|
|
|
return;
|
|
@@ -202,6 +202,7 @@ public class KuaiShouDimensionUnitServiceImpl extends ServiceImpl<KuaiShouDimens
|
|
|
if (!Check.isNull(unit.getFilterConvertedLevel())) {
|
|
|
target.put("filter_converted_level", unit.getFilterConvertedLevel());
|
|
|
}
|
|
|
+
|
|
|
if (!Check.isNull(unit.getIsOpen())) {
|
|
|
if (unit.getIsOpen() == 1) {
|
|
|
JSONObject intelli_extend = new JSONObject();
|
|
@@ -272,7 +273,7 @@ public class KuaiShouDimensionUnitServiceImpl extends ServiceImpl<KuaiShouDimens
|
|
|
queryWrapper.eq("account_id", accountId);
|
|
|
queryWrapper.eq("campaign_id", campaignId);
|
|
|
queryWrapper.eq("submit_status", 0);
|
|
|
- queryWrapper.orderByDesc("create_time");
|
|
|
+ queryWrapper.orderByDesc("unit_name");
|
|
|
return dimensionUnitMapper.selectList(queryWrapper);
|
|
|
}
|
|
|
|