Kaynağa Gözat

版本切换

anderx 1 yıl önce
ebeveyn
işleme
982232e25c

+ 1 - 23
src/main/java/com/goafanti/standard/controller/StandardApiController.java

@@ -25,9 +25,6 @@ public class StandardApiController extends CertifyApiController {
 
     /**
      * 标准列表
-     *
-     * @param in
-     * @return
      */
     @RequestMapping(value = "/list", method = RequestMethod.GET)
     public Result list(InputStandardList in) {
@@ -36,9 +33,6 @@ public class StandardApiController extends CertifyApiController {
     }
     /**
      * 标准详情
-     *
-     * @param in
-     * @return
      */
     @RequestMapping(value = "/get", method = RequestMethod.GET)
     public Result get(StandardDocument in) {
@@ -48,8 +42,6 @@ public class StandardApiController extends CertifyApiController {
 
     /**
      * 新增标准
-     * @param in
-     * @return
      */
     @RequestMapping(value = "/add", method = RequestMethod.POST)
     public Result add(StandardDocument in) {
@@ -59,8 +51,6 @@ public class StandardApiController extends CertifyApiController {
 
     /**
      * 删除标准
-     * @param in
-     * @return
      */
     @RequestMapping(value = "/delete", method = RequestMethod.POST)
     public Result delete(StandardDocument in) {
@@ -70,8 +60,6 @@ public class StandardApiController extends CertifyApiController {
 
     /**
      * 更新标准
-     * @param in
-     * @return
      */
     @RequestMapping(value = "/update", method = RequestMethod.POST)
     public Result update(StandardDocument in) {
@@ -98,15 +86,5 @@ public class StandardApiController extends CertifyApiController {
 
 
 
-    /**
-     * 标准列表2
-     *
-     * @param in
-     * @return
-     */
-    @RequestMapping(value = "/list2", method = RequestMethod.GET)
-    public Result<Pagination<OutStandardDocument>> list2(InputStandardList in) {
-        Result<Pagination<OutStandardDocument>> res = new Result<>();
-        return res.data(standardService.list(in));
-    }
+
 }