mirror of
https://github.com/moshowgame/SpringBootCodeGenerator.git
synced 2026-09-10 19:27:20 +08:00
修复处理number/decimal(x,x)类型的逻辑(感谢@arthaschan的反馈),修复JdbcTemplates模板两处错误(感谢@everflourish的反馈)。
This commit is contained in:
@@ -5,7 +5,7 @@ import java.util.List;
|
||||
* ${classInfo.classComment}
|
||||
* @author ${authorName} ${.now?string('yyyy-MM-dd')}
|
||||
*/
|
||||
public interface IAccountDAO {
|
||||
public interface I${classInfo.className}DAO {
|
||||
|
||||
int add(${classInfo.classComment} ${classInfo.className?uncap_first});
|
||||
|
||||
|
||||
@@ -28,8 +28,7 @@ public class ${classInfo.className}DaoImpl implements I${classInfo.className}Dao
|
||||
<#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0>
|
||||
<#list classInfo.fieldList as fieldItem ><#if fieldItem_index gt 0 >${classInfo.className?uncap_first}.get${fieldItem.fieldName?cap_first}(),</#if></#list>
|
||||
<#list classInfo.fieldList as fieldItem ><#if fieldItem_index = 0 >${classInfo.className?uncap_first}.get${fieldItem.fieldName?cap_first}()</#if></#list>
|
||||
|
||||
</#if>
|
||||
</#if>;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user