|
@@ -5,6 +5,7 @@ import com.cyksj.common.exception.BusinessRuntimeException;
|
|
|
import com.cyksj.dto.Result;
|
|
import com.cyksj.dto.Result;
|
|
|
import com.cyksj.enums.GatewayResponse;
|
|
import com.cyksj.enums.GatewayResponse;
|
|
|
import com.cyksj.mapper.shop.YhShopMapper;
|
|
import com.cyksj.mapper.shop.YhShopMapper;
|
|
|
|
|
+import com.cyksj.model.dto.YhShopSkuDownInfo;
|
|
|
import com.cyksj.model.entity.YhShop;
|
|
import com.cyksj.model.entity.YhShop;
|
|
|
import com.cyksj.model.entity.YhShopGoodsSku;
|
|
import com.cyksj.model.entity.YhShopGoodsSku;
|
|
|
import com.cyksj.model.views.YhShopAvailableGoodsView;
|
|
import com.cyksj.model.views.YhShopAvailableGoodsView;
|
|
@@ -154,10 +155,10 @@ public class YhShopGoodsController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@GetMapping("/get/sku/down/info")
|
|
@GetMapping("/get/sku/down/info")
|
|
|
- public Result<String> yhShopSkuSysStatusDownInfo() {
|
|
|
|
|
|
|
+ public Result<List<YhShopSkuDownInfo>> yhShopSkuSysStatusDownInfo() {
|
|
|
long userId = StpYhShopManageUser.getLoginIdAsLong();
|
|
long userId = StpYhShopManageUser.getLoginIdAsLong();
|
|
|
- String info = yhShopGoodsSkuService.yhShopSkuSysStatusDownInfo(userId);
|
|
|
|
|
- return GatewayResponse.SUCCESS.newBuilder().toResult(info);
|
|
|
|
|
|
|
+ List<YhShopSkuDownInfo> infos = yhShopGoodsSkuService.yhShopSkuSysStatusDownInfo(userId);
|
|
|
|
|
+ return GatewayResponse.SUCCESS.newBuilder().toResult(infos);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|