| | |
| | | , @RequestParam(required = false) String customCode, @RequestParam int pageCurr, @RequestParam int pageSize){ |
| | | return service.getAllProduct(parentCode,parentName,parentModel,customCode,pageCurr,pageSize); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询出所有的产品无参不分页(产品上传的是用)",notes = "9.2修改后使用") |
| | | @GetMapping("getUpBomUseProduct") |
| | | public Response getUpBomUseProduct(){ |
| | | return service.getUpBomUseProduct(); |
| | | } |
| | | |
| | | @ApiOperation(value = "产品详情查看版本信息",notes = "8.17修改后使用") |
| | | @GetMapping("getProductVersion") |
| | | public Response getProductVersion( @RequestParam String parentCode, String customCode){ |
| | |
| | | query.eq("parent_code",parentCode).eq("custom_code",customCode).last(" limit 1"); |
| | | return mapper.selectOne(query); |
| | | } |
| | | //查询出所有的产品无参不分页(产品上传的是用) |
| | | public Response getUpBomUseProduct() { |
| | | List list=mapper.selectList(null); |
| | | return new Response().setII(1,list.size()>0,list,""); |
| | | } |
| | | } |