Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
lic
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
inroi
lic
Commits
5371a80d
提交
5371a80d
authored
9月 16, 2022
作者:
inroi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
微调
上级
4e24d3ec
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
16 行增加
和
10 行删除
+16
-10
LicInfoMapper.java
lic-system/src/main/java/com/system/dao/LicInfoMapper.java
+4
-1
LicVerificationMapper.java
...m/src/main/java/com/system/dao/LicVerificationMapper.java
+4
-1
LicInfoMapper.xml
...tem/src/main/java/com/system/dao/mapper/LicInfoMapper.xml
+2
-2
LicVerificationMapper.xml
...main/java/com/system/dao/mapper/LicVerificationMapper.xml
+4
-4
LicInfoServiceImpl.java
...main/java/com/system/serivce/impl/LicInfoServiceImpl.java
+1
-1
LicVerificationServiceImpl.java
...a/com/system/serivce/impl/LicVerificationServiceImpl.java
+1
-1
没有找到文件。
lic-system/src/main/java/com/system/dao/LicInfoMapper.java
浏览文件 @
5371a80d
package
com
.
system
.
dao
;
package
com
.
system
.
dao
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.system.transfer.lic.*
;
import
com.system.transfer.lic.*
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -12,10 +14,11 @@ public interface LicInfoMapper {
...
@@ -12,10 +14,11 @@ public interface LicInfoMapper {
/**
/**
* Lic信息列表
* Lic信息列表
*
*
* @param page 分页
* @param inVo 条件
* @param inVo 条件
* @return 列表
* @return 列表
*/
*/
List
<
LicInfoListOutVoRecords
>
licInfoList
(
LicInfoListInVo
inVo
);
List
<
LicInfoListOutVoRecords
>
licInfoList
(
@Param
(
"page"
)
Page
<
LicInfoListOutVoRecords
>
page
,
@Param
(
"inVo"
)
LicInfoListInVo
inVo
);
/**
/**
* Lic信息创建
* Lic信息创建
...
...
lic-system/src/main/java/com/system/dao/LicVerificationMapper.java
浏览文件 @
5371a80d
package
com
.
system
.
dao
;
package
com
.
system
.
dao
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.system.transfer.verification.*
;
import
com.system.transfer.verification.*
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -12,10 +14,11 @@ public interface LicVerificationMapper {
...
@@ -12,10 +14,11 @@ public interface LicVerificationMapper {
/**
/**
* Lic在线验证列表
* Lic在线验证列表
*
*
* @param page 分页
* @param inVo 条件
* @param inVo 条件
* @return 列表
* @return 列表
*/
*/
List
<
LicOnlineVerificationLogListOutVoRecords
>
licOnlineVerificationLogList
(
LicOnlineVerificationLogListInVo
inVo
);
List
<
LicOnlineVerificationLogListOutVoRecords
>
licOnlineVerificationLogList
(
@Param
(
"page"
)
Page
<
LicOnlineVerificationLogListOutVoRecords
>
page
,
@Param
(
"inVo"
)
LicOnlineVerificationLogListInVo
inVo
);
/**
/**
* Lic在线验证详情
* Lic在线验证详情
...
...
lic-system/src/main/java/com/system/dao/mapper/LicInfoMapper.xml
浏览文件 @
5371a80d
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
id, mac_address, effective_time, file_effective_time, verification_interval, module_verification, create_time
id, mac_address, effective_time, file_effective_time, verification_interval, module_verification, create_time
FROM tb_lic_info
FROM tb_lic_info
<where>
<where>
<if
test=
"
macAddress != null and
macAddress != ''"
>
<if
test=
"
inVo.macAddress != null and inVo.
macAddress != ''"
>
mac_address = #{macAddress}
mac_address = #{
inVo.
macAddress}
</if>
</if>
</where>
</where>
...
...
lic-system/src/main/java/com/system/dao/mapper/LicVerificationMapper.xml
浏览文件 @
5371a80d
...
@@ -10,11 +10,11 @@
...
@@ -10,11 +10,11 @@
id, mac_address, flag, message, create_time
id, mac_address, flag, message, create_time
FROM tb_lic_log
FROM tb_lic_log
<where>
<where>
<if
test=
"
macAddress != null and
macAddress != ''"
>
<if
test=
"
inVo.macAddress != null and inVo.
macAddress != ''"
>
mac_address = #{macAddress}
mac_address = #{
inVo.
macAddress}
</if>
</if>
<if
test=
"flag != null"
>
<if
test=
"
inVo.
flag != null"
>
AND flag = #{flag}
AND flag = #{
inVo.
flag}
</if>
</if>
</where>
</where>
...
...
lic-system/src/main/java/com/system/serivce/impl/LicInfoServiceImpl.java
浏览文件 @
5371a80d
...
@@ -31,7 +31,7 @@ public class LicInfoServiceImpl implements ILicInfoService {
...
@@ -31,7 +31,7 @@ public class LicInfoServiceImpl implements ILicInfoService {
@Override
@Override
public
LicInfoListOutVo
licInfoList
(
LicInfoListInVo
inVo
)
{
public
LicInfoListOutVo
licInfoList
(
LicInfoListInVo
inVo
)
{
Page
<
LicInfoListOutVoRecords
>
page
=
new
Page
<>(
inVo
.
getPageNo
(),
inVo
.
getPageSize
());
Page
<
LicInfoListOutVoRecords
>
page
=
new
Page
<>(
inVo
.
getPageNo
(),
inVo
.
getPageSize
());
List
<
LicInfoListOutVoRecords
>
recordsList
=
licInfoMapper
.
licInfoList
(
inVo
);
List
<
LicInfoListOutVoRecords
>
recordsList
=
licInfoMapper
.
licInfoList
(
page
,
inVo
);
LicInfoListOutVo
outVo
=
new
LicInfoListOutVo
();
LicInfoListOutVo
outVo
=
new
LicInfoListOutVo
();
outVo
.
setTotal
((
int
)
page
.
getTotal
());
outVo
.
setTotal
((
int
)
page
.
getTotal
());
...
...
lic-system/src/main/java/com/system/serivce/impl/LicVerificationServiceImpl.java
浏览文件 @
5371a80d
...
@@ -40,7 +40,7 @@ public class LicVerificationServiceImpl implements ILicVerificationService {
...
@@ -40,7 +40,7 @@ public class LicVerificationServiceImpl implements ILicVerificationService {
@Override
@Override
public
LicOnlineVerificationLogListOutVo
licOnlineVerificationLogList
(
LicOnlineVerificationLogListInVo
inVo
)
{
public
LicOnlineVerificationLogListOutVo
licOnlineVerificationLogList
(
LicOnlineVerificationLogListInVo
inVo
)
{
Page
<
LicOnlineVerificationLogListOutVoRecords
>
page
=
new
Page
<>(
inVo
.
getPageNo
(),
inVo
.
getPageSize
());
Page
<
LicOnlineVerificationLogListOutVoRecords
>
page
=
new
Page
<>(
inVo
.
getPageNo
(),
inVo
.
getPageSize
());
List
<
LicOnlineVerificationLogListOutVoRecords
>
recordsList
=
licVerificationMapper
.
licOnlineVerificationLogList
(
inVo
);
List
<
LicOnlineVerificationLogListOutVoRecords
>
recordsList
=
licVerificationMapper
.
licOnlineVerificationLogList
(
page
,
inVo
);
LicOnlineVerificationLogListOutVo
outVo
=
new
LicOnlineVerificationLogListOutVo
();
LicOnlineVerificationLogListOutVo
outVo
=
new
LicOnlineVerificationLogListOutVo
();
outVo
.
setTotal
((
int
)
page
.
getTotal
());
outVo
.
setTotal
((
int
)
page
.
getTotal
());
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论