...
|
...
|
@@ -602,16 +602,17 @@ public class InBoxFacade { |
|
|
* @param sellerUid
|
|
|
* @param prdName
|
|
|
*/
|
|
|
public void sellerPaidEarnestMoney(int sellerUid, String prdName,String sizeName,Integer productId) {
|
|
|
public void sellerPaidEarnestMoney(int sellerUid, String prdName,String sizeName,Integer productId,Integer prdAttr) {
|
|
|
try {
|
|
|
executorService.execute(() -> {
|
|
|
logger.info("record sellerPaidEarnestMoney inbox in , sellerUid {}, prdName {}, sizeName {} ,productId {}",
|
|
|
sellerUid, prdName, sizeName,productId);
|
|
|
logger.info("record sellerPaidEarnestMoney inbox in , sellerUid {}, prdName {}, sizeName {} ,productId {},prdAttr {}",
|
|
|
sellerUid, prdName, sizeName,productId,prdAttr);
|
|
|
Product product = productMapper.selectByPrimaryKey(productId);
|
|
|
String productCode = product.getProductCode();
|
|
|
String skupTypeText=SkupType.getSkupType(prdAttr).attrName();
|
|
|
|
|
|
InboxBusinessTypeEnum ibt = InboxBusinessTypeEnum.SALE_SHELF;
|
|
|
String params = buildParams(prdName,sizeName,productCode);
|
|
|
String params = buildParams(skupTypeText,prdName,sizeName,productCode);
|
|
|
InboxReqVO req = buildInboxReqVO(sellerUid, params, ibt);
|
|
|
|
|
|
InBoxResponse resp = inBoxSDK.addInbox(req);
|
...
|
...
|
|