Browse Source

修改维修工单提交接口2

master
fanzongzhe0036 3 months ago
parent
commit
d13c5017cf
  1. 11
      yxt-as/src/main/java/com/yxt/anrui/as/biz/asbusrepairbill/AsBusrepairBillService.java

11
yxt-as/src/main/java/com/yxt/anrui/as/biz/asbusrepairbill/AsBusrepairBillService.java

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

Loading…
Cancel
Save