| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author zhongrj |
| | |
| | | } |
| | | |
| | | /** |
| | | * 详情 |
| | | * @param licencePaper 许可证信息对象 |
| | | */ |
| | | @GetMapping("/details") |
| | | @ApiOperation(value = "详情", notes = "传入licencePaper") |
| | | public R details(LicencePaper licencePaper) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | LicencePaper detail = licencePaperService.getOne(Condition.getQueryWrapper(licencePaper)); |
| | | if (null!=detail){ |
| | | map.put("url",detail.getUrl()); |
| | | } |
| | | return R.data(map); |
| | | } |
| | | |
| | | /** |
| | | * 查询分公司的许可证信息(包含总公司) |
| | | * @param licencePaper 许可证信息对象 |
| | | */ |