Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac_report
Overview
Overview
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
java-sunac-report
sunac_report
Commits
686492f9
Commit
686492f9
authored
Nov 29, 2017
by
java-lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1128修改方案
parent
2421542b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
22 deletions
+21
-22
ReportEntity.java
src/main/java/com/ejweb/modules/report/entity/ReportEntity.java
+1
-1
ReportToWordController.java
src/main/java/com/ejweb/modules/report/web/ReportToWordController.java
+5
-11
FrontReportDao.xml
src/main/resources/mappings/modules/front/report/FrontReportDao.xml
+2
-0
ReportDao.xml
src/main/resources/mappings/modules/report/ReportDao.xml
+0
-3
reportDetail.jsp
src/main/webapp/WEB-INF/views/modules/report/reportDetail.jsp
+6
-0
reportList.jsp
src/main/webapp/WEB-INF/views/modules/report/reportList.jsp
+1
-1
reportTrack.jsp
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
+0
-0
workbench.jsp
src/main/webapp/WEB-INF/views/modules/workbench/workbench.jsp
+6
-6
No files found.
src/main/java/com/ejweb/modules/report/entity/ReportEntity.java
View file @
686492f9
...
@@ -66,7 +66,7 @@ public class ReportEntity extends DataEntity<ReportEntity> {
...
@@ -66,7 +66,7 @@ public class ReportEntity extends DataEntity<ReportEntity> {
private
String
[]
types
;
//新业务类型
private
String
[]
types
;
//新业务类型
@ExcelField
(
title
=
"被举报项目"
,
align
=
2
,
sort
=
24
)
@ExcelField
(
title
=
"被举报项目
/被举报部门
"
,
align
=
2
,
sort
=
24
)
public
String
getReportProject
()
{
public
String
getReportProject
()
{
return
reportProject
;
return
reportProject
;
}
}
...
...
src/main/java/com/ejweb/modules/report/web/ReportToWordController.java
View file @
686492f9
...
@@ -96,6 +96,10 @@ public class ReportToWordController {
...
@@ -96,6 +96,10 @@ public class ReportToWordController {
reportProject
.
getCell
(
0
).
setText
(
"被举报项目:"
);
reportProject
.
getCell
(
0
).
setText
(
"被举报项目:"
);
reportProject
.
addNewTableCell
().
setText
(
reportEntity
.
getReportProject
()==
null
?
""
:
reportEntity
.
getReportProject
());
reportProject
.
addNewTableCell
().
setText
(
reportEntity
.
getReportProject
()==
null
?
""
:
reportEntity
.
getReportProject
());
XWPFTableRow
supplementTitle
=
basicInfoTable
.
createRow
();
supplementTitle
.
getCell
(
0
).
setText
(
"标题:"
);
supplementTitle
.
addNewTableCell
().
setText
(
reportEntity
.
getSupplementTitle
()
==
null
?
""
:
reportEntity
.
getSupplementTitle
());
//表格第二行
//表格第二行
XWPFTableRow
supplementInformant
=
basicInfoTable
.
createRow
();
XWPFTableRow
supplementInformant
=
basicInfoTable
.
createRow
();
supplementInformant
.
getCell
(
0
).
setText
(
"被举报人:"
);
supplementInformant
.
getCell
(
0
).
setText
(
"被举报人:"
);
...
@@ -229,17 +233,7 @@ public class ReportToWordController {
...
@@ -229,17 +233,7 @@ public class ReportToWordController {
supplementInfoTableWidth
.
setW
(
BigInteger
.
valueOf
(
9072
));
supplementInfoTableWidth
.
setW
(
BigInteger
.
valueOf
(
9072
));
//表格第一行
//表格第一行
XWPFTableRow
supplementTitle
=
supplementInfoTable
.
getRow
(
0
);
supplementTitle
.
getCell
(
0
).
setText
(
"标题:"
);
supplementTitle
.
addNewTableCell
().
setText
(
reportEntity
.
getSupplementTitle
()
==
null
?
""
:
reportEntity
.
getSupplementTitle
());
//表格第二行
XWPFTableRow
supplementCompany
=
supplementInfoTable
.
createRow
();
supplementCompany
.
getCell
(
0
).
setText
(
"被举报公司:"
);
supplementCompany
.
getCell
(
1
).
setText
(
reportEntity
.
getSupplementCompany
()
==
null
?
""
:
reportEntity
.
getSupplementCompany
());
//表格第三行
XWPFTableRow
supplementDepartment
=
supplementInfoTable
.
createRow
();
supplementDepartment
.
getCell
(
0
).
setText
(
"被举报部门:"
);
supplementDepartment
.
getCell
(
1
).
setText
(
reportEntity
.
getSupplementDepartment
()
==
null
?
""
:
reportEntity
.
getSupplementDepartment
());
//表格第四行
//表格第四行
XWPFTableRow
supplementType
=
supplementInfoTable
.
createRow
();
XWPFTableRow
supplementType
=
supplementInfoTable
.
createRow
();
supplementType
.
getCell
(
0
).
setText
(
"业务类型:"
);
supplementType
.
getCell
(
0
).
setText
(
"业务类型:"
);
...
...
src/main/resources/mappings/modules/front/report/FrontReportDao.xml
View file @
686492f9
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
report_source,
report_source,
report_status,
report_status,
supplement_informant,
supplement_informant,
supplement_title,
exchange_before_user,
exchange_before_user,
exchange_after_user,
exchange_after_user,
create_by,
create_by,
...
@@ -61,6 +62,7 @@
...
@@ -61,6 +62,7 @@
#{reportSource},
#{reportSource},
#{reportStatus},
#{reportStatus},
#{supplementInformant},
#{supplementInformant},
#{supplementTitle},
#{exchangeBeforeUser},
#{exchangeBeforeUser},
#{exchangeAfterUser},
#{exchangeAfterUser},
#{createBy},
#{createBy},
...
...
src/main/resources/mappings/modules/report/ReportDao.xml
View file @
686492f9
...
@@ -210,10 +210,7 @@
...
@@ -210,10 +210,7 @@
<update
id=
"addTrack"
>
<update
id=
"addTrack"
>
UPDATE ct_bbtc_report SET
UPDATE ct_bbtc_report SET
supplement_company = #{supplementCompany},
supplement_department = #{supplementDepartment},
supplement_informant = #{supplementInformant},
supplement_informant = #{supplementInformant},
supplement_title = #{supplementTitle},
supplement_type = #{supplementType},
supplement_type = #{supplementType},
supplement_area = #{supplementArea},
supplement_area = #{supplementArea},
supplement_project = #{supplementProject},
supplement_project = #{supplementProject},
...
...
src/main/webapp/WEB-INF/views/modules/report/reportDetail.jsp
View file @
686492f9
...
@@ -92,6 +92,12 @@
...
@@ -92,6 +92,12 @@
</div>
</div>
</div>
</div>
<div
class=
"control-group"
>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
标题:
</label>
<div
class=
"controls"
>
<form:input
path=
"supplementTitle"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge required"
/>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
被举报人:
</label>
<label
class=
"control-label"
>
被举报人:
</label>
<div
class=
"controls"
>
<div
class=
"controls"
>
<form:input
path=
"supplementInformant"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge required"
/>
<form:input
path=
"supplementInformant"
htmlEscape=
"false"
maxlength=
"200"
class=
"input-xlarge required"
/>
...
...
src/main/webapp/WEB-INF/views/modules/report/reportList.jsp
View file @
686492f9
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
<td>
${vs.count}
</td>
<td>
${vs.count}
</td>
<td>
${report.supplementTitle}
</td>
<td>
${report.supplementTitle}
</td>
<td>
${report.supplementType}
</td>
<td>
${report.supplementType}
</td>
<td>
${report.reportProject}
/${report.supplementDepartment}
</td>
<td>
${report.reportProject}
</td>
<td>
${report.oaname}
</td>
<td>
${report.oaname}
</td>
<td>
${report.reportPersonName}
</td>
<td>
${report.reportPersonName}
</td>
<td>
${report.reportPersonTel}
</td>
<td>
${report.reportPersonTel}
</td>
...
...
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
View file @
686492f9
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/views/modules/workbench/workbench.jsp
View file @
686492f9
...
@@ -310,9 +310,9 @@
...
@@ -310,9 +310,9 @@
<th>
ID
</th>
<th>
ID
</th>
<th>
标题
</th>
<th>
标题
</th>
<th>
业务类型
</th>
<th>
业务类型
</th>
<th>
被举报
公司
</th>
<th>
被举报
项目/部门
</th>
<th>
举报人
</th>
<th>
所在城市
</th>
<th>
举报人电话
</th>
<th>
被举报人
</th>
<th>
操作
</th>
<th>
操作
</th>
</tr>
</tr>
</thead>
</thead>
...
@@ -331,9 +331,9 @@
...
@@ -331,9 +331,9 @@
<c:if
test=
"${report.supplementType eq '6'}"
>
物业
</c:if>
<c:if
test=
"${report.supplementType eq '6'}"
>
物业
</c:if>
<c:if
test=
"${report.supplementType eq '7'}"
>
投诉
</c:if>
<c:if
test=
"${report.supplementType eq '7'}"
>
投诉
</c:if>
</td>
</td>
<td>
${report.
supplementCompany
}
</td>
<td>
${report.
reportProject
}
</td>
<td>
${report.report
PersonName
}
</td>
<td>
${report.report
City
}
</td>
<td>
${report.
reportPersonTel
}
</td>
<td>
${report.
supplementInformant
}
</td>
<td>
<td>
<a
href=
"${ctx}/report/view?id=${report.id}"
>
查看
</a>
<a
href=
"${ctx}/report/view?id=${report.id}"
>
查看
</a>
</td>
</td>
...
...
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