diff --git a/pjcloud-hardware/pjcloud-hardware-api/src/main/java/com/bsd/pjcloud/hard/api/utils/Drawing2D.java b/pjcloud-hardware/pjcloud-hardware-api/src/main/java/com/bsd/pjcloud/hard/api/utils/Drawing2D.java index 1e400faa2..696dfc1d9 100644 --- a/pjcloud-hardware/pjcloud-hardware-api/src/main/java/com/bsd/pjcloud/hard/api/utils/Drawing2D.java +++ b/pjcloud-hardware/pjcloud-hardware-api/src/main/java/com/bsd/pjcloud/hard/api/utils/Drawing2D.java @@ -140,7 +140,7 @@ public class Drawing2D { public Drawing2D setDefaultStyle() { graphics.setColor(Color.BLACK); - graphics.setFont(new Font(fontFamily, Font.PLAIN, 22)); + graphics.setFont(new Font(fontFamily, Font.PLAIN, 24)); return this; } diff --git a/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/mapper/zy/ThirdZyIdDictMapper.java b/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/mapper/zy/ThirdZyIdDictMapper.java index 0de046018..c8ddb5ea3 100644 --- a/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/mapper/zy/ThirdZyIdDictMapper.java +++ b/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/mapper/zy/ThirdZyIdDictMapper.java @@ -14,32 +14,36 @@ public interface ThirdZyIdDictMapper extends PjcloudBaseMapper getBySelfIds(ThirdZyBizEnumType type, List selfIds) { if (ObjectUtil.isEmpty(type)) return null; + if (ObjectUtil.isEmpty(selfIds)) return null; LambdaQueryWrapper wrapper = new LambdaQueryWrapper() - .in(ObjectUtil.isNotEmpty(selfIds), ThirdZyIdDictEntity::getSelfId, selfIds) + .in(ThirdZyIdDictEntity::getSelfId, selfIds) .eq(ThirdZyIdDictEntity::getBizType, type.getType()); return selectList(wrapper); } default ThirdZyIdDictEntity getBySelfId(ThirdZyBizEnumType type, String selfId) { if (ObjectUtil.isEmpty(type)) return null; + if (ObjectUtil.isEmpty(selfId)) return null; LambdaQueryWrapper wrapper = new LambdaQueryWrapper() - .eq(ObjectUtil.isNotEmpty(selfId), ThirdZyIdDictEntity::getSelfId, selfId) + .eq(ThirdZyIdDictEntity::getSelfId, selfId) .eq(ThirdZyIdDictEntity::getBizType, type.getType()); return selectOne(wrapper); } default List getByZyIds(ThirdZyBizEnumType type, List zyIds) { if (ObjectUtil.isEmpty(type)) return null; + if (ObjectUtil.isEmpty(zyIds)) return null; LambdaQueryWrapper wrapper = new LambdaQueryWrapper() - .in(ObjectUtil.isNotEmpty(zyIds), ThirdZyIdDictEntity::getZyId, zyIds) + .in(ThirdZyIdDictEntity::getZyId, zyIds) .eq(ThirdZyIdDictEntity::getBizType, type.getType()); return selectList(wrapper); } default ThirdZyIdDictEntity getByZyIds(ThirdZyBizEnumType type, String zyId) { if (ObjectUtil.isEmpty(type)) return null; + if (ObjectUtil.isEmpty(zyId)) return null; LambdaQueryWrapper wrapper = new LambdaQueryWrapper() - .eq(ObjectUtil.isNotEmpty(zyId), ThirdZyIdDictEntity::getZyId, zyId) + .eq(ThirdZyIdDictEntity::getZyId, zyId) .eq(ThirdZyIdDictEntity::getBizType, type.getType()); return selectOne(wrapper); }