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
da886edd
Commit
da886edd
authored
Mar 04, 2019
by
kevin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_mysql' of
http://code.tech.tax.asia.pwcinternal.com/root/atms
into dev_mysql
parents
225a32cf
6926c9d3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletion
+27
-1
pom.xml
atms-api/pom.xml
+5
-0
EbsApiController.java
...in/java/pwc/taxtech/atms/controller/EbsApiController.java
+2
-1
OrganizationQueryDto.java
...ava/pwc/taxtech/atms/dto/ebsdto/OrganizationQueryDto.java
+20
-0
errors.json
atms-web/src/main/webapp/Scripts/errors.json
+0
-0
No files found.
atms-api/pom.xml
View file @
da886edd
...
@@ -416,6 +416,11 @@
...
@@ -416,6 +416,11 @@
<artifactId>
jxls-core
</artifactId>
<artifactId>
jxls-core
</artifactId>
<version>
1.0.6
</version>
<version>
1.0.6
</version>
</dependency>
</dependency>
<dependency>
<groupId>
javax.validation
</groupId>
<artifactId>
validation-api
</artifactId>
<version>
1.0.0.GA
</version>
</dependency>
</dependencies>
</dependencies>
...
...
atms-api/src/main/java/pwc/taxtech/atms/controller/EbsApiController.java
View file @
da886edd
...
@@ -12,6 +12,7 @@ import pwc.taxtech.atms.dto.ebsdto.*;
...
@@ -12,6 +12,7 @@ import pwc.taxtech.atms.dto.ebsdto.*;
import
pwc.taxtech.atms.service.EbsApiService
;
import
pwc.taxtech.atms.service.EbsApiService
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
javax.validation.Valid
;
import
java.util.Collections
;
import
java.util.Collections
;
import
java.util.List
;
import
java.util.List
;
...
@@ -144,7 +145,7 @@ public class EbsApiController {
...
@@ -144,7 +145,7 @@ public class EbsApiController {
}
}
@RequestMapping
(
value
=
"/updateOrg"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/updateOrg"
,
method
=
RequestMethod
.
POST
)
public
ApiResultDto
updateOrg
(
@RequestBody
List
<
OrganizationQueryDto
>
items
)
{
public
ApiResultDto
updateOrg
(
@RequestBody
@Valid
List
<
OrganizationQueryDto
>
items
)
{
if
(
CollectionUtils
.
isEmpty
(
items
))
{
if
(
CollectionUtils
.
isEmpty
(
items
))
{
logger
.
debug
(
"the updateOrg return items is empty"
);
logger
.
debug
(
"the updateOrg return items is empty"
);
return
ApiResultDto
.
success
(
Collections
.
emptyList
());
return
ApiResultDto
.
success
(
Collections
.
emptyList
());
...
...
atms-api/src/main/java/pwc/taxtech/atms/dto/ebsdto/OrganizationQueryDto.java
View file @
da886edd
package
pwc
.
taxtech
.
atms
.
dto
.
ebsdto
;
package
pwc
.
taxtech
.
atms
.
dto
.
ebsdto
;
import
javax.validation.constraints.Max
;
import
javax.validation.constraints.Size
;
import
java.io.Serializable
;
import
java.io.Serializable
;
/**
/**
...
@@ -9,40 +11,58 @@ import java.io.Serializable;
...
@@ -9,40 +11,58 @@ import java.io.Serializable;
*/
*/
public
class
OrganizationQueryDto
implements
Serializable
{
public
class
OrganizationQueryDto
implements
Serializable
{
@Size
(
max
=
50
,
message
=
"纳税人识别号超长,最长为50"
)
private
String
taxPayerNumber
;
private
String
taxPayerNumber
;
@Size
(
max
=
50
,
message
=
"机构代码超长,最长为50"
)
private
String
code
;
private
String
code
;
@Size
(
max
=
50
,
message
=
"机构名称超长,最长为50"
)
private
String
name
;
private
String
name
;
@Size
(
max
=
128
,
message
=
"机构名称超长,最长为128"
)
private
String
enterpriseAccountCode
;
private
String
enterpriseAccountCode
;
@Size
(
max
=
200
,
message
=
"法定负责人名称超长,最长为200"
)
private
String
legalPersonName
;
private
String
legalPersonName
;
@Size
(
max
=
500
,
message
=
"注册资本超长,最长为500"
)
private
String
registrationCapital
;
private
String
registrationCapital
;
@Size
(
max
=
500
,
message
=
"实缴资本超长,最长为500"
)
private
String
paidInCapital
;
private
String
paidInCapital
;
@Size
(
max
=
100
,
message
=
"注册负责人手机超长,最长为100"
)
private
String
legalPersonPhoneNumber
;
private
String
legalPersonPhoneNumber
;
@Size
(
max
=
100
,
message
=
"注册负责人座机超长,最长为100"
)
private
String
legalPersonLandlineNum
;
private
String
legalPersonLandlineNum
;
@Size
(
max
=
100
,
message
=
"注册负责人邮箱超长,最长为100"
)
private
String
legalPersonEmailAddress
;
private
String
legalPersonEmailAddress
;
@Size
(
max
=
200
,
message
=
"注册登记财务负责人姓名超长,最长为200"
)
private
String
regFinancialOfficerName
;
private
String
regFinancialOfficerName
;
@Size
(
max
=
200
,
message
=
"注册登记财务负责人手机超长,最长为200"
)
private
String
regFinancialOfficerPhoneNum
;
private
String
regFinancialOfficerPhoneNum
;
@Size
(
max
=
100
,
message
=
"注册登记财务负责人座机超长,最长为100"
)
private
String
regFinancialOfficerLandlineNum
;
private
String
regFinancialOfficerLandlineNum
;
@Size
(
max
=
100
,
message
=
"注册登记财务负责人手机超长,最长为100"
)
private
String
regFinancialOfficerEmailAddress
;
private
String
regFinancialOfficerEmailAddress
;
@Size
(
max
=
50
,
message
=
"记账本位币超长,最长为50"
)
private
String
currencyCode
;
private
String
currencyCode
;
@Size
(
max
=
500
,
message
=
"注册地址超长,最长为500"
)
private
String
registerAddress
;
private
String
registerAddress
;
@Size
(
max
=
300
,
message
=
"上级公司名称超长,最长为300"
)
private
String
parentName
;
private
String
parentName
;
@Max
(
value
=
99999999
,
message
=
"雇员人数超过最大限制"
)
private
int
staffSize
;
private
int
staffSize
;
public
String
getTaxPayerNumber
()
{
public
String
getTaxPayerNumber
()
{
...
...
atms-web/src/main/webapp/Scripts/errors.json
View file @
da886edd
This diff is collapsed.
Click to expand it.
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