Browse Source

修复龙泉仓查询盘点数据报错

training
pref_mail@163.com 1 year ago
parent
commit
4f7594961d
  1. 11
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java

11
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/TaskQuestServiceImpl.java

@ -922,7 +922,16 @@ public class TaskQuestServiceImpl extends BaseServiceImpl<TaskQuestMapper, TaskQ
}
if(!i.getQuestStatus().equals(0)){
R<List<User>> listR = userSearchClient.listByUser(String.valueOf(i.getUpdateUser()));
questDetailVO.setInventoryPerson(listR.getData().get(0).getName());
if(ObjectUtils.isNotNull(listR.getData())){
List<User> data = listR.getData();
if(ObjectUtils.isNotNull(data)){
User user = data.get(0);
if(user!=null){
questDetailVO.setInventoryPerson(user.getName());
}
}
}
questDetailVO.setInventoryDate(i.getUpdateTime());
}

Loading…
Cancel
Save