Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
roncoo
roncoo-education
提交
63fbafad
R
roncoo-education
项目概览
roncoo
/
roncoo-education
大约 1 年 前同步成功
通知
146
Star
5
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roncoo-education
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
63fbafad
编写于
12月 19, 2018
作者:
Y
YZJ
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加了logo_img和logo_ico字段
上级
69434135
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
207 addition
and
5 deletion
+207
-5
roncoo-education-system/roncoo-education-system-common/src/main/java/com/roncoo/education/system/common/bean/dto/WebsiteDTO.java
...m/roncoo/education/system/common/bean/dto/WebsiteDTO.java
+8
-0
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/dao/impl/mapper/entity/Website.java
...cation/system/service/dao/impl/mapper/entity/Website.java
+22
-0
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/dao/impl/mapper/entity/WebsiteExample.java
...system/service/dao/impl/mapper/entity/WebsiteExample.java
+140
-0
roncoo-education-system/roncoo-education-system-service/src/main/resources/mybatis/WebsiteMapper.xml
...stem-service/src/main/resources/mybatis/WebsiteMapper.xml
+37
-5
未找到文件。
roncoo-education-system/roncoo-education-system-common/src/main/java/com/roncoo/education/system/common/bean/dto/WebsiteDTO.java
浏览文件 @
63fbafad
...
...
@@ -93,4 +93,12 @@ public class WebsiteDTO implements Serializable {
* 客服信息5
*/
private
String
service5
;
/**
* logoImg
*/
private
String
logoImg
;
/**
* logoIco
*/
private
String
logoIco
;
}
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/dao/impl/mapper/entity/Website.java
浏览文件 @
63fbafad
...
...
@@ -54,6 +54,10 @@ public class Website implements Serializable {
private
Integer
picy
;
private
String
logoImg
;
private
String
logoIco
;
private
static
final
long
serialVersionUID
=
1L
;
public
Long
getId
()
{
...
...
@@ -256,6 +260,22 @@ public class Website implements Serializable {
this
.
picy
=
picy
;
}
public
String
getLogoImg
()
{
return
logoImg
;
}
public
void
setLogoImg
(
String
logoImg
)
{
this
.
logoImg
=
logoImg
==
null
?
null
:
logoImg
.
trim
();
}
public
String
getLogoIco
()
{
return
logoIco
;
}
public
void
setLogoIco
(
String
logoIco
)
{
this
.
logoIco
=
logoIco
==
null
?
null
:
logoIco
.
trim
();
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
...
...
@@ -287,6 +307,8 @@ public class Website implements Serializable {
sb
.
append
(
", picWatermark="
).
append
(
picWatermark
);
sb
.
append
(
", picx="
).
append
(
picx
);
sb
.
append
(
", picy="
).
append
(
picy
);
sb
.
append
(
", logoImg="
).
append
(
logoImg
);
sb
.
append
(
", logoIco="
).
append
(
logoIco
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
...
...
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/dao/impl/mapper/entity/WebsiteExample.java
浏览文件 @
63fbafad
...
...
@@ -1764,6 +1764,146 @@ public class WebsiteExample {
addCriterion
(
"picy not between"
,
value1
,
value2
,
"picy"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgIsNull
()
{
addCriterion
(
"logo_img is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgIsNotNull
()
{
addCriterion
(
"logo_img is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgEqualTo
(
String
value
)
{
addCriterion
(
"logo_img ="
,
value
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgNotEqualTo
(
String
value
)
{
addCriterion
(
"logo_img <>"
,
value
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgGreaterThan
(
String
value
)
{
addCriterion
(
"logo_img >"
,
value
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"logo_img >="
,
value
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgLessThan
(
String
value
)
{
addCriterion
(
"logo_img <"
,
value
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"logo_img <="
,
value
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgLike
(
String
value
)
{
addCriterion
(
"logo_img like"
,
value
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgNotLike
(
String
value
)
{
addCriterion
(
"logo_img not like"
,
value
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgIn
(
List
<
String
>
values
)
{
addCriterion
(
"logo_img in"
,
values
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"logo_img not in"
,
values
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"logo_img between"
,
value1
,
value2
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoImgNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"logo_img not between"
,
value1
,
value2
,
"logoImg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoIsNull
()
{
addCriterion
(
"logo_ico is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoIsNotNull
()
{
addCriterion
(
"logo_ico is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoEqualTo
(
String
value
)
{
addCriterion
(
"logo_ico ="
,
value
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoNotEqualTo
(
String
value
)
{
addCriterion
(
"logo_ico <>"
,
value
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoGreaterThan
(
String
value
)
{
addCriterion
(
"logo_ico >"
,
value
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"logo_ico >="
,
value
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoLessThan
(
String
value
)
{
addCriterion
(
"logo_ico <"
,
value
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"logo_ico <="
,
value
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoLike
(
String
value
)
{
addCriterion
(
"logo_ico like"
,
value
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoNotLike
(
String
value
)
{
addCriterion
(
"logo_ico not like"
,
value
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoIn
(
List
<
String
>
values
)
{
addCriterion
(
"logo_ico in"
,
values
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"logo_ico not in"
,
values
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"logo_ico between"
,
value1
,
value2
,
"logoIco"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLogoIcoNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"logo_ico not between"
,
value1
,
value2
,
"logoIco"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
...
...
roncoo-education-system/roncoo-education-system-service/src/main/resources/mybatis/WebsiteMapper.xml
浏览文件 @
63fbafad
...
...
@@ -27,6 +27,8 @@
<result
column=
"pic_watermark"
property=
"picWatermark"
jdbcType=
"VARCHAR"
/>
<result
column=
"picx"
property=
"picx"
jdbcType=
"INTEGER"
/>
<result
column=
"picy"
property=
"picy"
jdbcType=
"INTEGER"
/>
<result
column=
"logo_img"
property=
"logoImg"
jdbcType=
"VARCHAR"
/>
<result
column=
"logo_ico"
property=
"logoIco"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
...
...
@@ -90,7 +92,7 @@
id, gmt_create, gmt_modified, status_id, sort, website_title, website_keyword, website_desc,
copyright, weixin, weibo, is_enable_statistics, statistics_code, is_show_service,
service1, service2, service3, service4, service5, polyv_status, polyv_logo, is_watermark,
pic_watermark, picx, picy
pic_watermark, picx, picy
, logo_img, logo_ico
</sql>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"com.roncoo.education.system.service.dao.impl.mapper.entity.WebsiteExample"
>
select
...
...
@@ -134,7 +136,8 @@
service2, service3, service4,
service5, polyv_status, polyv_logo,
is_watermark, pic_watermark, picx,
picy)
picy, logo_img, logo_ico
)
values (#{id,jdbcType=BIGINT}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{statusId,jdbcType=TINYINT}, #{sort,jdbcType=INTEGER}, #{websiteTitle,jdbcType=VARCHAR},
#{websiteKeyword,jdbcType=VARCHAR}, #{websiteDesc,jdbcType=VARCHAR}, #{copyright,jdbcType=VARCHAR},
...
...
@@ -143,7 +146,8 @@
#{service2,jdbcType=VARCHAR}, #{service3,jdbcType=VARCHAR}, #{service4,jdbcType=VARCHAR},
#{service5,jdbcType=VARCHAR}, #{polyvStatus,jdbcType=TINYINT}, #{polyvLogo,jdbcType=VARCHAR},
#{isWatermark,jdbcType=TINYINT}, #{picWatermark,jdbcType=VARCHAR}, #{picx,jdbcType=INTEGER},
#{picy,jdbcType=INTEGER})
#{picy,jdbcType=INTEGER}, #{logoImg,jdbcType=VARCHAR}, #{logoIco,jdbcType=VARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.roncoo.education.system.service.dao.impl.mapper.entity.Website"
>
insert into website
...
...
@@ -223,6 +227,12 @@
<if
test=
"picy != null"
>
picy,
</if>
<if
test=
"logoImg != null"
>
logo_img,
</if>
<if
test=
"logoIco != null"
>
logo_ico,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
...
...
@@ -300,6 +310,12 @@
<if
test=
"picy != null"
>
#{picy,jdbcType=INTEGER},
</if>
<if
test=
"logoImg != null"
>
#{logoImg,jdbcType=VARCHAR},
</if>
<if
test=
"logoIco != null"
>
#{logoIco,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.roncoo.education.system.service.dao.impl.mapper.entity.WebsiteExample"
resultType=
"java.lang.Integer"
>
...
...
@@ -386,6 +402,12 @@
<if
test=
"record.picy != null"
>
picy = #{record.picy,jdbcType=INTEGER},
</if>
<if
test=
"record.logoImg != null"
>
logo_img = #{record.logoImg,jdbcType=VARCHAR},
</if>
<if
test=
"record.logoIco != null"
>
logo_ico = #{record.logoIco,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
...
...
@@ -417,7 +439,9 @@
is_watermark = #{record.isWatermark,jdbcType=TINYINT},
pic_watermark = #{record.picWatermark,jdbcType=VARCHAR},
picx = #{record.picx,jdbcType=INTEGER},
picy = #{record.picy,jdbcType=INTEGER}
picy = #{record.picy,jdbcType=INTEGER},
logo_img = #{record.logoImg,jdbcType=VARCHAR},
logo_ico = #{record.logoIco,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
...
...
@@ -497,6 +521,12 @@
<if
test=
"picy != null"
>
picy = #{picy,jdbcType=INTEGER},
</if>
<if
test=
"logoImg != null"
>
logo_img = #{logoImg,jdbcType=VARCHAR},
</if>
<if
test=
"logoIco != null"
>
logo_ico = #{logoIco,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
...
...
@@ -525,7 +555,9 @@
is_watermark = #{isWatermark,jdbcType=TINYINT},
pic_watermark = #{picWatermark,jdbcType=VARCHAR},
picx = #{picx,jdbcType=INTEGER},
picy = #{picy,jdbcType=INTEGER}
picy = #{picy,jdbcType=INTEGER},
logo_img = #{logoImg,jdbcType=VARCHAR},
logo_ico = #{logoIco,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录