|
@@ -74,6 +74,7 @@ import com.github.binarywang.wxpay.service.WxPayService;
|
|
|
import com.google.gson.Gson;
|
|
import com.google.gson.Gson;
|
|
|
import lombok.Synchronized;
|
|
import lombok.Synchronized;
|
|
|
import org.apache.commons.beanutils.BeanUtils;
|
|
import org.apache.commons.beanutils.BeanUtils;
|
|
|
|
|
+import org.apache.commons.lang3.ObjectUtils;
|
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -456,6 +457,12 @@ public class FsStoreAfterSalesScrmServiceImpl implements IFsStoreAfterSalesScrmS
|
|
|
storeAfterSales.setCompanyUserId(order.getCompanyUserId());
|
|
storeAfterSales.setCompanyUserId(order.getCompanyUserId());
|
|
|
storeAfterSales.setPackageJson(order.getPackageJson());
|
|
storeAfterSales.setPackageJson(order.getPackageJson());
|
|
|
storeAfterSales.setIsPackage(order.getIsPackage());
|
|
storeAfterSales.setIsPackage(order.getIsPackage());
|
|
|
|
|
+ if(ObjectUtils.equals(order.getStatus(),2) || ObjectUtils.equals(order.getStatus(),3)){
|
|
|
|
|
+ boolean jstCheckEnabled = isStoreJstOrderCheckEnabled();
|
|
|
|
|
+ if (jstCheckEnabled) {
|
|
|
|
|
+ storeAfterSales.setErpExceptionStatus(1);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
fsStoreAfterSalesMapper.insertFsStoreAfterSales(storeAfterSales);
|
|
fsStoreAfterSalesMapper.insertFsStoreAfterSales(storeAfterSales);
|
|
|
//售后商品详情
|
|
//售后商品详情
|
|
|
for (FsStoreAfterSalesProductParam productParam : storeAfterSalesParam.getProductList()) {
|
|
for (FsStoreAfterSalesProductParam productParam : storeAfterSalesParam.getProductList()) {
|