[
{
"goodsID": "663",
"goodsName": "珍稀精油",
"unitPrice": "128.00",
"salePrice": "70.00",
"picture": "uploads/customer/824411594377747.jpg",
"goodsNumber": "6952360690626",
"barCode": "6952360690626",
"integral": "null",
"colorName": "UZLA",
"unitName": "个",
"colorID": "18",
"unitID": "20",
"stockCount": "5",
"buyCount": 1,
"totalPrice": "128.00"
},
{
"goodsID": "664",
"goodsName": "KAQIER",
"unitPrice": "68.00",
"salePrice": "70.00",
"picture": "uploads/customer/974681594377883.jpg",
"goodsNumber": "0079",
"barCode": "6943322100079",
"integral": "null",
"colorName": "UZLA",
"unitName": "个",
"colorID": "18",
"unitID": "20",
"stockCount": "10",
"buyCount": 2,
"totalPrice": "136.00"
},
{
"goodsID": "693",
"goodsName": "DETLLOU",
"unitPrice": "68.00",
"salePrice": "68.00",
"picture": "uploads/customer/574191594376806.jpg",
"goodsNumber": "6971223071549",
"barCode": "6971223071549",
"integral": "null",
"colorName": "UZLA",
"unitName": "个",
"colorID": "18",
"unitID": "22",
"stockCount": "4",
"buyCount": 3,
"totalPrice": "204.00"
}
]
提交订单参数
各位 你们好,我最近搞进销存 对减少库存 问题我有点头疼 麻烦你们 帮忙提出建议,有案例分享一下
1.对应的商品 判断库存 如果库存满足,不满足就提示库存不足某个商品的库存 做下一步 减少库存并 创建出库订单
- 出库过程 出现异常 滚回 事务
3.避免高并发数据功能