yangys
2025-08-26 a0e37c52980249847ac896d320ef097fda49ad3a
blade-service/blade-mdm/src/main/java/org/springblade/mdm/basesetting/producedivision/service/ProduceDivisionService.java
@@ -176,11 +176,11 @@
      Long programmerId = tUserService.getUserIdByName(qinzheFgb.getZggy());
      if(programmerId == null){
         throw new ServiceException("根据"+qinzheFgb.getZggy()+"未找到对应的系统用户,请检查用户是否存在");
         throw new ServiceException("根据["+qinzheFgb.getZggy()+"]未找到对应的系统用户,请检查用户是否存在");
      }
      ProduceDivision division = lambdaQuery().eq(ProduceDivision::getProgrammerId, programmerId).list().stream().findFirst().orElse(null);
      if(division == null){
         throw new ServiceException("主制分工表无工艺员"+qinzheFgb.getZggy()+"对应的数据");
         throw new ServiceException("主制分工表无工艺员["+qinzheFgb.getZggy()+"]对应的数据");
      }
      return division;