| | |
| | | import com.yuanchu.limslaboratory.mapper.SpecificationsMapper; |
| | | import com.yuanchu.limslaboratory.service.*; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.yuanchu.limslaboratory.vo.UpdateSpeStateSpecifications; |
| | | import io.swagger.models.auth.In; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | } |
| | | return list; |
| | | } |
| | | |
| | | @Override |
| | | public Integer updateSpeStateSpecifications(UpdateSpeStateSpecifications updateSpeStateSpecifications) { |
| | | LambdaUpdateWrapper<Specifications> updateWrapper = new LambdaUpdateWrapper<>(); |
| | | updateWrapper.eq(Specifications::getId, updateSpeStateSpecifications.getId()); |
| | | updateWrapper.set(Specifications::getSpe_state, updateSpeStateSpecifications.getSpe_state()); |
| | | return specificationsMapper.update(new Specifications(), updateWrapper); |
| | | } |
| | | } |