|
...
|
...
|
@@ -23,12 +23,7 @@ import javax.validation.Valid; |
|
23
|
23
|
import javax.validation.constraints.NotBlank;
|
|
24
|
24
|
import javax.validation.constraints.NotNull;
|
|
25
|
25
|
import org.springframework.validation.annotation.Validated;
|
|
26
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
27
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
28
|
|
-import org.springframework.web.bind.annotation.PutMapping;
|
|
29
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
30
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
31
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
26
|
+import org.springframework.web.bind.annotation.*;
|
|
32
|
27
|
import org.springframework.web.multipart.MultipartFile;
|
|
33
|
28
|
import java.io.IOException;
|
|
34
|
29
|
|
|
...
|
...
|
@@ -108,6 +103,20 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { |
|
108
|
103
|
}
|
|
109
|
104
|
|
|
110
|
105
|
/**
|
|
|
106
|
+ * 删除
|
|
|
107
|
+ *
|
|
|
108
|
+ * @param id 主键ID
|
|
|
109
|
+ */
|
|
|
110
|
+ @ApiOperation("详情")
|
|
|
111
|
+ @HasPermission({"procure-manage:sales-price-peer:delete"})
|
|
|
112
|
+ @DeleteMapping("")
|
|
|
113
|
+ public InvokeResult<Void> delete(@NotBlank(message = "id不能为空!") String id) {
|
|
|
114
|
+ salesmanQuotationPeerService.delete(id);
|
|
|
115
|
+
|
|
|
116
|
+ return InvokeResultBuilder.success();
|
|
|
117
|
+ }
|
|
|
118
|
+
|
|
|
119
|
+ /**
|
|
111
|
120
|
* 下载导入模板
|
|
112
|
121
|
*/
|
|
113
|
122
|
@ApiOperation("下载导入模板")
|
...
|
...
|
|