|
@@ -1,10 +1,9 @@
|
|
package com.fjhx.supply.controller.supplier;
|
|
package com.fjhx.supply.controller.supplier;
|
|
|
|
|
|
-import com.baomidou.dynamic.datasource.annotation.DS;
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
-import com.fjhx.common.constant.SourceConstant;
|
|
|
|
import com.fjhx.supply.entity.supplier.dto.SupplierPriceDto;
|
|
import com.fjhx.supply.entity.supplier.dto.SupplierPriceDto;
|
|
import com.fjhx.supply.entity.supplier.dto.SupplierPriceSelectDto;
|
|
import com.fjhx.supply.entity.supplier.dto.SupplierPriceSelectDto;
|
|
|
|
+import com.fjhx.supply.entity.supplier.po.SupplierPrice;
|
|
import com.fjhx.supply.entity.supplier.vo.SupplierPriceAddVo;
|
|
import com.fjhx.supply.entity.supplier.vo.SupplierPriceAddVo;
|
|
import com.fjhx.supply.entity.supplier.vo.SupplierPriceVo;
|
|
import com.fjhx.supply.entity.supplier.vo.SupplierPriceVo;
|
|
import com.fjhx.supply.service.supplier.SupplierPriceService;
|
|
import com.fjhx.supply.service.supplier.SupplierPriceService;
|
|
@@ -16,7 +15,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import java.math.BigDecimal;
|
|
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
@@ -72,11 +70,9 @@ public class SupplierPriceController {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 根据供应商id和产品列表获取价格
|
|
* 根据供应商id和产品列表获取价格
|
|
- *
|
|
|
|
- * @return
|
|
|
|
*/
|
|
*/
|
|
@PostMapping("/getSupplierPriceByProductIds")
|
|
@PostMapping("/getSupplierPriceByProductIds")
|
|
- public Map<Long, BigDecimal> getSupplierPriceByProductIds(@RequestBody SupplierPriceDto dto) {
|
|
|
|
|
|
+ public Map<Long, SupplierPrice> getSupplierPriceByProductIds(@RequestBody SupplierPriceDto dto) {
|
|
return supplierPriceService.getSupplierPriceByProductIds(dto);
|
|
return supplierPriceService.getSupplierPriceByProductIds(dto);
|
|
}
|
|
}
|
|
|
|
|