|
|
@ -61,6 +61,7 @@ import com.yxt.anrui.as.feign.portal.sysuser.SysUserFeign; |
|
|
|
import com.yxt.anrui.as.feign.portal.sysuser.SysUserVo; |
|
|
|
import com.yxt.anrui.as.feign.sms.SmsGoods; |
|
|
|
import com.yxt.anrui.as.feign.sms.SmsGoodsFeign; |
|
|
|
import com.yxt.anrui.as.feign.wms.wmsInventory.WmsInventoryFeign; |
|
|
|
import com.yxt.anrui.as.feign.wms.wmsoldinventory.WmsOldInventoryFeign; |
|
|
|
import com.yxt.anrui.as.feign.wms.wmsoldinventory.WmsOldInventoryPush; |
|
|
|
import com.yxt.anrui.as.feign.yxtcrm.CrmCustomer; |
|
|
@ -158,7 +159,8 @@ public class AsBusrepairBillService extends MybatisBaseService<AsBusrepairBillMa |
|
|
|
private AsTrackQuestionService asTrackQuestionService; |
|
|
|
@Autowired |
|
|
|
private YxtCrmCustomerTempFeign yxtCrmCustomerTempFeign; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private WmsInventoryFeign wmsInventoryFeign; |
|
|
|
/** |
|
|
|
* 维修领料获取派工单 |
|
|
|
* |
|
|
@ -1363,11 +1365,8 @@ public class AsBusrepairBillService extends MybatisBaseService<AsBusrepairBillMa |
|
|
|
} |
|
|
|
push.setVehMark(vehMark); |
|
|
|
push.setVinNo(vinNo); |
|
|
|
SmsGoods smsGoods = smsGoodsFeign.fetchEntityByGoodsID(goodsDetail.getGoodsID()).getData(); |
|
|
|
if (null != smsGoods) { |
|
|
|
if (StringUtils.isNotBlank(smsGoods.getSupplierName())) { |
|
|
|
push.setManufacturerName(smsGoods.getSupplierName()); |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(goodsDetail.getManufacturerName())) { |
|
|
|
push.setManufacturerName(goodsDetail.getManufacturerName()); |
|
|
|
} |
|
|
|
wmsOldInventoryFeign.pushOldStayInvent(push); |
|
|
|
} |
|
|
|