在测试类里 第一个方法 .startProcessInstanceByKey(processDefinitionKey,variables); 里面设置的 "PTM" 并不是 Assignee , 而是上下文的变量而已 所以 后面的方法 taskquery 用 "PTM" 查不出来~ 求答复