|
@ -412,7 +412,7 @@ public class TbsCostApplyServiceImpl extends ServiceImpl<TbsCostApplyMapper,TbsC |
|
|
}else { |
|
|
}else { |
|
|
Long supplierId = activityList.get(0).getSupplierId(); |
|
|
Long supplierId = activityList.get(0).getSupplierId(); |
|
|
BmsSupplier supplier = bmsSupplierService.getById(supplierId); |
|
|
BmsSupplier supplier = bmsSupplierService.getById(supplierId); |
|
|
if(!supplier.getSupplierFlag().equals(1)){ |
|
|
if(!supplier.getSupplierFlag().equals(1)&&!supplier.getSupplierFlag().equals(2)){ |
|
|
Assert.throwEx("协议类申请只对供应商开放"); |
|
|
Assert.throwEx("协议类申请只对供应商开放"); |
|
|
} |
|
|
} |
|
|
BigDecimal total = activityList.get(0).getTotalAmount(); |
|
|
BigDecimal total = activityList.get(0).getTotalAmount(); |
|
|