Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
4d5d2e8e
Commit
4d5d2e8e
authored
Oct 12, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
4c3f216b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
10 deletions
+31
-10
FireExpertsDto.java
...ejoin/amos/boot/module/common/api/dto/FireExpertsDto.java
+2
-2
FirefightersZhDto.java
...in/amos/boot/module/common/api/dto/FirefightersZhDto.java
+1
-1
ExcelController.java
.../amos/boot/module/jcs/biz/controller/ExcelController.java
+1
-1
DataSourcesImpl.java
...mos/boot/module/jcs/biz/service/impl/DataSourcesImpl.java
+17
-6
jcs-1.0.0.0.xml
...ystem-jcs/src/main/resources/db/changelog/jcs-1.0.0.0.xml
+10
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/FireExpertsDto.java
View file @
4d5d2e8e
...
@@ -84,13 +84,13 @@ public class FireExpertsDto extends BaseDto {
...
@@ -84,13 +84,13 @@ public class FireExpertsDto extends BaseDto {
// @ExcelIgnore
// @ExcelIgnore
//@ExplicitConstraint(indexNum =11,sourceClass = CommonExplicitConstraint.class,method ="getCitys")
//@ExplicitConstraint(indexNum =11,sourceClass = CommonExplicitConstraint.class,method ="getCitys")
@ExcelProperty
(
value
=
"
现居住地
"
,
index
=
10
)
@ExcelProperty
(
value
=
"
居住地详情
"
,
index
=
10
)
@ApiModelProperty
(
value
=
"居住地详情"
)
@ApiModelProperty
(
value
=
"居住地详情"
)
private
String
residenceDetails
;
private
String
residenceDetails
;
@ExplicitConstraint
(
indexNum
=
9
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getCitys"
)
@ExplicitConstraint
(
indexNum
=
9
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getCitys"
)
@ExcelProperty
(
value
=
"现居住地"
,
index
=
9
)
@ExcelProperty
(
value
=
"现居住地"
,
index
=
9
)
@ApiModelProperty
(
value
=
"现居住地
详细地址
"
)
@ApiModelProperty
(
value
=
"现居住地"
)
private
String
residenceDetailVal
;
private
String
residenceDetailVal
;
@ExcelProperty
(
value
=
"办公电话"
,
index
=
11
)
@ExcelProperty
(
value
=
"办公电话"
,
index
=
11
)
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/FirefightersZhDto.java
View file @
4d5d2e8e
...
@@ -113,7 +113,7 @@ public class FirefightersZhDto extends BaseDto {
...
@@ -113,7 +113,7 @@ public class FirefightersZhDto extends BaseDto {
@ApiModelProperty
(
value
=
"机构名称"
)
@ApiModelProperty
(
value
=
"机构名称"
)
private
String
companyName
;
private
String
companyName
;
@ApiModelProperty
(
value
=
"
专家
领域"
)
@ApiModelProperty
(
value
=
"
station
领域"
)
private
String
areasExpertise
;
private
String
areasExpertise
;
@ApiModelProperty
(
value
=
"消防专家领域字典code"
)
@ApiModelProperty
(
value
=
"消防专家领域字典code"
)
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/ExcelController.java
View file @
4d5d2e8e
...
@@ -96,7 +96,7 @@ public class ExcelController extends BaseController {
...
@@ -96,7 +96,7 @@ public class ExcelController extends BaseController {
e
.
printStackTrace
();
e
.
printStackTrace
();
throw
new
BadRequest
(
"文件格式不正确或excel 模板不匹配"
);
// BUG 2821 by litw 2021年9月16日
throw
new
BadRequest
(
"文件格式不正确或excel 模板不匹配"
);
// BUG 2821 by litw 2021年9月16日
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
throw
new
RuntimeException
(
"系统异常
!"
);
throw
new
BadRequest
(
"文件格式不正确或excel 模板不匹配
!"
);
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/DataSourcesImpl.java
View file @
4d5d2e8e
...
@@ -358,19 +358,30 @@ public class DataSourcesImpl implements DataSources {
...
@@ -358,19 +358,30 @@ public class DataSourcesImpl implements DataSources {
FeignClientResult
<
java
.
util
.
Collection
<
RegionModel
>>
region
=
Systemctl
.
regionClient
.
queryForTreeParent
(
null
);
FeignClientResult
<
java
.
util
.
Collection
<
RegionModel
>>
region
=
Systemctl
.
regionClient
.
queryForTreeParent
(
null
);
java
.
util
.
Collection
<
RegionModel
>
regions
=
region
.
getResult
();
// 以及地址
java
.
util
.
Collection
<
RegionModel
>
regions
=
region
.
getResult
();
// 以及地址
List
<
String
>
address
=
new
ArrayList
<>();
List
<
String
>
address
=
new
ArrayList
<>();
setAddress
(
address
,
regions
);
setAddress
(
""
,
address
,
regions
);
String
[]
str
=
address
.
toArray
(
new
String
[
address
.
size
()]);
String
[]
str
=
address
.
toArray
(
new
String
[
address
.
size
()]);
return
str
;
return
str
;
}
}
private
void
setAddress
(
List
<
String
>
address
,
Collection
<
RegionModel
>
regions
)
{
private
void
setAddress
(
String
name
,
List
<
String
>
address
,
Collection
<
RegionModel
>
regions
)
{
regions
.
stream
().
forEach
(
item
->
{
for
(
RegionModel
item
:
regions
)
{
//添加自己的
//添加自己的
address
.
add
(
item
.
getRegionName
()
+
"@"
+
item
.
getSequenceNbr
());
address
.
add
(
name
+
" "
+
item
.
getRegionName
()
+
"@"
+
item
.
getSequenceNbr
());
if
(
item
.
getChildren
()
!=
null
&&
item
.
getChildren
().
size
()
>
0
)
{
if
(
item
.
getChildren
()
!=
null
&&
item
.
getChildren
().
size
()
>
0
)
{
setAddress
(
address
,
item
.
getChildren
());
setAddress
(
name
+
" "
+
item
.
getRegionName
()
,
address
,
item
.
getChildren
());
}
}
});
}
// regions.stream().forEach(item -> {
// //添加自己的
// name =name+item.getRegionName();
// address.add(name + "@" + item.getSequenceNbr());
// if(item.getChildren() != null && item.getChildren().size() > 0) {
// setAddress(name ,address,item.getChildren());
// }
// });
}
}
private
String
[]
getDutyArea
()
{
private
String
[]
getDutyArea
()
{
...
...
amos-boot-system-jcs/src/main/resources/db/changelog/jcs-1.0.0.0.xml
View file @
4d5d2e8e
...
@@ -1624,6 +1624,16 @@
...
@@ -1624,6 +1624,16 @@
</changeSet>
</changeSet>
<changeSet
author=
"tw"
id=
"2021-10-12-003"
>
<preConditions
onFail=
"MARK_RAN"
>
<tableExists
tableName=
"cb_data_dictionary"
/>
</preConditions>
<comment>
修改数据
</comment>
<sql>
UPDATE cb_data_dictionary set name ='财务军需类' where sequence_nbr=147
</sql>
</changeSet>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment