Browse Source

修改投手下拉列表

Letianhua 1 year ago
parent
commit
476b6f8c9e

+ 3 - 0
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/service/impl/PitcherListServiceImpl.java

@@ -43,6 +43,9 @@ public class PitcherListServiceImpl implements IPitcherListService {
         if (StringUtils.isNotBlank(dto.getSourceSystem())) {
             cir.where().andEquals("source_system", dto.getSourceSystem());
         }
+        //投手id、投手名为空排除掉
+        cir.where().andNotIsNull("zx_pitcher_id");
+        cir.where().andNotIsNull("zx_pitcher_name");
         //查询投手信息
         Sql sql = Sqls.create("""
                 SELECT