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 实体对象