根据excel创建标品bug
This commit is contained in:
@@ -356,7 +356,7 @@ func GetUpcDepot(db *DaoDB, upc string) (result *aliupcapi.GetAliUpcInfoResult,
|
|||||||
func InsertUpcDepot(db *DaoDB, result *aliupcapi.GetAliUpcInfoResult) (err error) {
|
func InsertUpcDepot(db *DaoDB, result *aliupcapi.GetAliUpcInfoResult) (err error) {
|
||||||
sql := `
|
sql := `
|
||||||
INSERT INTO upc_depot (code, goods_name, manu_name, manu_address, spec, price, img, goods_type, ycg, trade_mark, remark)
|
INSERT INTO upc_depot (code, goods_name, manu_name, manu_address, spec, price, img, goods_type, ycg, trade_mark, remark)
|
||||||
VALUES ?,?,?,?,?,?,?,?,?,?,?
|
VALUES (?,?,?,?,?,?,?,?,?,?,?)
|
||||||
`
|
`
|
||||||
sqlParams := []interface{}{
|
sqlParams := []interface{}{
|
||||||
result.Code,
|
result.Code,
|
||||||
|
|||||||
Reference in New Issue
Block a user