|
@@ -139,7 +139,7 @@ public class ${entity} implements Serializable {
|
|
|
public String toString() {
|
|
|
return "${entity}{" +
|
|
|
#foreach($field in ${table.fields})
|
|
|
-#if($!{velocityCount}==1)
|
|
|
+#if($!{foreach.index}==0)
|
|
|
"${field.propertyName}=" + ${field.propertyName} +
|
|
|
#else
|
|
|
", ${field.propertyName}=" + ${field.propertyName} +
|