| | |
| | | |
| | | //右上角新增-->生产工艺-->选择工序,工艺 |
| | | @Override |
| | | public List<Map<String, Object>> chooseTech(Integer specificationsId) { |
| | | return technologyMapper.chooseTech(specificationsId); |
| | | public List<Map<String, Object>> chooseTech(Integer specificationsId,Integer version) { |
| | | return technologyMapper.chooseTech(specificationsId,version); |
| | | } |
| | | |
| | | //右上角新增-->生产工艺-->选择设备 |
| | |
| | | |
| | | //右上角新增-->生产工艺 |
| | | @Override |
| | | public void addTechnique(Integer technologyId, TechniqueDto techniqueDto) { |
| | | public void addTechnique(TechniqueDto techniqueDto) { |
| | | Technique technique = new Technique(); |
| | | BeanUtils.copyProperties(techniqueDto, technique); |
| | | technique.setTechnologyId(technologyId); |
| | | techniqueMapper.insert(technique); |
| | | } |
| | | |