| | |
| | | import com.dy.pmsGlobal.pojoPr.PrProductionNode; |
| | | import com.dy.pmsGlobal.pojoSta.StaAssemblyWorkHistory; |
| | | import com.dy.pmsGlobal.pojoSta.StaAssemblyWorkLast; |
| | | import com.dy.pmsGlobal.util.QrCodeConstant; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | if (product != null) { |
| | | result.setProId(product.getId()); |
| | | result.setProName(product.getName()); |
| | | String devicePrefix = "110" + product.getCode() + assyPlan.getBatchNo(); |
| | | String devicePrefix = QrCodeConstant.TypeProduct + product.getCode() + assyPlan.getBatchNo(); |
| | | result.setDevicePrefix(devicePrefix); |
| | | } |
| | | } |
| | |
| | | } |
| | | result.setProId(product.getId()); |
| | | result.setProName(product.getName()); |
| | | String devicePrefix = "110" + product.getCode() + assyPlan.getBatchNo(); |
| | | String devicePrefix = QrCodeConstant.TypeProduct + product.getCode() + assyPlan.getBatchNo(); |
| | | result.setDevicePrefix(devicePrefix); |
| | | return result; |
| | | } |