@@ -28,7 +28,7 @@ public class ProductDetail implements Serializable{
/**
* 物料id
*/
- @Column(name = "prd_productid")
+ @Column(name = "prd_productid", unique = true)
private Long productId;