| | |
| | | return Result.success(standardProductListUpdateRecordService.standardProductListRecordPage(page,standardProductListUpdateRecord)); |
| | | } |
| | | |
| | | @ApiOperation(value = "标准树下检验项修改记录分页查询") |
| | | @ApiOperation(value = "标准树下检验项修改记录查询") |
| | | @GetMapping("/standardProductListRecordRelPage") |
| | | public Result standardProductListRecordRelPage(Page page, StandardProductListUpdateRecordRel standardProductListUpdateRecordRel) { |
| | | return Result.success(standardProductListUpdateRecordService.standardProductListRecordRelPage(page,standardProductListUpdateRecordRel)); |
| | | public Result standardProductListRecordRelPage(StandardProductListUpdateRecordRel standardProductListUpdateRecordRel) { |
| | | return Result.success(standardProductListUpdateRecordService.standardProductListRecordRelPage(standardProductListUpdateRecordRel)); |
| | | } |
| | | |
| | | @ApiOperation(value = "标准树下修改记录文件上传") |
| | |
| | | void batchInsertRecordRel(@Param("list") List<StandardProductListUpdateRecordRel> list); |
| | | |
| | | /** |
| | | * 标准树下检验项修改记录分页查询 |
| | | * @param page |
| | | * 标准树下检验项修改记录查询 |
| | | * @param ew |
| | | * @return |
| | | */ |
| | | IPage<StandardProductListUpdateRecordRel> standardProductListRecordRelPage(Page page, @Param("ew") QueryWrapper<StandardProductListUpdateRecordRel> ew); |
| | | List<StandardProductListUpdateRecordRel> standardProductListRecordRelPage(@Param("ew") QueryWrapper<StandardProductListUpdateRecordRel> ew); |
| | | } |
| | | |
| | | |
| | |
| | | IPage<StandardProductListUpdateRecordDto> standardProductListRecordPage(Page page, StandardProductListUpdateRecord record); |
| | | |
| | | /** |
| | | * 标准树下检验项修改记录分页查询 |
| | | * @param page |
| | | * 标准树下检验项修改记录查询 |
| | | * @param standardProductListUpdateRecordRel |
| | | * @return |
| | | */ |
| | | IPage<StandardProductListUpdateRecordRel> standardProductListRecordRelPage(Page page, StandardProductListUpdateRecordRel standardProductListUpdateRecordRel); |
| | | Map<String,Object> standardProductListRecordRelPage(StandardProductListUpdateRecordRel standardProductListUpdateRecordRel); |
| | | |
| | | /** |
| | | * 标准树下修改记录文件上传 |
| | |
| | | throw new BaseException("该产品已绑定过该厂家"); |
| | | } |
| | | baseMapper.insert(supplierAsk); |
| | | // |
| | | |
| | | |
| | | return supplierAsk.getSupplierAskId(); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * 标准树下检验项修改记录分页查询 |
| | | * @param page |
| | | * 标准树下检验项修改记录查询 |
| | | * @param standardProductListUpdateRecordRel |
| | | * @return |
| | | */ |
| | | @Override |
| | | public IPage<StandardProductListUpdateRecordRel> standardProductListRecordRelPage(Page page, StandardProductListUpdateRecordRel standardProductListUpdateRecordRel) { |
| | | return standardProductListUpdateRecordRelMapper.standardProductListRecordRelPage(page,QueryWrappers.queryWrappers(standardProductListUpdateRecordRel)); |
| | | public Map<String,Object> standardProductListRecordRelPage(StandardProductListUpdateRecordRel standardProductListUpdateRecordRel) { |
| | | Map<String, Object> resultMap = new HashMap<>(); |
| | | List<StandardProductListUpdateRecordRel> recordRelList = standardProductListUpdateRecordRelMapper.standardProductListRecordRelPage(QueryWrappers.queryWrappers(standardProductListUpdateRecordRel)); |
| | | resultMap.put("productList",recordRelList); |
| | | resultMap.put("total",recordRelList.size()); |
| | | return resultMap; |
| | | } |
| | | |
| | | /** |