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);
|
}
|
}
|