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
943fbc69
Commit
943fbc69
authored
Jul 31, 2019
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed shareholder structure -- frank
parent
bdfa65ae
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
11 deletions
+13
-11
OrganizationHKServiceImpl.java
.../taxtech/atms/service/impl/OrganizationHKServiceImpl.java
+4
-5
OrganizationHKTMapper.java
...xtech/atms/organization/mapper/OrganizationHKTMapper.java
+7
-3
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+0
-0
organization-manage.html
...nfrastructure/organizationManage/organization-manage.html
+2
-3
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/OrganizationHKServiceImpl.java
View file @
943fbc69
...
@@ -279,7 +279,7 @@ public class OrganizationHKServiceImpl {
...
@@ -279,7 +279,7 @@ public class OrganizationHKServiceImpl {
.
collect
(
Collectors
.
toList
()).
get
(
0
);
.
collect
(
Collectors
.
toList
()).
get
(
0
);
parentOrg
.
setParentName
(
organization
==
null
?
null
:
organization
.
getName
());
parentOrg
.
setParentName
(
organization
==
null
?
null
:
organization
.
getName
());
}
}
List
<
OrganizationHK
>
subOrgs
=
null
;
List
<
OrganizationHK
>
subOrgs
;
if
(
useType
==
1
)
{
if
(
useType
==
1
)
{
subOrgs
=
orgs
.
stream
().
filter
(
x
->
parentOrg
.
getId
().
equals
(
x
.
getParentId
())).
collect
(
Collectors
.
toList
());
subOrgs
=
orgs
.
stream
().
filter
(
x
->
parentOrg
.
getId
().
equals
(
x
.
getParentId
())).
collect
(
Collectors
.
toList
());
}
else
{
}
else
{
...
@@ -297,15 +297,14 @@ public class OrganizationHKServiceImpl {
...
@@ -297,15 +297,14 @@ public class OrganizationHKServiceImpl {
return
parentOrg
;
return
parentOrg
;
}
}
p
ublic
List
<
OrganizationHK
>
findAllOrganizations
()
{
p
rivate
List
<
OrganizationHK
>
findAllOrganizations
()
{
OrganizationHKExample
organizationExample
=
new
OrganizationHKExample
();
OrganizationHKExample
organizationExample
=
new
OrganizationHKExample
();
return
organizationHKMapper
.
selectByExample
(
organizationExample
);
return
organizationHKMapper
.
selectByExample
(
organizationExample
);
}
}
public
OrganizationHKDto
getSingleOrgByOrgId
(
Long
orgId
)
{
public
OrganizationHKDto
getSingleOrgByOrgId
(
Long
orgId
)
{
OrganizationHK
organizationHK
=
organizationHKMapper
.
selectByPrimaryKey
(
orgId
);
OrganizationHK
organizationHK
=
organizationHKMapper
.
selectByPrimaryKey
(
orgId
);
OrganizationHKDto
result
=
new
OrganizationHKDto
();
OrganizationHKDto
result
=
organizationHKTMapper
.
toOrganizationHKDto
(
organizationHK
);
CommonUtils
.
copyProperties
(
organizationHK
,
result
);
Assert
.
notNull
(
result
,
"result is null"
);
Assert
.
notNull
(
result
,
"result is null"
);
result
.
setLevel
(
result
.
getLevel
()
==
null
?
0
:
result
.
getLevel
());
result
.
setLevel
(
result
.
getLevel
()
==
null
?
0
:
result
.
getLevel
());
result
.
setParentName
(
""
);
result
.
setParentName
(
""
);
...
@@ -393,7 +392,7 @@ public class OrganizationHKServiceImpl {
...
@@ -393,7 +392,7 @@ public class OrganizationHKServiceImpl {
private
OperationResultDto
checkExist
(
OrganizationHKDto
orgDto
)
{
private
OperationResultDto
checkExist
(
OrganizationHKDto
orgDto
)
{
Assert
.
notNull
(
orgDto
,
"orgDto null point error"
);
Assert
.
notNull
(
orgDto
,
"orgDto null point error"
);
OrganizationHK
queryRoot
=
null
;
OrganizationHK
queryRoot
;
OrganizationHKExample
example
=
new
OrganizationHKExample
();
OrganizationHKExample
example
=
new
OrganizationHKExample
();
OrganizationHKExample
.
Criteria
criteria
=
example
.
createCriteria
();
OrganizationHKExample
.
Criteria
criteria
=
example
.
createCriteria
();
criteria
.
andCodeEqualTo
(
orgDto
.
getCode
());
criteria
.
andCodeEqualTo
(
orgDto
.
getCode
());
...
...
atms-dao/src/main/java/pwc/taxtech/atms/organization/mapper/OrganizationHKTMapper.java
View file @
943fbc69
...
@@ -11,9 +11,13 @@ import pwc.taxtech.atms.organization.entity.OrganizationHK;
...
@@ -11,9 +11,13 @@ import pwc.taxtech.atms.organization.entity.OrganizationHK;
public
interface
OrganizationHKTMapper
{
public
interface
OrganizationHKTMapper
{
OrganizationHKTMapper
ORGANIZATION_HK_MAPPER
=
Mappers
.
getMapper
(
OrganizationHKTMapper
.
class
);
OrganizationHKTMapper
ORGANIZATION_HK_MAPPER
=
Mappers
.
getMapper
(
OrganizationHKTMapper
.
class
);
@Mapping
(
source
=
"createTime"
,
target
=
"createTime"
,
dateFormat
=
"yyyy/MM/dd"
)
@Mapping
(
source
=
"createTime"
,
target
=
"createTime"
,
dateFormat
=
"yyyy/MM/dd"
)
@Mapping
(
source
=
"updateTime"
,
target
=
"updateTime"
,
dateFormat
=
"yyyy/MM/dd"
)
@Mapping
(
source
=
"updateTime"
,
target
=
"updateTime"
,
dateFormat
=
"yyyy/MM/dd"
)
@Mapping
(
source
=
"dateOfIncorporation"
,
target
=
"dateOfIncorporation"
,
dateFormat
=
"yyyy/MM/dd"
)
@Mapping
(
source
=
"dateOfIncorporation"
,
target
=
"dateOfIncorporation"
,
dateFormat
=
"yyyy/MM/dd"
)
@Mapping
(
source
=
"paymentOfAnnualGovernmentFee"
,
target
=
"paymentOfAnnualGovernmentFee"
,
dateFormat
=
"yyyy/MM/dd"
)
@Mapping
(
source
=
"annualReturnFillings"
,
target
=
"annualReturnFillings"
,
dateFormat
=
"yyyy/MM/dd"
)
@Mapping
(
source
=
"renewalOfBusinessLicense"
,
target
=
"renewalOfBusinessLicense"
,
dateFormat
=
"yyyy/MM/dd"
)
@Mapping
(
source
=
"annualAuditRequirement"
,
target
=
"annualAuditRequirement"
,
dateFormat
=
"yyyy/MM/dd"
)
OrganizationHKDto
toOrganizationHKDto
(
OrganizationHK
organizationHK
);
OrganizationHKDto
toOrganizationHKDto
(
OrganizationHK
organizationHK
);
OrgInfoDto
toOrgInfoDto
(
OrganizationHK
organizationHK
);
OrgInfoDto
toOrgInfoDto
(
OrganizationHK
organizationHK
);
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
943fbc69
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.html
View file @
943fbc69
...
@@ -332,8 +332,7 @@
...
@@ -332,8 +332,7 @@
</div>
</div>
<div
class=
"right-option"
>
<div
class=
"right-option"
>
<button
type=
"button"
class=
"btn btn-in-grid"
style=
"width: 117px;"
<button
type=
"button"
class=
"btn btn-in-grid"
style=
"width: 117px;"
ng-click=
"addDirector()"
><i
ng-click=
"addDirector()"
><i
class=
"material-icons middle"
>
create
</i>
{{'Create' | translate}}
class=
"material-icons middle"
>
create
</i>
{{'Create' | translate}}
</button>
</button>
</div>
</div>
<div
class=
"current-holding-info"
>
<div
class=
"current-holding-info"
>
...
@@ -353,7 +352,7 @@
...
@@ -353,7 +352,7 @@
<span
class=
"compliance-lable"
>
{{'ComplianceCheckList'|translate}}
</span>
<span
class=
"compliance-lable"
>
{{'ComplianceCheckList'|translate}}
</span>
</div>
</div>
<div
class=
"org-compliance-info-body"
>
<div
class=
"org-compliance-info-body"
>
<!-- <div id="ComplianceGridContainer" dx-data-grid="complianceGridOptions" style="margin-top: 10px;"></div>-->
<!-- <div id="ComplianceGridContainer" dx-data-grid="complianceGridOptions" style="margin-top: 10px;"></div>-->
<div
id=
"data-grid-compliance"
>
<div
id=
"data-grid-compliance"
>
<div
style=
"color: red;float: left;margin: 10px 20px;"
>
+ New Action Item
</div>
<div
style=
"color: red;float: left;margin: 10px 20px;"
>
+ New Action Item
</div>
<div
class=
"complianceSaveSelected"
dx-button=
"complianceRevertButtonOptions"
></div>
<div
class=
"complianceSaveSelected"
dx-button=
"complianceRevertButtonOptions"
></div>
...
...
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