|
@@ -334,7 +334,7 @@ func (s *CustomerService) MoveToPubic(Ids []int64) (err error) {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-var AssignCustomerRequestProcessCode = ""
|
|
|
|
|
|
|
+var AssignCustomerRequestProcessCode = "PROC-FE42B2D1-6097-4DE8-8AC5-23541B7D5C8A"
|
|
|
|
|
|
|
|
func ptrString(s string) *string {
|
|
func ptrString(s string) *string {
|
|
|
return &s
|
|
return &s
|
|
@@ -366,7 +366,19 @@ func (s *CustomerService) AssignCustomerRequest(ctx context.Context, req *model.
|
|
|
ProcessCode: &AssignCustomerRequestProcessCode,
|
|
ProcessCode: &AssignCustomerRequestProcessCode,
|
|
|
FormComponentValues: []*workflow.StartProcessInstanceRequestFormComponentValues{
|
|
FormComponentValues: []*workflow.StartProcessInstanceRequestFormComponentValues{
|
|
|
{
|
|
{
|
|
|
- Name: ptrString(""),
|
|
|
|
|
|
|
+ Name: ptrString("客户编码"),
|
|
|
|
|
+ Value: ptrString(u.CustCode),
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ Name: ptrString("客户名称"),
|
|
|
|
|
+ Value: ptrString(u.CustName),
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ Name: ptrString("申请人"),
|
|
|
|
|
+ Value: ptrString(s.GetCxtUserName()),
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ Name: ptrString("申请说明"),
|
|
|
Value: ptrString(""),
|
|
Value: ptrString(""),
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|