Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
3c82767f
Commit
3c82767f
authored
Jun 07, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUGFIX] fixed vat card view second can not go sever
parent
a94e5592
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
11 deletions
+15
-11
ProjectMapper.java
...api/src/main/java/pwc/taxtech/atms/dao/ProjectMapper.java
+1
-1
ProjectDisplayDto.java
...java/pwc/taxtech/atms/dto/taxadmin/ProjectDisplayDto.java
+9
-9
ProjectServiceImpl.java
...ava/pwc/taxtech/atms/service/impl/ProjectServiceImpl.java
+5
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/dao/ProjectMapper.java
View file @
3c82767f
...
...
@@ -171,7 +171,7 @@ public interface ProjectMapper extends MyMapper {
"WHERE "
+
" p.DbName = #{dbName} "
+
"ORDER BY PeriodId , Status"
)
Dictionary
<
Integer
,
Integer
>
getProjectSatusListByDbName
(
String
dbName
);
List
<
ProjectStatusManage
>
getProjectSatusListByDbName
(
String
dbName
);
@Select
(
"<script>"
+
"SELECT "
+
...
...
atms-api/src/main/java/pwc/taxtech/atms/dto/taxadmin/ProjectDisplayDto.java
View file @
3c82767f
...
...
@@ -4,6 +4,7 @@ import java.util.ArrayList;
import
java.util.Date
;
import
java.util.Dictionary
;
import
java.util.List
;
import
java.util.Map
;
public
class
ProjectDisplayDto
{
private
String
clientCode
;
...
...
@@ -22,7 +23,7 @@ public class ProjectDisplayDto {
private
String
name
;
private
String
organizationID
;
private
String
organizationName
;
private
Dictionary
<
Integer
,
Integer
>
projectStatusList
;
private
Map
<
Integer
,
Integer
>
projectStatusList
;
private
String
regionID
;
private
String
regionName
;
private
Integer
ruleType
;
...
...
@@ -164,14 +165,6 @@ public class ProjectDisplayDto {
this
.
organizationName
=
organizationName
;
}
public
Dictionary
<
Integer
,
Integer
>
getProjectStatusList
()
{
return
projectStatusList
;
}
public
void
setProjectStatusList
(
Dictionary
<
Integer
,
Integer
>
projectStatusList
)
{
this
.
projectStatusList
=
projectStatusList
;
}
public
String
getRegionID
()
{
return
regionID
;
}
...
...
@@ -301,4 +294,11 @@ public class ProjectDisplayDto {
return
this
;
}
public
Map
<
Integer
,
Integer
>
getProjectStatusList
()
{
return
projectStatusList
;
}
public
void
setProjectStatusList
(
Map
<
Integer
,
Integer
>
projectStatusList
)
{
this
.
projectStatusList
=
projectStatusList
;
}
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/ProjectServiceImpl.java
View file @
3c82767f
...
...
@@ -125,7 +125,11 @@ public class ProjectServiceImpl implements ProjectService {
List
<
ProjectDisplayDto
>
data
=
projectMapper
.
getProjectList
(
orgID
,
serviceID
,
projectYear
);
//获取每个项目的项目状态
data
.
forEach
(
p
->
{
p
.
setProjectStatusList
(
projectMapper
.
getProjectSatusListByDbName
(
p
.
getDbName
()));
List
<
ProjectStatusManage
>
manageStatus
=
projectMapper
.
getProjectSatusListByDbName
(
p
.
getDbName
());
Map
<
Integer
,
Integer
>
dic
=
new
HashMap
<>();
manageStatus
.
forEach
(
m
->{
dic
.
put
(
m
.
getPeriodId
(),
m
.
getStatus
());});
p
.
setProjectStatusList
(
dic
);
});
//添加账套中需要创建的项目
List
<
ProjectDisplayDto
>
orgList
=
getProjectFromEnterpriseAccountSetOrg
(
data
,
orgID
,
serviceID
,
projectYear
);
...
...
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