|
|
@@ -13,7 +13,6 @@ import com.usoftchina.saas.commons.exception.BizExceptionCode;
|
|
|
import com.usoftchina.saas.commons.po.BillCodeSeq;
|
|
|
import com.usoftchina.saas.commons.po.Status;
|
|
|
import com.usoftchina.saas.context.BaseContextHolder;
|
|
|
-import com.usoftchina.saas.document.api.EmployeeApi;
|
|
|
import com.usoftchina.saas.document.api.ProductApi;
|
|
|
import com.usoftchina.saas.exception.BizException;
|
|
|
import com.usoftchina.saas.exception.ExceptionCode;
|
|
|
@@ -34,7 +33,6 @@ import org.springframework.util.StringUtils;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -53,8 +51,6 @@ public class PurchaseServiceImpl extends CommonBaseServiceImpl<PurchaseMapper, P
|
|
|
@Autowired
|
|
|
private ProductApi productApi;
|
|
|
@Autowired
|
|
|
- private EmployeeApi employeeApi;
|
|
|
- @Autowired
|
|
|
private MaxnumberService maxnumberService;
|
|
|
@Autowired
|
|
|
private ProdInOutMapper prodInOutMapper;
|
|
|
@@ -111,11 +107,6 @@ public class PurchaseServiceImpl extends CommonBaseServiceImpl<PurchaseMapper, P
|
|
|
Long companyId = BaseContextHolder.getCompanyId();
|
|
|
//人员Id
|
|
|
Long userId = BaseContextHolder.getUserId();
|
|
|
-
|
|
|
-
|
|
|
- Map<String,Object> emp = employeeApi.getEmployeeByAccount();
|
|
|
-
|
|
|
-
|
|
|
//获取主表信息
|
|
|
PurchaseDTO main = formdata.getMain();
|
|
|
List<PurchaseDetailDTO> items = formdata.getItems();
|