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
7ff00904
Commit
7ff00904
authored
Sep 18, 2022
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
4874f462
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
OrgUsrFireExcelDto.java
...n/amos/boot/module/common/api/dto/OrgUsrFireExcelDto.java
+2
-2
FirefightersMapper.xml
...mmon-api/src/main/resources/mapper/FirefightersMapper.xml
+3
-3
ExcelServiceImpl.java
...os/boot/module/jcs/biz/service/impl/ExcelServiceImpl.java
+9
-9
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/OrgUsrFireExcelDto.java
View file @
7ff00904
...
...
@@ -142,8 +142,8 @@ public class OrgUsrFireExcelDto extends BaseDto {
@ExcelProperty
(
value
=
"出生日期"
,
index
=
17
)
@ApiModelProperty
(
value
=
"出生日期"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
// @DateTimeFormat(pattern = "yyyy-MM-dd") 此注解用于此处不起任何作用 --ky20220918
//
@JsonFormat(pattern = "yyyy-MM-dd")
private
String
birthdayTime
;
@ExplicitConstraint
(
indexNum
=
18
,
sourceClass
=
CommonExplicitConstraint
.
class
,
method
=
"getMaritalStatus"
)
//固定下拉内容
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/FirefightersMapper.xml
View file @
7ff00904
...
...
@@ -407,9 +407,9 @@ LEFT JOIN cb_fire_team cft ON cff.fire_team_id = cft.sequence_nbr
AND type = 'RYZT'
) AS stateCode,
fp.employee_hierarchy,
cast(b.birthdayTime as datetime) as birthdayTime,
b.*,
fw.*
fw.*,
DATE_FORMAT(b.birthdayTime,'%Y-%m-%d') AS birthdaryTime
from cb_org_usr a LEFT JOIN
(SELECT
instance_id,
...
...
@@ -427,7 +427,7 @@ LEFT JOIN cb_fire_team cft ON cff.fire_team_id = cft.sequence_nbr
max(case field_code when 'telephone' then field_value end) telephone,
max(case field_code when 'peopleType' then field_value end) peopleType,
max(case field_code when 'nation' then field_value end) nation,
max(
case field_code when 'birthdayTime' then field_value end)
birthdayTime,
max(
CASE field_code WHEN 'birthdayTime' THEN DATE_FORMAT(field_value, '%Y-%m-%d') END )
birthdayTime,
max(case field_code when 'maritalStatus' then field_value end) maritalStatus,
max(case field_code when 'nativePlace' then field_value end) nativePlace,
max(case field_code when 'nativePlaceVal' then field_value end) nativePlaceVal,
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/ExcelServiceImpl.java
View file @
7ff00904
...
...
@@ -208,7 +208,7 @@ public class ExcelServiceImpl {
// authFalg=true;
// }
//效验参数
boolean
authF
alg
=
getFlag
(
par
)
;
boolean
authF
lag
=
true
;
switch
(
excelDto
.
getType
())
{
...
...
@@ -248,7 +248,7 @@ public class ExcelServiceImpl {
break
;
case
"SYXX"
:
// 暂时先还原代码不加 “非” ,为修改bug http://36.46.149.14:5080/zentao/task-view-6974.html 水源导出没有数据问题
if
(!
authF
al
g
)
{
if
(!
authF
la
g
)
{
ExcelUtil
.
createTemplate
(
response
,
excelDto
.
getFileName
(),
excelDto
.
getSheetName
(),
null
,
WaterResourceDto
.
class
,
dataSourcesImpl
,
false
);
break
;
...
...
@@ -275,7 +275,7 @@ public class ExcelServiceImpl {
AircraftDto
.
class
,
dataSourcesImpl
,
false
);
break
;
case
"XFDW"
:
if
(!
authF
al
g
)
{
if
(!
authF
la
g
)
{
ExcelUtil
.
createTemplate
(
response
,
excelDto
.
getFileName
(),
excelDto
.
getSheetName
(),
null
,
FireTeamDto
.
class
,
dataSourcesImpl
,
false
);
break
;
...
...
@@ -285,7 +285,7 @@ public class ExcelServiceImpl {
FireTeamDto
.
class
,
dataSourcesImpl
,
false
);
break
;
case
"WXXFZ"
:
if
(!
authF
al
g
)
{
if
(!
authF
la
g
)
{
ExcelUtil
.
createTemplate
(
response
,
excelDto
.
getFileName
(),
excelDto
.
getSheetName
(),
null
,
FireStationDto
.
class
,
null
,
false
);
break
;
...
...
@@ -301,7 +301,7 @@ public class ExcelServiceImpl {
FireStationDto
.
class
,
null
,
false
);
break
;
case
"XFRY"
:
if
(!
authF
al
g
)
{
if
(!
authF
la
g
)
{
ExcelUtil
.
createTemplate
(
response
,
excelDto
.
getFileName
(),
excelDto
.
getSheetName
(),
null
,
FirefightersExcelDto
.
class
,
null
,
false
);
break
;
...
...
@@ -310,8 +310,8 @@ public class ExcelServiceImpl {
List
<
OrgUsrFireExcelDto
>
firefightersExcelDtoList
=
firefightersService
.
exportToExcelNew
(
false
,
par
);
ExcelUtil
.
createTemplate
(
response
,
excelDto
.
getFileName
(),
excelDto
.
getSheetName
(),
firefightersExcelDtoList
,
OrgUsrFireExcelDto
.
class
,
null
,
false
);
ExcelUtil
.
createTemplate
(
response
,
excelDto
.
getFileName
(),
excelDto
.
getSheetName
(),
firefightersExcelDtoList
,
FirefightersExcelDto
.
class
,
null
,
false
);
//
ExcelUtil.createTemplate(response, excelDto.getFileName(), excelDto.getSheetName(),
//
firefightersExcelDtoList, FirefightersExcelDto.class, null, false);
break
;
case
"WBRY"
:
List
<
MaintenancePersonExcleDto
>
maintenancePersonExcelDtoList
=
maintenanceCompanyService
...
...
@@ -350,7 +350,7 @@ public class ExcelServiceImpl {
signDtos
.
getRecords
(),
SignDto
.
class
,
null
,
false
);
break
;
case
"KEYSITE"
:
if
(!
authF
al
g
)
{
if
(!
authF
la
g
)
{
ExcelUtil
.
createTemplate
(
response
,
excelDto
.
getFileName
(),
excelDto
.
getSheetName
(),
null
,
KeySiteExcleDto
.
class
,
null
,
false
);
break
;
...
...
@@ -370,7 +370,7 @@ public class ExcelServiceImpl {
KeySiteExcleDto
.
class
,
null
,
false
);
break
;
case
"JCDWRY"
:
if
(!
authF
al
g
)
{
if
(!
authF
la
g
)
{
ExcelUtil
.
createTemplate
(
response
,
excelDto
.
getFileName
(),
excelDto
.
getSheetName
(),
null
,
OrgUsrExcelDto
.
class
,
null
,
false
);
break
;
...
...
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