Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
a46668b9
提交
a46668b9
authored
11月 06, 2020
作者:
Matrix
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[核查模块] 增加detail接口的地区现实
上级
f6310ad3
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
34 行增加
和
0 行删除
+34
-0
CheckDetailVo.java
...tykj/dev/device/confirmcheck/entity/vo/CheckDetailVo.java
+3
-0
ObjTransUtil.java
.../com/tykj/dev/device/confirmcheck/utils/ObjTransUtil.java
+9
-0
pom.xml
dev-union/pom.xml
+5
-0
HealthConfig.java
dev-union/src/main/java/com/tykj/dev/union/HealthConfig.java
+17
-0
没有找到文件。
dev-confirmcheck/src/main/java/com/tykj/dev/device/confirmcheck/entity/vo/CheckDetailVo.java
浏览文件 @
a46668b9
...
...
@@ -87,6 +87,9 @@ public class CheckDetailVo {
*/
@ApiModelProperty
(
value
=
"核查单位"
)
private
String
checkUnit
;
@ApiModelProperty
(
value
=
"核查地区"
)
private
String
checkArea
;
/**
* 应查数量
*/
...
...
dev-confirmcheck/src/main/java/com/tykj/dev/device/confirmcheck/utils/ObjTransUtil.java
浏览文件 @
a46668b9
...
...
@@ -12,10 +12,12 @@ import com.tykj.dev.device.library.subject.domin.DeviceLibrary;
import
com.tykj.dev.device.task.repository.TaskDao
;
import
com.tykj.dev.device.task.service.TaskService
;
import
com.tykj.dev.device.task.subject.domin.Task
;
import
com.tykj.dev.device.user.base.enums.AuExample
;
import
com.tykj.dev.device.user.subject.dao.AreaDao
;
import
com.tykj.dev.device.user.subject.dao.UnitsDao
;
import
com.tykj.dev.device.user.subject.dao.UserDao
;
import
com.tykj.dev.device.user.subject.entity.User
;
import
com.tykj.dev.device.user.subject.service.AuService
;
import
com.tykj.dev.misc.base.BeanHelper
;
import
com.tykj.dev.misc.base.BusinessEnum
;
import
com.tykj.dev.misc.exception.ApiException
;
...
...
@@ -59,6 +61,9 @@ public class ObjTransUtil {
@Autowired
private
TaskService
taskService
;
@Autowired
private
AuService
auService
;
@Autowired
private
TaskDao
taskDao
;
...
...
@@ -285,6 +290,10 @@ public class ObjTransUtil {
detailVo
.
setDevInLibrary
(
inLibVoList
);
detailVo
.
setDevNotInLibrary
(
notInLibVoList
);
String
unitName
=
detailDo
.
getCheckUnit
();
String
areaName
=
auService
.
findOne
(
AuExample
.
UnitName
,
unitName
).
getName
();
detailVo
.
setCheckArea
(
areaName
);
return
detailVo
;
}
...
...
dev-union/pom.xml
浏览文件 @
a46668b9
...
...
@@ -377,6 +377,11 @@
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
</dependencies>
<build>
...
...
dev-union/src/main/java/com/tykj/dev/union/HealthConfig.java
0 → 100644
浏览文件 @
a46668b9
package
com
.
tykj
.
dev
.
union
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.context.annotation.Configuration
;
/**
* HealthConfig.
*
* @author Matrix <xhyrzldf@gmail.com>
* @since 2020/11/3 at 3:44 下午
*/
@EnableAutoConfiguration
(
exclude
=
{
org
.
springframework
.
boot
.
autoconfigure
.
security
.
servlet
.
SecurityAutoConfiguration
.
class
})
@Configuration
public
class
HealthConfig
{
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论