Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-core
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-core
Commits
005d1e10
Commit
005d1e10
authored
Oct 30, 2024
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XRT多实体调整
parent
daa6c31a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
CbsRange.java
.../main/java/com/brilliance/isc/common/cbsmod/CbsRange.java
+1
-1
No files found.
isc-common-service/src/main/java/com/brilliance/isc/common/cbsmod/CbsRange.java
View file @
005d1e10
...
@@ -125,7 +125,7 @@ public class CbsRange {
...
@@ -125,7 +125,7 @@ public class CbsRange {
String
sql
=
""
;
String
sql
=
""
;
sql
+=
" WHERE CUR = '"
+
cur
+
"'"
;
sql
+=
" WHERE CUR = '"
+
cur
+
"'"
;
sql
+=
" AND date_format(BEGDAT, '%y%m%d') <= "
+
Utils
.
dbSqlDate
(
dat
)
+
" AND date_format(ENDDAT, '%y%m%d') > "
+
Utils
.
dbSqlDate
(
dat
)
+
" "
;
sql
+=
" AND date_format(BEGDAT, '%y%m%d') <= "
+
Utils
.
dbSqlDate
(
dat
)
+
" AND date_format(ENDDAT, '%y%m%d') > "
+
Utils
.
dbSqlDate
(
dat
)
+
" "
;
sql
=
Utils
.
sdbEtyGenSql
(
"XRT"
,
sql
);
//
sql = Utils.sdbEtyGenSql("XRT",sql);
List
<
Xrt
>
xrtList
=
xrtMapper
.
getXrtByConditionSql
(
sql
);
List
<
Xrt
>
xrtList
=
xrtMapper
.
getXrtByConditionSql
(
sql
);
if
(
xrtList
!=
null
&&
xrtList
.
size
()
>
0
)
{
if
(
xrtList
!=
null
&&
xrtList
.
size
()
>
0
)
{
BeanUtils
.
copyProperties
(
xrtList
.
get
(
0
),
xrt
);
//需要深拷贝,不然调用得到的对象指向的还是原来的地址
BeanUtils
.
copyProperties
(
xrtList
.
get
(
0
),
xrt
);
//需要深拷贝,不然调用得到的对象指向的还是原来的地址
...
...
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