Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
platform
hg-smart
Commits
142d64bd
Commit
142d64bd
authored
Jul 03, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报工取消报工人所属组织机构限制
parent
8f53492b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+3
-3
No files found.
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
142d64bd
...
...
@@ -1074,9 +1074,9 @@ public class HGSCTools {
private
static
void
checkAddDate
(
HGSC008
hgsc008
){
List
<
String
>
orgIdList
=
UserSessionUtils
.
getOrgId
();
AssertUtils
.
isEmpty
(
hgsc008
.
getGroupCode
(),
"生产任务班组信息异常,请联系管理员!"
);
AssertUtils
.
isTrue
(!
orgIdList
.
contains
(
hgsc008
.
getGroupCode
()),
"非当前任务生产组用户,无法报工此任务!"
);
//
List<String> orgIdList = UserSessionUtils.getOrgId();
//
AssertUtils.isEmpty(hgsc008.getGroupCode(),"生产任务班组信息异常,请联系管理员!");
//
AssertUtils.isTrue(!orgIdList.contains(hgsc008.getGroupCode()),"非当前任务生产组用户,无法报工此任务!");
AssertUtils
.
isNull
(
hgsc008
.
getQuantity
(),
"报工数量不能为空!"
);
}
...
...
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