Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
roncoo
roncoo-education
提交
22bf1b93
R
roncoo-education
项目概览
roncoo
/
roncoo-education
10 个月 前同步成功
通知
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,体验更适合开发者的 AI 搜索 >>
提交
22bf1b93
编写于
3月 11, 2019
作者:
K
keyinghao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改
上级
672bbeb4
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
199 addition
and
7 deletion
+199
-7
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/dao/impl/mapper/entity/Sys.java
.../education/system/service/dao/impl/mapper/entity/Sys.java
+22
-0
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/dao/impl/mapper/entity/SysExample.java
...ion/system/service/dao/impl/mapper/entity/SysExample.java
+140
-0
roncoo-education-system/roncoo-education-system-service/src/main/resources/mybatis/SysMapper.xml
...n-system-service/src/main/resources/mybatis/SysMapper.xml
+37
-7
未找到文件。
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/dao/impl/mapper/entity/Sys.java
浏览文件 @
22bf1b93
...
...
@@ -46,6 +46,10 @@ public class Sys implements Serializable {
private
String
notifyUrl
;
private
String
smsCode
;
private
String
signName
;
private
static
final
long
serialVersionUID
=
1L
;
public
Long
getId
()
{
...
...
@@ -216,6 +220,22 @@ public class Sys implements Serializable {
this
.
notifyUrl
=
notifyUrl
==
null
?
null
:
notifyUrl
.
trim
();
}
public
String
getSmsCode
()
{
return
smsCode
;
}
public
void
setSmsCode
(
String
smsCode
)
{
this
.
smsCode
=
smsCode
==
null
?
null
:
smsCode
.
trim
();
}
public
String
getSignName
()
{
return
signName
;
}
public
void
setSignName
(
String
signName
)
{
this
.
signName
=
signName
==
null
?
null
:
signName
.
trim
();
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
...
...
@@ -243,6 +263,8 @@ public class Sys implements Serializable {
sb
.
append
(
", payKey="
).
append
(
payKey
);
sb
.
append
(
", paySecret="
).
append
(
paySecret
);
sb
.
append
(
", notifyUrl="
).
append
(
notifyUrl
);
sb
.
append
(
", smsCode="
).
append
(
smsCode
);
sb
.
append
(
", signName="
).
append
(
signName
);
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/SysExample.java
浏览文件 @
22bf1b93
...
...
@@ -1514,6 +1514,146 @@ public class SysExample {
addCriterion
(
"notify_url not between"
,
value1
,
value2
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeIsNull
()
{
addCriterion
(
"sms_code is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeIsNotNull
()
{
addCriterion
(
"sms_code is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeEqualTo
(
String
value
)
{
addCriterion
(
"sms_code ="
,
value
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeNotEqualTo
(
String
value
)
{
addCriterion
(
"sms_code <>"
,
value
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeGreaterThan
(
String
value
)
{
addCriterion
(
"sms_code >"
,
value
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"sms_code >="
,
value
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeLessThan
(
String
value
)
{
addCriterion
(
"sms_code <"
,
value
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"sms_code <="
,
value
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeLike
(
String
value
)
{
addCriterion
(
"sms_code like"
,
value
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeNotLike
(
String
value
)
{
addCriterion
(
"sms_code not like"
,
value
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeIn
(
List
<
String
>
values
)
{
addCriterion
(
"sms_code in"
,
values
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"sms_code not in"
,
values
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"sms_code between"
,
value1
,
value2
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSmsCodeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"sms_code not between"
,
value1
,
value2
,
"smsCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameIsNull
()
{
addCriterion
(
"sign_name is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameIsNotNull
()
{
addCriterion
(
"sign_name is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameEqualTo
(
String
value
)
{
addCriterion
(
"sign_name ="
,
value
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameNotEqualTo
(
String
value
)
{
addCriterion
(
"sign_name <>"
,
value
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameGreaterThan
(
String
value
)
{
addCriterion
(
"sign_name >"
,
value
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"sign_name >="
,
value
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameLessThan
(
String
value
)
{
addCriterion
(
"sign_name <"
,
value
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"sign_name <="
,
value
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameLike
(
String
value
)
{
addCriterion
(
"sign_name like"
,
value
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameNotLike
(
String
value
)
{
addCriterion
(
"sign_name not like"
,
value
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"sign_name in"
,
values
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"sign_name not in"
,
values
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"sign_name between"
,
value1
,
value2
,
"signName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andSignNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"sign_name not between"
,
value1
,
value2
,
"signName"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
{
...
...
roncoo-education-system/roncoo-education-system-service/src/main/resources/mybatis/SysMapper.xml
浏览文件 @
22bf1b93
...
...
@@ -23,6 +23,8 @@
<result
column=
"pay_key"
property=
"payKey"
jdbcType=
"VARCHAR"
/>
<result
column=
"pay_secret"
property=
"paySecret"
jdbcType=
"VARCHAR"
/>
<result
column=
"notify_url"
property=
"notifyUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"sms_code"
property=
"smsCode"
jdbcType=
"VARCHAR"
/>
<result
column=
"sign_name"
property=
"signName"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
...
...
@@ -86,7 +88,7 @@
id, gmt_create, gmt_modified, status_id, sort, video_type, polyv_useid, polyv_writetoken,
polyv_readtoken, polyv_secretkey, file_type, aliyun_access_key_id, aliyun_access_key_secret,
aliyun_oss_url, aliyun_oss_bucket, aliyun_oas_vault, pay_type, pay_url, pay_key,
pay_secret, notify_url
pay_secret, notify_url
, sms_code, sign_name
</sql>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"com.roncoo.education.system.service.dao.impl.mapper.entity.SysExample"
>
select
...
...
@@ -128,16 +130,16 @@
polyv_secretkey, file_type, aliyun_access_key_id,
aliyun_access_key_secret, aliyun_oss_url, aliyun_oss_bucket,
aliyun_oas_vault, pay_type, pay_url,
pay_key, pay_secret, notify_url
)
pay_key, pay_secret, notify_url
,
sms_code, sign_name
)
values (#{id,jdbcType=BIGINT}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP},
#{statusId,jdbcType=TINYINT}, #{sort,jdbcType=INTEGER}, #{videoType,jdbcType=TINYINT},
#{polyvUseid,jdbcType=VARCHAR}, #{polyvWritetoken,jdbcType=VARCHAR}, #{polyvReadtoken,jdbcType=VARCHAR},
#{polyvSecretkey,jdbcType=VARCHAR}, #{fileType,jdbcType=TINYINT}, #{aliyunAccessKeyId,jdbcType=VARCHAR},
#{aliyunAccessKeySecret,jdbcType=VARCHAR}, #{aliyunOssUrl,jdbcType=VARCHAR}, #{aliyunOssBucket,jdbcType=VARCHAR},
#{aliyunOasVault,jdbcType=VARCHAR}, #{payType,jdbcType=TINYINT}, #{payUrl,jdbcType=VARCHAR},
#{payKey,jdbcType=VARCHAR}, #{paySecret,jdbcType=VARCHAR}, #{notifyUrl,jdbcType=VARCHAR}
)
#{payKey,jdbcType=VARCHAR}, #{paySecret,jdbcType=VARCHAR}, #{notifyUrl,jdbcType=VARCHAR}
,
#{smsCode,jdbcType=VARCHAR}, #{signName,jdbcType=VARCHAR}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.roncoo.education.system.service.dao.impl.mapper.entity.Sys"
>
insert into sys
...
...
@@ -205,6 +207,12 @@
<if
test=
"notifyUrl != null"
>
notify_url,
</if>
<if
test=
"smsCode != null"
>
sms_code,
</if>
<if
test=
"signName != null"
>
sign_name,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
...
...
@@ -270,6 +278,12 @@
<if
test=
"notifyUrl != null"
>
#{notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"smsCode != null"
>
#{smsCode,jdbcType=VARCHAR},
</if>
<if
test=
"signName != null"
>
#{signName,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.roncoo.education.system.service.dao.impl.mapper.entity.SysExample"
resultType=
"java.lang.Integer"
>
...
...
@@ -344,6 +358,12 @@
<if
test=
"record.notifyUrl != null"
>
notify_url = #{record.notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"record.smsCode != null"
>
sms_code = #{record.smsCode,jdbcType=VARCHAR},
</if>
<if
test=
"record.signName != null"
>
sign_name = #{record.signName,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
...
...
@@ -371,7 +391,9 @@
pay_url = #{record.payUrl,jdbcType=VARCHAR},
pay_key = #{record.payKey,jdbcType=VARCHAR},
pay_secret = #{record.paySecret,jdbcType=VARCHAR},
notify_url = #{record.notifyUrl,jdbcType=VARCHAR}
notify_url = #{record.notifyUrl,jdbcType=VARCHAR},
sms_code = #{record.smsCode,jdbcType=VARCHAR},
sign_name = #{record.signName,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
...
...
@@ -439,6 +461,12 @@
<if
test=
"notifyUrl != null"
>
notify_url = #{notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"smsCode != null"
>
sms_code = #{smsCode,jdbcType=VARCHAR},
</if>
<if
test=
"signName != null"
>
sign_name = #{signName,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
...
...
@@ -463,7 +491,9 @@
pay_url = #{payUrl,jdbcType=VARCHAR},
pay_key = #{payKey,jdbcType=VARCHAR},
pay_secret = #{paySecret,jdbcType=VARCHAR},
notify_url = #{notifyUrl,jdbcType=VARCHAR}
notify_url = #{notifyUrl,jdbcType=VARCHAR},
sms_code = #{smsCode,jdbcType=VARCHAR},
sign_name = #{signName,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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录