| | |
| | | import com.yuanchu.mom.vo.Result; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | @ApiOperation(value="查询印章列表") |
| | | @PostMapping("/selectSeal") |
| | | public Result selectSeal(@RequestBody Map<String, Object> data) throws Exception { |
| | | System.out.println(data); |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | Seal seal = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), Seal.class); |
| | | return Result.success(sealService.selectSeal(page,seal)); |
| | | |
| | | } |
| | | } |