新增:国际化多语言支持i18n
This commit is contained in:
@@ -49,6 +49,9 @@ public class CmsWebsiteField implements Serializable {
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String value;
|
||||
|
||||
@ApiModelProperty(value = "国际化语言")
|
||||
private String lang;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
<if test="param.type != null">
|
||||
AND a.type = #{param.type}
|
||||
</if>
|
||||
<if test="param.lang != null">
|
||||
AND a.lang = #{param.lang}
|
||||
</if>
|
||||
<if test="param.name != null">
|
||||
AND a.name LIKE CONCAT('%', #{param.name}, '%')
|
||||
</if>
|
||||
|
||||
@@ -48,6 +48,10 @@ public class CmsWebsiteFieldParam extends BaseParam {
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String value;
|
||||
|
||||
@ApiModelProperty(value = "国际化语言")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private String lang;
|
||||
|
||||
@ApiModelProperty(value = "排序(数字越小越靠前)")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer sortNumber;
|
||||
|
||||
Reference in New Issue
Block a user