xx
孔祥富
2021-03-11 0eb627e6ce15f62b0b33e1ccac12d98d2146efd8
febs-server/febs-server-hr/src/main/java/cc/mrbird/febs/server/hr/service/impl/EmpLaborTroubleServiceImpl.java
@@ -88,7 +88,7 @@
         queryWrapper.eq("a.ArbitrationStatus", empLabortrouble.getArbitrationStatus());
      }
      if (StringUtils.isNotBlank(empLabortrouble.getEmpStatus())) {
         queryWrapper.eq("a.EmpStatus", empLabortrouble.getEmpStatus());
         queryWrapper.in("a.EmpStatus", empLabortrouble.getEmpStatus().split(","));
      }
      if (StringUtils.isNotBlank(empLabortrouble.getArbitrationReason())) {
         queryWrapper.like("a.ArbitrationReason", empLabortrouble.getArbitrationReason());
@@ -177,7 +177,7 @@
   @Override
   @Transactional(rollbackFor = Exception.class)
   public void importEmpLaborTrouble(List<List<Object>> listObject,List<String>  returnList) {
   public void importEmpLaborTrouble(List<List<Object>> listObject,List<String>  returnList,List<DicItem> dicItems ) {
      for (List<Object> list : listObject) {
         if (list.size()==0){
            continue;
@@ -206,7 +206,14 @@
         if (StringUtils.isNotBlank(list.get(5).toString())) {
            empLabortrouble.setArbitrationDate(DateUtil.parseDateTime(list.get(5).toString()));
         }
         empLabortrouble.setArbitrationType(list.get(6).toString());
         //仲裁类型
         DicItem  dicItem =dicItems.parallelStream().filter(j->StrUtil.equalsIgnoreCase(j.getDicCode(),"zctype")&&StrUtil.equals(j.getDicItemName(),list.get(6).toString())).findFirst().orElse(null);
         if (null!=dicItem){
            empLabortrouble.setArbitrationType(dicItem.getDicItemCode());
         }
         empLabortrouble.setArbitrationReason(list.get(7).toString());
         empLabortrouble.setReporter(list.get(8).toString());
         empLabortrouble.setRemark(list.get(9).toString());