| | |
| | | import com.yuanchu.mom.mapper.InspectionItemMapper; |
| | | import com.yuanchu.mom.mapper.TechniqueMapper; |
| | | import com.yuanchu.mom.pojo.InspectionItem; |
| | | import com.yuanchu.mom.pojo.RawInsProduct; |
| | | import com.yuanchu.mom.pojo.dto.InspectionItemDto; |
| | | import com.yuanchu.mom.pojo.dto.UpdateInspectionItemDto; |
| | | import com.yuanchu.mom.service.DeviceService; |
| | |
| | | return techniqueMapper.selDevByVerTecIdFaNam(technologyId, father, name, ver); |
| | | } |
| | | |
| | | //更改设备 |
| | | @Override |
| | | public void updateDevByInsId(Integer id, Integer type, Integer devId) { |
| | | InspectionItem inspectionItem = new InspectionItem(); |
| | | inspectionItem.setId(id); |
| | | inspectionItem.setType(type); |
| | | inspectionItem.setDeviceId(devId); |
| | | inspectionItem.setInspectionValue(null); |
| | | inspectionItem.setResult(null); |
| | | inspectionItemMapper.updateById(inspectionItem); |
| | | } |
| | | |
| | | //新增按钮-->2、检验项目-->失去焦点发起该请求 |
| | | @Override |
| | | public Integer addProcessInspectionSheet(String username, UpdateInspectionItemDto updateInspectionItemDto) { |