Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-common
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
isc-v3.1-tmp
isc-common
Commits
f098643f
Commit
f098643f
authored
Sep 29, 2024
by
huangshunlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
actGetBlkCeb <> 补充 or is not null /is null 条件
parent
df81effb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
GlemodServiceImpl.java
...nce/isc/common/glemod/service/impl/GlemodServiceImpl.java
+5
-4
No files found.
isc-common-service-setmod/src/main/java/com/brilliance/isc/common/glemod/service/impl/GlemodServiceImpl.java
View file @
f098643f
...
...
@@ -1350,7 +1350,8 @@ public class GlemodServiceImpl implements GlemodService {
* source:glemod.0017.script
*/
public
String
actgetsql
(
String
ptyinr
,
String
dsp
,
String
cur
)
{
String
res
=
"WHERE EXTKEY <> ''"
;
// String res = "WHERE EXTKEY <> ''";
String
res
=
"WHERE (EXTKEY is not null or EXTKEY <> '') "
;
if
(
StringUtils
.
isNotEmpty
(
cur
))
{
res
+=
" AND (CUR = '"
+
cur
+
"' or CUR = ' ')"
;
}
...
...
@@ -1689,11 +1690,11 @@ public class GlemodServiceImpl implements GlemodService {
}
String
res
=
""
;
if
(
MdaUtils
.
compareTo
(
amt
,
0
)
<
0
)
{
sqlblk
+=
" AND
DIRFLG <> 'D'
"
;
sqlblk
+=
" AND
(DIRFLG is null or DIRFLG <> 'D' )
"
;
}
else
{
sqlblk
+=
" AND
DIRFLG <> 'C'
"
;
sqlblk
+=
" AND
(DIRFLG is null or DIRFLG <> 'C' )
"
;
}
sqlblk
+=
" AND
DELFLG <> 'X'
"
;
sqlblk
+=
" AND
(DELFLG is null or DELFLG <> 'X')
"
;
sqlblk
=
Utils
.
sdbEtyGenSql
(
"ACT"
,
sqlblk
);
sqlblk
+=
" ORDER BY PRI DESC, INR DESC"
;
String
sql
=
"select EXTKEY from ACT "
+
sqlblk
;
...
...
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