获取采购清单
parent
0d9bb22728
commit
a6734fd6bd
|
@ -217,7 +217,7 @@ public class ProjectProcessService {
|
|||
|
||||
if (processId != null) {
|
||||
// 根据 processId 确定唯一的 BudgetPurchaseAmount 用作获取详情 , 可能还未创建
|
||||
BudgetPurchaseAmount purchaseAmount = getPurchaseAmount(projectId, processId);
|
||||
BudgetPurchaseAmount purchaseAmount = getPurchaseAmount(costDetail.getId(), processId);
|
||||
if (purchaseAmount != null) {
|
||||
Integer amountId = purchaseAmount.getId();
|
||||
List<BudgetPurchaseDetail> purchaseDetails = getBudgetPurchaseDetails(amountId);
|
||||
|
|
|
@ -83,8 +83,9 @@ create table procurement_contract_budget_purchase_amount
|
|||
UNIQUE key (process_id, budget_cost_id)
|
||||
) comment '采购合同流程预算采购明细的数量记录';
|
||||
|
||||
alter table procurement_contract_budget_purchase_amount
|
||||
add amount decimal(11, 2) comment '总共要采购数量' after id;
|
||||
alter table procurement_contract_budget_purchase_detail
|
||||
add budget_cost_id int not null comment '成本ID'
|
||||
;
|
||||
|
||||
create table procurement_contract_budget_purchase_detail
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue