漏提交~

dep_wangsr
RuoYi 6 years ago committed by Limy
parent 80fe171e43
commit 62f1b53483

@ -4,6 +4,7 @@ import java.io.Serializable;
import java.util.Date; import java.util.Date;
import java.util.Map; import java.util.Map;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.common.collect.Maps;
/** /**
* Entity * Entity
@ -99,6 +100,10 @@ public class BaseEntity implements Serializable
public Map<String, Object> getParams() public Map<String, Object> getParams()
{ {
if (params == null)
{
params = Maps.newHashMap();
}
return params; return params;
} }
@ -106,5 +111,4 @@ public class BaseEntity implements Serializable
{ {
this.params = params; this.params = params;
} }
} }

@ -39,11 +39,11 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">性别:</label> <label class="col-sm-3 control-label">性别:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<div class="radio radio-info radio-inline"> <div class="radio-box">
<input type="radio" id="radio1" th:field="*{sex}" name="sex" value="0"> <input type="radio" id="radio1" th:field="*{sex}" name="sex" value="0">
<label for="radio1"></label> <label for="radio1"></label>
</div> </div>
<div class="radio radio-danger radio-inline"> <div class="radio-box">
<input type="radio" id="radio2" th:field="*{sex}" name="sex" value="1"> <input type="radio" id="radio2" th:field="*{sex}" name="sex" value="1">
<label for="radio2"></label> <label for="radio2"></label>
</div> </div>

Loading…
Cancel
Save