1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.hxzk.controller;
 
import com.hxzk.pojo.TbZypHandel;
import com.hxzk.service.ZypHandelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import java.util.List;
 
@RestController
@RequestMapping("/")
public class ZypHandelController {
    @Autowired
    ZypHandelService zypHandelService;
    @GetMapping("UpXuanZe")
    public void XuanZeJieShouRen(TbZypHandel zypHandel){
            zypHandelService.XuanZeJieShouRen(zypHandel);
    }
 
 
 
    @GetMapping("findCodeHandel")
    public List<TbZypHandel> findCodeHandel(TbZypHandel zypHandel){
        return zypHandelService.findCodeHandel(zypHandel);
    }
}