|
|
@@ -686,6 +686,22 @@ func (this *PaymentInfoController) ReceiveMoneyBillList() {
|
|
|
|
|
|
svc.InsertEntity(&invoiceInfo)
|
|
|
|
|
|
+ userSvc := userRole.GetUserService(utils.DBE)
|
|
|
+ paramSvc := baseparameter.GetBaseparameterService(utils.DBE)
|
|
|
+ financeRoleId := paramSvc.GetBaseparameterMessage("", "paramset", "FinanceRoleId")
|
|
|
+ ids := userSvc.GetUserIdsByRoleId(financeRoleId)
|
|
|
+ tempStr := strings.Join(ids, ",")
|
|
|
+ uids := strings.Replace(tempStr, "uid_", "", -1)
|
|
|
+ uids = strings.Trim(uids, ",")
|
|
|
+
|
|
|
+ businessKey := strconv.Itoa(invoiceInfo.Id)
|
|
|
+ result := "1"
|
|
|
+ processInstanceId := svcActiviti.StartProcess2(workflow.OIL_SUPPLIER_VERIFY, businessKey, uids, result, "04", suppentity.SupplierName)
|
|
|
+ invoiceInfo.WorkflowId = processInstanceId
|
|
|
+ cols := []string{"WorkflowId"}
|
|
|
+ svc.UpdateEntityByIdCols(invoiceInfo.Id, &invoiceInfo, cols)
|
|
|
+
|
|
|
+
|
|
|
//记录对账日志
|
|
|
paymentBankInfo := new(paymentbankinfo.OilPaymentBankInfo)
|
|
|
paymentBankInfo.BillIds = billParams.Ids
|