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
ffe11036
Commit
ffe11036
authored
Oct 25, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.字符串校验方法错误修正
parent
c1a0de21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+2
-2
No files found.
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
ffe11036
...
@@ -245,7 +245,7 @@ public class HGSCTools {
...
@@ -245,7 +245,7 @@ public class HGSCTools {
* @return
* @return
*/
*/
public
static
HGSC001
getByCode
(
String
code
)
{
public
static
HGSC001
getByCode
(
String
code
)
{
AssertUtils
.
is
Null
(
code
,
"项目Code不能为空!"
);
AssertUtils
.
is
Empty
(
code
,
"项目Code不能为空!"
);
Map
queryMap
=
new
HashMap
();
Map
queryMap
=
new
HashMap
();
queryMap
.
put
(
HGSC001
.
FIELD_proj_code
,
code
);
queryMap
.
put
(
HGSC001
.
FIELD_proj_code
,
code
);
queryMap
.
put
(
"notAuth"
,
true
);
queryMap
.
put
(
"notAuth"
,
true
);
...
@@ -259,7 +259,7 @@ public class HGSCTools {
...
@@ -259,7 +259,7 @@ public class HGSCTools {
* @return
* @return
*/
*/
public
static
HGSC001
queryByCode
(
String
code
)
{
public
static
HGSC001
queryByCode
(
String
code
)
{
AssertUtils
.
is
Null
(
code
,
"项目Code不能为空!"
);
AssertUtils
.
is
Empty
(
code
,
"项目Code不能为空!"
);
List
<
HGSC001
>
results
=
DaoBase
.
getInstance
().
query
(
HGSC001
.
QUERY
,
new
HashMap
<
String
,
Object
>()
{
List
<
HGSC001
>
results
=
DaoBase
.
getInstance
().
query
(
HGSC001
.
QUERY
,
new
HashMap
<
String
,
Object
>()
{
{
{
put
(
"projCode"
,
code
);
put
(
"projCode"
,
code
);
...
...
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