| | |
| | | import com.yuanchu.mom.utils.QYWXApi; |
| | | import com.yuanchu.mom.utils.QueryWrappers; |
| | | import com.yuanchu.mom.vo.SampleDefectsFatherVo; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | CustomMapper customMapper; |
| | | @Resource |
| | | QYWXApi qywxApi; |
| | | @Resource |
| | | private ProcessOrder1Mapper processOrderMapper; |
| | | @Autowired |
| | | ProcessOrder1Mapper processOrderMapper; |
| | | |
| | | |
| | | //获取检验下单数据 |
| | |
| | | a.setInsOrderId(insOrder.getId()); |
| | | //样品编号 |
| | | if (StrUtil.isEmpty(a.getSampleCode())) { |
| | | a.setSampleCode("YP-" + a.getModel() + "-" + giveCode.split("-")[2] + "-" + count.get()); |
| | | a.setSampleCode("YP-" + giveCode.split("-")[2] + "-" + count.get()); |
| | | } |
| | | insSampleMapper.insert(a); |
| | | //样品的检验项目 |