Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
215ddf39
Commit
215ddf39
authored
Apr 01, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
18c48356
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
StoreController.java
...com/gic/haoban/manage/web/controller/StoreController.java
+12
-0
HaoBanErrCode.java
...java/com/gic/haoban/manage/web/errCode/HaoBanErrCode.java
+1
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/StoreController.java
View file @
215ddf39
...
@@ -39,6 +39,7 @@ import com.gic.haoban.manage.api.dto.AuditSettingDTO;
...
@@ -39,6 +39,7 @@ import com.gic.haoban.manage.api.dto.AuditSettingDTO;
import
com.gic.haoban.manage.api.dto.DepartmentDTO
;
import
com.gic.haoban.manage.api.dto.DepartmentDTO
;
import
com.gic.haoban.manage.api.dto.EnterpriseDetailDTO
;
import
com.gic.haoban.manage.api.dto.EnterpriseDetailDTO
;
import
com.gic.haoban.manage.api.dto.StaffDepartmentRelatedDTO
;
import
com.gic.haoban.manage.api.dto.StaffDepartmentRelatedDTO
;
import
com.gic.haoban.manage.api.enums.StoreFieldEnum
;
import
com.gic.haoban.manage.api.service.AuditApiService
;
import
com.gic.haoban.manage.api.service.AuditApiService
;
import
com.gic.haoban.manage.api.service.AuditSettingApiService
;
import
com.gic.haoban.manage.api.service.AuditSettingApiService
;
import
com.gic.haoban.manage.api.service.DepartmentApiService
;
import
com.gic.haoban.manage.api.service.DepartmentApiService
;
...
@@ -239,6 +240,17 @@ public class StoreController extends WebBaseController{
...
@@ -239,6 +240,17 @@ public class StoreController extends WebBaseController{
if
(
StringUtils
.
isBlank
(
newValue
)){
if
(
StringUtils
.
isBlank
(
newValue
)){
newValue
=
""
;
newValue
=
""
;
}
}
//增加判断是否是门店面积数字合法
if
(
StoreFieldEnum
.
STORE_AREA
.
getValue
().
equals
(
changeField
)){
try
{
Double
.
parseDouble
(
newValue
);
}
catch
(
Exception
e
)
{
return
resultResponse
(
HaoBanErrCode
.
ERR_400019
);
}
}
StoreDTO
store
=
storeService
.
getStore
(
storeId
);
StoreDTO
store
=
storeService
.
getStore
(
storeId
);
String
enterpriseId
=
store
.
getEnterpriseId
();
String
enterpriseId
=
store
.
getEnterpriseId
();
logger
.
info
(
"==================aaaa"
);
logger
.
info
(
"==================aaaa"
);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/errCode/HaoBanErrCode.java
View file @
215ddf39
...
@@ -90,6 +90,7 @@ public enum HaoBanErrCode {
...
@@ -90,6 +90,7 @@ public enum HaoBanErrCode {
ERR_400016
(
400016
,
"提交人不存在"
),
ERR_400016
(
400016
,
"提交人不存在"
),
ERR_400017
(
400017
,
"成员不存在"
),
ERR_400017
(
400017
,
"成员不存在"
),
ERR_400018
(
400018
,
"已有待审核的门店字段信息提交,请等待审核完再提交"
),
ERR_400018
(
400018
,
"已有待审核的门店字段信息提交,请等待审核完再提交"
),
ERR_400019
(
400019
,
"门店面积不合法"
),
/**
/**
* 文件不存在
* 文件不存在
...
...
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