| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Collections; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | return this.list(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<UpPattenUsage> saveUpPattenUsage(String engineeringId) { |
| | | List<UpPattenUsage> list = this.list(); |
| | | if (engineeringId != null) { |
| | | LambdaQueryWrapper<UpPattenUsage> wrapper = new LambdaQueryWrapper<>(); |
| | | wrapper.eq(UpPattenUsage::getEngineeringId,engineeringId); |
| | | return this.list(wrapper); |
| | | } |
| | | return Collections.emptyList(); |
| | | } |
| | | |
| | | |
| | | } |