Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -84,7 +84,7 @@ public class TaskController {
|
||||
historicTaskInstance.put("assigneeId", assignee.getData().getUsid());
|
||||
QueryWrapper queryWrapper2 = new QueryWrapper();
|
||||
queryWrapper2.eq("TASK_ID",historicTaskInstance.get("id"));
|
||||
queryWrapper2.orderByAsc("CREATE_TIME");
|
||||
queryWrapper2.orderByDesc("CREATE_TIME");
|
||||
List<BusProcessEntrust> list1 = iBusProcessEntrustService.list(queryWrapper2);
|
||||
String str = "";
|
||||
if(list1.size()>0){
|
||||
|
||||
@@ -149,6 +149,7 @@ public class TodoTaskController extends BaseAction {
|
||||
BeanUtils.copyProperties(busProcessName,res);
|
||||
res.setTaskIds(map.get("id").toString());
|
||||
res.setTaskInfo(entry.getValue().get(0).get("name").toString());
|
||||
res.setTaskAssignee(entry.getValue().get(0).get("assignee").toString());
|
||||
res.setMes(null);
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
String data = sdf.format(entry.getValue().get(0).get("createTime"));
|
||||
@@ -2084,7 +2085,7 @@ public class TodoTaskController extends BaseAction {
|
||||
for (Task task : list2) {
|
||||
if (task.getAssignee() != null && !task.getAssignee().equals("")) {
|
||||
ResponseMessage<UserVO> byId = lawsUserInfoService.getById(task.getAssignee());
|
||||
if (byId.getData() != null) {
|
||||
if (byId.getData() != null && byId.getData().getUname() != null) {
|
||||
if (assignee.indexOf(byId.getData().getUname()) == -1) {
|
||||
assignee += ((byId.getData().getOrgName() != null && !byId.getData().getOrgName().equals("")) ? byId.getData().getOrgName() + "-" + byId.getData().getUname() : byId.getData().getUname()) + ",";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user