Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
2a589200
提交
2a589200
authored
6月 03, 2021
作者:
133
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bill] 模版添加
上级
3de7475e
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
105 行增加
和
14 行删除
+105
-14
bill.html
dev-union/src/main/resources/bill.html
+82
-7
User.java
...in/java/com/tykj/dev/device/user/subject/entity/User.java
+11
-4
UserServiceImpl.java
...dev/device/user/subject/service/impl/UserServiceImpl.java
+3
-1
VenitalisServiceImpl.java
...evice/user/subject/service/impl/VenitalisServiceImpl.java
+2
-2
pom.xml
pom.xml
+7
-0
没有找到文件。
dev-union/src/main/resources/bill.html
浏览文件 @
2a589200
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
}
}
.returnTablePrint
.tableList
{
.returnTablePrint
.tableList
{
height
:
404
px
;
height
:
375
px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
...
@@ -323,10 +323,45 @@ line-height:25px;
...
@@ -323,10 +323,45 @@ line-height:25px;
table-layout
:
fixed
;
table-layout
:
fixed
;
word-break
:
break-all
;
word-break
:
break-all
;
}
}
.td2
{
height
:
49px
!important
;
}
.td3
{
height
:
74px
!important
;
}
.td4
{
height
:
99px
!important
;
}
.td5
{
height
:
124px
!important
;
}
.td6
{
height
:
149px
!important
;
}
.td7
{
height
:
174px
!important
;
}
.td8
{
height
:
199px
!important
;
}
.td9
{
height
:
224px
!important
;
}
.td10
{
height
:
249px
!important
;
}
.td11
{
height
:
274px
!important
;
}
.td12
{
height
:
299px
!important
;
}
.td13
{
height
:
324px
!important
;
}
table
.altrowstable
th
{
table
.altrowstable
th
{
height
:
2
5
px
;
height
:
2
4
px
;
line-height
:
2
6
px
;
line-height
:
2
4
px
;
font-size
:
15px
;
font-size
:
15px
;
background-color
:
#ebebeb
;
background-color
:
#ebebeb
;
marign-top
:
none
;
marign-top
:
none
;
...
@@ -336,8 +371,8 @@ border:1px solid #bebebe;
...
@@ -336,8 +371,8 @@ border:1px solid #bebebe;
}
}
table
.altrowstable
td
{
table
.altrowstable
td
{
height
:
2
5
px
;
height
:
2
4
px
;
line-height
:
2
6
px
;
line-height
:
2
4
px
;
font-size
:
15px
;
font-size
:
15px
;
word-break
:
break-all
;
word-break
:
break-all
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
...
@@ -362,8 +397,8 @@ border:1px solid #bebebe;
...
@@ -362,8 +397,8 @@ border:1px solid #bebebe;
position
:
absolute
;
position
:
absolute
;
bottom
:
0px
;
bottom
:
0px
;
right
:
150px
;
right
:
150px
;
}
.oddrowcolor
{
.oddrowcolor
{
background-color
:
#fff
;
background-color
:
#fff
;
}
}
...
@@ -440,7 +475,47 @@ border:1px solid #bebebe;
...
@@ -440,7 +475,47 @@ border:1px solid #bebebe;
<td>
<td>
${dev.count!}
${dev.count!}
</td>
</td>
<
#
if
dev
.
oneCount =
=
1
>
<td>
${dev.deviceSerialNumber!}
</td>
<td>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
2
>
<td
class=
"td2"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
3
>
<td
class=
"td3"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
4
>
<td
class=
"td4"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
5
>
<td
class=
"td5"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
6
>
<td
class=
"td6"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
7
>
<td
class=
"td7"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
8
>
<td
class=
"td8"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
9
>
<td
class=
"td9"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
10
>
<td
class=
"td10"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
11
>
<td
class=
"td11"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
12
>
<td
class=
"td12"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
13
>
<td
class=
"td13"
>
${dev.deviceSerialNumber!}
</td>
<
#
elseif
dev
.
oneCount =
=
14
>
<td
class=
"td14"
>
${dev.deviceSerialNumber!}
</td>
</
#
if>
<!--<td>${dev.deviceSerialNumber!}</td>-->
<td>
${dev.remark!}
</td>
<td>
${dev.remark!}
</td>
</tr>
</tr>
</
#
list>
</
#
list>
...
...
dev-user/src/main/java/com/tykj/dev/device/user/subject/entity/User.java
浏览文件 @
2a589200
...
@@ -14,7 +14,9 @@ import lombok.AllArgsConstructor;
...
@@ -14,7 +14,9 @@ import lombok.AllArgsConstructor;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
org.hibernate.annotations.SQLDelete
;
import
org.hibernate.annotations.SQLDelete
;
import
org.hibernate.annotations.Where
;
import
org.modelmapper.ModelMapper
;
import
org.modelmapper.ModelMapper
;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
import
javax.persistence.*
;
import
javax.persistence.*
;
...
@@ -31,7 +33,8 @@ import javax.persistence.*;
...
@@ -31,7 +33,8 @@ import javax.persistence.*;
@Data
@Data
@Entity
@Entity
@ApiModel
(
value
=
"用户对象"
,
description
=
"用户详细信息"
)
@ApiModel
(
value
=
"用户对象"
,
description
=
"用户详细信息"
)
@SQLDelete
(
sql
=
"update user set is_del = 1 where id = ?"
)
@EntityListeners
(
AuditingEntityListener
.
class
)
@Where
(
clause
=
"delete_tag = 0"
)
public
class
User
{
public
class
User
{
/**
/**
* 用户
* 用户
...
@@ -41,8 +44,6 @@ public class User {
...
@@ -41,8 +44,6 @@ public class User {
@GeneratedValue
@GeneratedValue
@Column
(
columnDefinition
=
"INT4 AUTO_INCREMENT"
)
@Column
(
columnDefinition
=
"INT4 AUTO_INCREMENT"
)
@ApiModelProperty
(
value
=
"用户数据ID"
,
name
=
"userId"
,
example
=
"12321L"
)
@ApiModelProperty
(
value
=
"用户数据ID"
,
name
=
"userId"
,
example
=
"12321L"
)
// @GeneratedValue(generator="UserIdentityGenerator",strategy = GenerationType.AUTO)
// @GenericGenerator(name = "UserIdentityGenerator", strategy = "UserIdentityGenerator")
private
Integer
userId
;
private
Integer
userId
;
/**
/**
...
@@ -135,6 +136,12 @@ public class User {
...
@@ -135,6 +136,12 @@ public class User {
* 培训状态 0.已培训 1.已过期 2.未培训 3.快过期 5.不是专管员
* 培训状态 0.已培训 1.已过期 2.未培训 3.快过期 5.不是专管员
*/
*/
private
Integer
trainStatus
=
2
;
private
Integer
trainStatus
=
2
;
/**
* 是否删除
*/
private
Integer
deleteTag
=
0
;
/**
/**
* 单位对象
* 单位对象
*/
*/
...
@@ -152,7 +159,7 @@ public class User {
...
@@ -152,7 +159,7 @@ public class User {
"1234"
,
"1234"
,
"1234"
,
"1234"
,
"123@qq.com"
,
"123@qq.com"
,
"123"
,
0
,
"360218199801052634"
,
0
,
0
,
null
,
0
"123"
,
0
,
"360218199801052634"
,
0
,
0
,
null
,
0
,
0
,
null
,
null
);
);
}
}
...
...
dev-user/src/main/java/com/tykj/dev/device/user/subject/service/impl/UserServiceImpl.java
浏览文件 @
2a589200
...
@@ -134,7 +134,9 @@ public class UserServiceImpl implements UserService {
...
@@ -134,7 +134,9 @@ public class UserServiceImpl implements UserService {
@Override
@Override
public
boolean
delete
(
Integer
id
)
{
public
boolean
delete
(
Integer
id
)
{
userDao
.
deleteById
(
id
);
User
user
=
findByUser
(
id
);
user
.
setDeleteTag
(
1
);
userDao
.
save
(
user
);
userCache
.
refresh
(
userDao
.
findAll
());
userCache
.
refresh
(
userDao
.
findAll
());
return
true
;
return
true
;
}
}
...
...
dev-user/src/main/java/com/tykj/dev/device/user/subject/service/impl/VenitalisServiceImpl.java
浏览文件 @
2a589200
...
@@ -36,8 +36,8 @@ public class VenitalisServiceImpl implements VenitalisService {
...
@@ -36,8 +36,8 @@ public class VenitalisServiceImpl implements VenitalisService {
@Autowired
@Autowired
private
UserLogDao
userLogDao
;
private
UserLogDao
userLogDao
;
private
final
static
String
http
=
"http://10.153.4.11:8081"
;
//
private final static String http="http://10.153.4.11:8081";
//
private final static String http="http://192.168.0.80:8081";
private
final
static
String
http
=
"http://192.168.0.80:8081"
;
private
final
static
String
REGISTERE
=
"/api/v2/auth/register"
;
private
final
static
String
REGISTERE
=
"/api/v2/auth/register"
;
private
final
static
String
CONTRAST
=
"/api/v2/auth/identify"
;
private
final
static
String
CONTRAST
=
"/api/v2/auth/identify"
;
@Override
@Override
...
...
pom.xml
浏览文件 @
2a589200
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
<module>
dev-decommissioning
</module>
<module>
dev-decommissioning
</module>
<module>
dev-excel
</module>
<module>
dev-excel
</module>
<module>
dev-policydocument
</module>
<module>
dev-policydocument
</module>
<module>
dev-questionbank
</module>
</modules>
</modules>
<properties>
<properties>
...
@@ -138,6 +139,12 @@
...
@@ -138,6 +139,12 @@
<artifactId>
dev-destroy
</artifactId>
<artifactId>
dev-destroy
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.tykj
</groupId>
<artifactId>
dev-questionbank
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<dependency>
<groupId>
com.tykj
</groupId>
<groupId>
com.tykj
</groupId>
<artifactId>
dev-confirmcheck
</artifactId>
<artifactId>
dev-confirmcheck
</artifactId>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论