Merge remote-tracking branch 'origin/master'

This commit is contained in:
zjf committed 2025-03-20 17:31:38 +08:00
commit af9d9965f9
2 files changed
+9 -5

No files matched your search

@@ -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;
}
@@ -14,32 +14,36 @@ public interface ThirdZyIdDictMapper extends PjcloudBaseMapper<ThirdZyIdDictEnti
default List<ThirdZyIdDictEntity> getBySelfIds(ThirdZyBizEnumType type, List<String> selfIds) {
if (ObjectUtil.isEmpty(type)) return null;
if (ObjectUtil.isEmpty(selfIds)) return null;
LambdaQueryWrapper<ThirdZyIdDictEntity> wrapper = new LambdaQueryWrapper<ThirdZyIdDictEntity>()
.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<ThirdZyIdDictEntity> wrapper = new LambdaQueryWrapper<ThirdZyIdDictEntity>()
.eq(ObjectUtil.isNotEmpty(selfId), ThirdZyIdDictEntity::getSelfId, selfId)
.eq(ThirdZyIdDictEntity::getSelfId, selfId)
.eq(ThirdZyIdDictEntity::getBizType, type.getType());
return selectOne(wrapper);
}
default List<ThirdZyIdDictEntity> getByZyIds(ThirdZyBizEnumType type, List<String> zyIds) {
if (ObjectUtil.isEmpty(type)) return null;
if (ObjectUtil.isEmpty(zyIds)) return null;
LambdaQueryWrapper<ThirdZyIdDictEntity> wrapper = new LambdaQueryWrapper<ThirdZyIdDictEntity>()
.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<ThirdZyIdDictEntity> wrapper = new LambdaQueryWrapper<ThirdZyIdDictEntity>()
.eq(ObjectUtil.isNotEmpty(zyId), ThirdZyIdDictEntity::getZyId, zyId)
.eq(ThirdZyIdDictEntity::getZyId, zyId)
.eq(ThirdZyIdDictEntity::getBizType, type.getType());
return selectOne(wrapper);
}