Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tao.mo
2023-02-28 19:11:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
71a74077cd35d5b895d7b879e7b1f2a5ecdf5fb9
71a74077
1 parent
3ddd1278
PI-11-HS CODE接口-01:
参数编码长度错误调整 mt 2023年2月24日18:02:22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/erry/iclear/dateInterface/service/HsCodeService.java
src/main/java/com/erry/iclear/dateInterface/service/HsCodeService.java
View file @
71a7407
...
...
@@ -108,7 +108,7 @@ public class HsCodeService {
return
resultHsCode
;
}
//编码长度小于4位字符校验失败
if
(!
StringUtil
.
isEmpty
(
hscode
.
getSku
Name
())
&&
hscode
.
getSkuNam
e
().
length
()
<
4
){
if
(!
StringUtil
.
isEmpty
(
hscode
.
getSku
Code
())
&&
hscode
.
getSkuCod
e
().
length
()
<
4
){
resultHsCode
.
setCode
(
ErrorCodeEnum
.
ERROR_30105
.
getCode
());
resultHsCode
.
setMsg
(
ErrorCodeEnum
.
ERROR_30105
.
getName
());
return
resultHsCode
;
...
...
Please
register
or
login
to post a comment