|
|
@@ -7,10 +7,7 @@ import com.usoftchina.saas.document.dto.ProductDTO;
|
|
|
import com.usoftchina.saas.document.service.ProductService;
|
|
|
import com.usoftchina.saas.page.PageRequest;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
-import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -36,7 +33,6 @@ public class ProductController {
|
|
|
@RequestMapping("/updateLatestPurchasePrice")
|
|
|
public void updateLatestPurchasePrice(@RequestParam(value = "id") Long pu_id) {
|
|
|
productService.updateLatestPurchasePrice(pu_id);
|
|
|
- };
|
|
|
-
|
|
|
+ }
|
|
|
|
|
|
}
|