From 859397ea7cc3880beef90862cc37e45e85a51815 Mon Sep 17 00:00:00 2001 From: TinyAnts Date: Wed, 13 Jul 2022 18:25:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E5=99=A8?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/java/serviceImpl.java.vm | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/server/like-generator/src/main/resources/java/serviceImpl.java.vm b/server/like-generator/src/main/resources/java/serviceImpl.java.vm index 2110335e..c37ea3ca 100644 --- a/server/like-generator/src/main/resources/java/serviceImpl.java.vm +++ b/server/like-generator/src/main/resources/java/serviceImpl.java.vm @@ -115,13 +115,13 @@ public class ${EntityName}ServiceImpl implements I${EntityName}Service { #end BeanUtils.copyProperties(item, vo); #if($fields.contains("image")) - vo.setImage(UrlUtil.toAbsoluteUrl(vo.getImage)); + vo.setImage(UrlUtil.toAbsoluteUrl(vo.getImage())); #end #if($fields.contains("avatar")) - vo.setAvatar(UrlUtil.toAbsoluteUrl(vo.getAvatar)) + vo.setAvatar(UrlUtil.toAbsoluteUrl(vo.getAvatar())) #end #if($fields.contains("logo")) - vo.setLogo(UrlUtil.toAbsoluteUrl(vo.getLogo)) + vo.setLogo(UrlUtil.toAbsoluteUrl(vo.getLogo())) #end #if($fields.contains("create_time")) vo.setCreateTime(TimeUtil.timestampToDate(item.getCreateTime())); @@ -208,13 +208,13 @@ public class ${EntityName}ServiceImpl implements I${EntityName}Service { #end BeanUtils.copyProperties(item, vo); #if($fields.contains("image")) - vo.setImage(UrlUtil.toAbsoluteUrl(vo.getImage)) + vo.setImage(UrlUtil.toAbsoluteUrl(vo.getImage())) #end #if($fields.contains("avatar")) - vo.setAvatar(UrlUtil.toAbsoluteUrl(vo.getAvatar)) + vo.setAvatar(UrlUtil.toAbsoluteUrl(vo.getAvatar())) #end #if($fields.contains("logo")) - vo.setLogo(UrlUtil.toAbsoluteUrl(vo.getLogo)) + vo.setLogo(UrlUtil.toAbsoluteUrl(vo.getLogo())) #end #if($fields.contains("create_time")) vo.setCreateTime(TimeUtil.timestampToDate(item.getCreateTime())); @@ -310,13 +310,13 @@ public class ${EntityName}ServiceImpl implements I${EntityName}Service { for (${EntityName}ListVo vo : iPage.getRecords()) { #end #if($fields.contains("image")) - vo.setImage(UrlUtil.toAbsoluteUrl(vo.getImage)); + vo.setImage(UrlUtil.toAbsoluteUrl(vo.getImage())); #end #if($fields.contains("avatar")) - vo.setAvatar(UrlUtil.toAbsoluteUrl(vo.getAvatar)) + vo.setAvatar(UrlUtil.toAbsoluteUrl(vo.getAvatar())) #end #if($fields.contains("logo")) - vo.setLogo(UrlUtil.toAbsoluteUrl(vo.getLogo)) + vo.setLogo(UrlUtil.toAbsoluteUrl(vo.getLogo())) #end #if($fields.contains("create_time")) vo.setCreateTime(TimeUtil.timestampToDate(vo.getCreateTime())); @@ -391,13 +391,13 @@ public class ${EntityName}ServiceImpl implements I${EntityName}Service { #end BeanUtils.copyProperties(item, vo); #if($fields.contains("image")) - vo.setImage(UrlUtil.toAbsoluteUrl(vo.getImage)) + vo.setImage(UrlUtil.toAbsoluteUrl(vo.getImage())) #end #if($fields.contains("avatar")) - vo.setAvatar(UrlUtil.toAbsoluteUrl(vo.getAvatar)) + vo.setAvatar(UrlUtil.toAbsoluteUrl(vo.getAvatar())) #end #if($fields.contains("logo")) - vo.setLogo(UrlUtil.toAbsoluteUrl(vo.getLogo)) + vo.setLogo(UrlUtil.toAbsoluteUrl(vo.getLogo())) #end #if($fields.contains("create_time")) vo.setCreateTime(TimeUtil.timestampToDate(item.getCreateTime()));