商品后台接口统一字段

This commit is contained in:
2024-12-12 09:00:51 +08:00
parent 956fc602a7
commit 7466b3dc06
60 changed files with 79625 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
SELECT
vc.customerSid sid,
lc.wxMpOpenid OpenID,
lc.nick ,
lc.mobile ,
pb.name ,
lg.name ,
vc.goodsNumber
FROM vegetable_cellar vc
LEFT JOIN lpk_customer lc ON lc.sid=vc.customerSid
LEFT JOIN lpk_goods lg ON lg.sid=vc.goodsSid
LEFT JOIN pms_brand pb ON pb.id = vc.affiliation
WHERE lc.mobile='18632141515'
SELECT
lc.nick ,
lc.mobile ,
tcg.bindDate ,
tcg.serialNumber ,
tcg.goodsName ,
tcg.goodsNumber ,
tcg.cardtype
from tmp_cust_goods tcg
LEFT JOIN lpk_customer lc ON lc.sid=tcg.customerSid
WHERE lc.mobile='18632141515'