mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	表单类型为Integer/Long设置整形默认值
This commit is contained in:
		| @@ -233,7 +233,6 @@ public class VelocityUtils | |||||||
|     public static String getPermissionPrefix(String moduleName, String businessName) |     public static String getPermissionPrefix(String moduleName, String businessName) | ||||||
|     { |     { | ||||||
|         return StringUtils.format("{}:{}", moduleName, businessName); |         return StringUtils.format("{}:{}", moduleName, businessName); | ||||||
|  |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|   | |||||||
| @@ -343,7 +343,7 @@ export default { | |||||||
|       this.form = { |       this.form = { | ||||||
| #foreach ($column in $columns) | #foreach ($column in $columns) | ||||||
| #if($column.htmlType == "radio") | #if($column.htmlType == "radio") | ||||||
|         $column.javaField: "0"#if($velocityCount != $columns.size()),#end |         $column.javaField: #if($column.javaType == "Integer" || $column.javaType == "Long")0#else"0"#end#if($velocityCount != $columns.size()),#end | ||||||
|  |  | ||||||
| #elseif($column.htmlType == "checkbox") | #elseif($column.htmlType == "checkbox") | ||||||
|         $column.javaField: []#if($velocityCount != $columns.size()),#end |         $column.javaField: []#if($velocityCount != $columns.size()),#end | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 RuoYi
					RuoYi