|
@@ -33,9 +33,6 @@ import com.fjhx.supplier.entity.Supplier;
|
|
|
import com.fjhx.supplier.service.ISupplierService;
|
|
|
import org.springblade.common.utils.DateUtil;
|
|
|
import org.springblade.core.log.exception.ServiceException;
|
|
|
-import org.springblade.core.secure.utils.AuthUtil;
|
|
|
-import org.springblade.system.user.entity.User;
|
|
|
-import org.springblade.system.user.feign.IUserClient;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -59,9 +56,6 @@ public class PurchaseContractFlowServiceImpl extends ServiceImpl<PurchaseContrac
|
|
|
private ISupplierService iSupplierService;
|
|
|
|
|
|
@Autowired
|
|
|
- private IUserClient userClient;
|
|
|
-
|
|
|
- @Autowired
|
|
|
private IFlowApi flowApi;
|
|
|
|
|
|
/**
|
|
@@ -74,7 +68,6 @@ public class PurchaseContractFlowServiceImpl extends ServiceImpl<PurchaseContrac
|
|
|
if (ObjectUtil.isEmpty(purchaseContract.getSupplierId())) {
|
|
|
throw new ServiceException("请选择供应商");
|
|
|
}
|
|
|
- User user = userClient.infoUser(AuthUtil.getUserIdStr());
|
|
|
//查询供应商
|
|
|
Supplier supplier = iSupplierService.getById(purchaseContract.getSupplierId());
|
|
|
//查询合同
|