|
|
@@ -27,6 +27,11 @@ public class CmsEnterprisePurchaseLeadController {
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(enterprisePurchaseLeadService.page(status, keyword, start, limit));
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/pending/exists")
|
|
|
+ public Result<Boolean> hasPending() {
|
|
|
+ return GatewayResponse.SUCCESS.newBuilder().toResult(enterprisePurchaseLeadService.hasPending());
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping("/{id}")
|
|
|
public Result<EnterprisePurchaseLead> detail(@PathVariable Long id) {
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(enterprisePurchaseLeadService.getById(id));
|