Your Name 3 年 前
コミット
68deb7d227
共有1 個のファイルを変更した12 個の追加0 個の削除を含む
  1. 12
    0
      src/main/java/com/njyunzhi/pet_identity/controller/TaCardNoController.java

+ 12
- 0
src/main/java/com/njyunzhi/pet_identity/controller/TaCardNoController.java ファイルの表示

@@ -65,6 +65,18 @@ public class TaCardNoController extends BaseController {
65 65
         return ResponseBean.success(result);
66 66
     }
67 67
 
68
+
69
+    /**
70
+     * 分页查询列表
71
+     * @param id
72
+     * @return
73
+     */
74
+    @RequestMapping(value="/cardNo/{id}",method= RequestMethod.GET)
75
+    @ApiOperation(value="卡号详情", notes = "卡号详情", httpMethod = "GET", response = ResponseBean.class)
76
+    public ResponseBean getDetail(@ApiParam("页码") @PathVariable String id) throws Exception{
77
+        return ResponseBean.success(iTaCardNoService.getById(id));
78
+    }
79
+
68 80
     /**
69 81
      * 保存对象
70 82
      * @param batchCardParams 实体对象