Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
135918b9
Commit
135918b9
authored
Mar 26, 2020
by
太阳与水
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改了籍贯null
parent
0cbf4266
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/main/java/cn/timer/api/controller/htzz/HtzzController.java
+1
-2
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+3
-2
No files found.
src/main/java/cn/timer/api/controller/htzz/HtzzController.java
View file @
135918b9
...
@@ -79,7 +79,7 @@ public class HtzzController {
...
@@ -79,7 +79,7 @@ public class HtzzController {
List
<
HtzzAssoHtgx
>
htgxs
=
new
ArrayList
<
HtzzAssoHtgx
>(
ids
.
length
);
List
<
HtzzAssoHtgx
>
htgxs
=
new
ArrayList
<
HtzzAssoHtgx
>(
ids
.
length
);
for
(
Integer
id
:
ids
)
{
for
(
Integer
id
:
ids
)
{
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
select
(
"name"
,
"phone"
,
"emp_num"
).
eq
(
"emp_num"
,
id
);
queryWrapper
.
select
(
"name"
,
"phone"
,
"emp_num"
).
eq
(
"emp_num"
,
id
)
.
eq
(
"org_code"
,
userBean
.
getOrgCode
())
;
emp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
queryWrapper
);
emp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
queryWrapper
);
HtzzAssoHtgx
htgx
=
HtzzAssoHtgx
.
builder
().
build
();
HtzzAssoHtgx
htgx
=
HtzzAssoHtgx
.
builder
().
build
();
...
@@ -155,7 +155,6 @@ public class HtzzController {
...
@@ -155,7 +155,6 @@ public class HtzzController {
List
<
Object
>
list
=
new
ArrayList
<
Object
>();
List
<
Object
>
list
=
new
ArrayList
<
Object
>();
list
.
add
(
HtzzAdminZzda
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
HtzzAdminZzda
>()
list
.
add
(
HtzzAdminZzda
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
HtzzAdminZzda
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"is_delete"
,
0
).
eq
(
"id"
,
id
)));
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"is_delete"
,
0
).
eq
(
"id"
,
id
)));
QueryWrapper
<
HtzzAssoHtgx
>
q
=
new
QueryWrapper
<
HtzzAssoHtgx
>();
QueryWrapper
<
HtzzAssoHtgx
>
q
=
new
QueryWrapper
<
HtzzAssoHtgx
>();
q
.
select
(
"id"
,
"name"
).
eq
(
"htid"
,
id
);
q
.
select
(
"id"
,
"name"
).
eq
(
"htid"
,
id
);
List
<
HtzzAssoHtgx
>
htgx
=
HtzzAssoHtgx
.
builder
().
build
().
selectList
(
q
);
List
<
HtzzAssoHtgx
>
htgx
=
HtzzAssoHtgx
.
builder
().
build
().
selectList
(
q
);
...
...
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
135918b9
...
@@ -1426,12 +1426,13 @@ public class YgglController {
...
@@ -1426,12 +1426,13 @@ public class YgglController {
Integer
type
=
ygjgDto
.
getType
();
Integer
type
=
ygjgDto
.
getType
();
Integer
upId
=
ygjgDto
.
getJgid
();
Integer
upId
=
ygjgDto
.
getJgid
();
List
<
YgjgDto
>
maps
=
new
ArrayList
<
YgjgDto
>();
List
<
YgjgDto
>
maps
=
new
ArrayList
<
YgjgDto
>();
YgjgDto
map
=
YgjgDto
.
builder
().
build
();
Map
<
Integer
,
String
>
map
=
new
HashMap
<
Integer
,
String
>();
if
(
type
==
1
)
{
//省份
if
(
type
==
1
)
{
//省份
List
<
YgProDto
>
list
=
new
LambdaQueryChainWrapper
<
YgProDto
>(
ygProDtoMapper
).
select
(
YgProDto:
:
getId
,
YgProDto:
:
getProvince
,
YgProDto:
:
getName
).
orderByAsc
(
YgProDto:
:
getProvince
).
list
();
List
<
YgProDto
>
list
=
new
LambdaQueryChainWrapper
<
YgProDto
>(
ygProDtoMapper
).
select
(
YgProDto:
:
getId
,
YgProDto:
:
getProvince
,
YgProDto:
:
getName
).
orderByAsc
(
YgProDto:
:
getProvince
).
list
();
for
(
YgProDto
pro
:
list
)
{
for
(
YgProDto
pro
:
list
)
{
maps
.
add
(
new
YgjgDto
(
pro
.
getId
(),
pro
.
getProvince
(),
pro
.
getName
()));
map
.
setType
(
pro
.
getId
());
map
.
setJgid
(
pro
.
getProvince
());
map
.
setJgname
(
pro
.
getName
());
maps
.
add
(
map
);
}}
}}
if
(
type
==
2
)
{
//城市
if
(
type
==
2
)
{
//城市
List
<
YgCityDto
>
list
=
new
LambdaQueryChainWrapper
<
YgCityDto
>(
ygCityDtoMapper
).
select
(
YgCityDto:
:
getId
,
YgCityDto:
:
getCity
,
YgCityDto:
:
getName
).
eq
(
YgCityDto:
:
getProvince
,
upId
).
orderByAsc
(
YgCityDto:
:
getProvince
).
orderByAsc
(
YgCityDto:
:
getCity
).
list
();
List
<
YgCityDto
>
list
=
new
LambdaQueryChainWrapper
<
YgCityDto
>(
ygCityDtoMapper
).
select
(
YgCityDto:
:
getId
,
YgCityDto:
:
getCity
,
YgCityDto:
:
getName
).
eq
(
YgCityDto:
:
getProvince
,
upId
).
orderByAsc
(
YgCityDto:
:
getProvince
).
orderByAsc
(
YgCityDto:
:
getCity
).
list
();
...
...
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