| | |
| | | } |
| | | standardProductListUpdateRecordMapper.updateById(standardProductListUpdateRecord); |
| | | } |
| | | |
| | | /** |
| | | * 查询标准库是否存在审核中状态 |
| | | * |
| | | * @return |
| | | */ |
| | | @Override |
| | | public boolean existCheckingRecord() { |
| | | QueryWrapper<StandardProductListUpdateRecord> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("check_status",StandardProductListChcekTypeEnums.CHECK_ING.getCode()); |
| | | List<StandardProductListUpdateRecord> standardProductListUpdateRecordList = standardProductListUpdateRecordMapper.selectList(queryWrapper); |
| | | if(CollectionUtils.isEmpty(standardProductListUpdateRecordList)){ |
| | | return false; |
| | | }else { |
| | | return true; |
| | | } |
| | | } |
| | | } |
| | | |
| | | |