Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
foc_manage
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
首航-临时账号
foc_manage
Commits
9efb1842
Commit
9efb1842
authored
Dec 23, 2019
by
zhangyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部门
parent
8c6c8464
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
6 deletions
+19
-6
userDepart.jsp
WebContent/WEB-INF/views/modules/airline/userDepart.jsp
+2
-1
verifyUserForm.jsp
WebContent/WEB-INF/views/modules/airline/verifyUserForm.jsp
+1
-1
VerifyAddService.java
src/com/ejweb/modules/airline/service/VerifyAddService.java
+3
-0
DepartDao.java
src/com/ejweb/modules/depart/dao/DepartDao.java
+4
-3
UserDictDepartEntity.java
src/com/ejweb/modules/depart/entity/UserDictDepartEntity.java
+9
-1
No files found.
WebContent/WEB-INF/views/modules/airline/userDepart.jsp
View file @
9efb1842
...
...
@@ -59,8 +59,9 @@
<tbody>
<c:forEach
items=
"${page}"
var=
"verify"
varStatus=
"vs"
>
<tr>
<td>
${verify.sort}
</td>
<td>
${verify.label}
</td>
<td>
${verify.valueType}
</td
>
<
%
--
<
td
>
${verify.valueType}
</td>
--%
>
<td>
<c:forEach
items=
"${verify.dList}"
var=
"depar"
varStatus=
"ds"
>
${depar.departName}
...
...
WebContent/WEB-INF/views/modules/airline/verifyUserForm.jsp
View file @
9efb1842
...
...
@@ -44,7 +44,7 @@
</head>
<body>
<ul
class=
"nav nav-tabs"
>
<li
class=
"active"
>
航线
编辑
</li>
<li
class=
"active"
>
航线
部门管理
</li>
</ul>
<br/>
...
...
src/com/ejweb/modules/airline/service/VerifyAddService.java
View file @
9efb1842
...
...
@@ -28,14 +28,17 @@ public class VerifyAddService extends CrudService<VerifyDao, VerifyEntity> {
public
List
<
UserDictDepartEntity
>
findUserDeparDictAllList
()
{
List
<
UserDictEntity
>
userDictAll
=
verifyDepartAddDao
.
getUserDictAll
();
List
<
UserDictDepartEntity
>
dictlist
=
new
ArrayList
<>();
Integer
i
=
1
;
for
(
UserDictEntity
ud
:
userDictAll
)
{
String
valueType
=
ud
.
getValueType
();
List
<
UserDepartTypeEntity
>
userDepartType
=
verifyDepartAddDao
.
getUserDepartType
(
valueType
);
UserDictDepartEntity
userDictEntity
=
new
UserDictDepartEntity
();
userDictEntity
.
setSort
(
i
);
userDictEntity
.
setLabel
(
ud
.
getLabel
());
userDictEntity
.
setValueType
(
ud
.
getValueType
());
userDictEntity
.
setdList
(
userDepartType
);
dictlist
.
add
(
userDictEntity
);
i
++;
}
return
dictlist
;
}
...
...
src/com/ejweb/modules/depart/dao/DepartDao.java
View file @
9efb1842
...
...
@@ -4,13 +4,13 @@ import com.ejweb.core.persistence.CrudDao;
import
com.ejweb.modules.depart.entity.DepartEntity
;
/**
*
*
* 论证部门Dao
* @author zhanglg
* @version 2016-08-24
*/
public
interface
DepartDao
extends
CrudDao
<
DepartEntity
>{
public
DepartEntity
getdepartByName
(
DepartEntity
departEntity
);
}
\ No newline at end of file
src/com/ejweb/modules/depart/entity/UserDictDepartEntity.java
View file @
9efb1842
...
...
@@ -20,9 +20,17 @@ public class UserDictDepartEntity extends DataEntity<UserDictDepartEntity> {
private
String
label
;
private
String
valueType
;
private
Integer
sort
;
private
List
<
UserDepartTypeEntity
>
dList
;
public
Integer
getSort
()
{
return
sort
;
}
public
void
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
}
public
static
long
getSerialVersionUID
()
{
return
serialVersionUID
;
}
...
...
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