Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
c6d2022a
提交
c6d2022a
authored
6月 29, 2021
作者:
133
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[模版] 工作交接模版提交 bill3
上级
91cba773
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
7 行删除
+15
-7
bill3.html
dev-union/src/main/resources/bill3.html
+3
-3
pom.xml
dev-user/pom.xml
+1
-4
UnitsController.java
...j/dev/device/user/subject/controller/UnitsController.java
+11
-0
没有找到文件。
dev-union/src/main/resources/bill3.html
浏览文件 @
c6d2022a
<!DOCTYPE html>
<html
lang=
"en"
>
<!--工作交接-->
<head>
<meta
charset=
"UTF-8"
/>
<title>
Document
</title>
...
...
@@ -308,7 +308,7 @@
<div
class=
"title"
>
<div
class=
"main-title"
>
<span>
工作交接单
2
工作交接单
</span>
</div>
<div
style=
"width:100%;text-align:left;font-size: 1px;margin-bottom:2px"
>
...
...
@@ -389,7 +389,7 @@
</div>
</div>
</div>
<p
class=
"bottomTxt"
>
第${page
}页/共${count
}页
</p>
<p
class=
"bottomTxt"
>
第${page
!}页/共${count!
}页
</p>
</div>
<!--<script type="text/javascript">-->
<!--function altRows(id){-->
...
...
dev-user/pom.xml
浏览文件 @
c6d2022a
...
...
@@ -35,10 +35,7 @@
<artifactId>
socket
</artifactId>
</dependency>
<!--<dependency>-->
<!--<groupId>com.tykj</groupId>-->
<!--<artifactId>dev-file</artifactId>-->
<!--</dependency>-->
<dependency>
<groupId>
com.tykj.dev
</groupId>
<artifactId>
blockcha
</artifactId>
...
...
dev-user/src/main/java/com/tykj/dev/device/user/subject/controller/UnitsController.java
浏览文件 @
c6d2022a
...
...
@@ -4,6 +4,7 @@ import com.tykj.dev.config.swagger.AutoDocument;
import
com.tykj.dev.device.user.subject.entity.SecurityUser
;
import
com.tykj.dev.device.user.subject.entity.Units
;
import
com.tykj.dev.device.user.subject.service.UnitsService
;
import
com.tykj.dev.device.user.subject.service.UserService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -13,6 +14,11 @@ import org.springframework.security.core.annotation.AuthenticationPrincipal;
import
org.springframework.web.bind.annotation.*
;
import
springfox.documentation.annotations.ApiIgnore
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* @author zjm
* @version 1.0.0
...
...
@@ -29,6 +35,9 @@ public class UnitsController {
@Autowired
UnitsService
unitsService
;
@Autowired
UserService
userService
;
@GetMapping
(
value
=
"/find/{unitsId}"
)
@ApiOperation
(
value
=
"根据单位ID查询对象"
,
notes
=
"返回单位对象"
)
public
ResponseEntity
findUnits
(
@PathVariable
Integer
unitsId
)
{
...
...
@@ -53,6 +62,8 @@ public class UnitsController {
return
ResponseEntity
.
ok
(
unitsService
.
findLeftNavigation
(
securityUser
));
}
@GetMapping
(
value
=
"/findAll/GreaterThanEqual/{level}"
)
@ApiOperation
(
value
=
"根据当前用户的单位等级,查询所有的下级单位以及自己单位"
,
notes
=
"单位集合"
)
public
ResponseEntity
GreaterThanEqualLeven
(
@PathVariable
Integer
level
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论