Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-qyxzpt-report
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
刘良浪
xzxt-qyxzpt-report
Commits
196afb83
Commit
196afb83
authored
Apr 17, 2023
by
liulianglang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
透视修改,添加条件查询
parent
dc5d64ca
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
11 deletions
+55
-11
src/main/java/org/springblade/founder/tjfx/entity/DwTjParam.java
+2
-1
src/main/java/org/springblade/founder/tjfx/mapper/WcnrfzShrTjMapper.xml
+48
-8
src/main/java/org/springblade/founder/tjfx/service/impl/AjlbSysDictServiceImpl.java
+0
-0
src/main/java/org/springblade/founder/tjfx/service/impl/WcnrfzShrTjServiceImpl.java
+5
-2
No files found.
src/main/java/org/springblade/founder/tjfx/entity/DwTjParam.java
View file @
196afb83
...
...
@@ -18,6 +18,7 @@ public class DwTjParam {
private
int
limit
;
private
int
end
;
private
int
begin
;
private
String
larqQssj
;
private
String
larqJssj
;
private
List
<
String
>
lbs
;
}
src/main/java/org/springblade/founder/tjfx/mapper/WcnrfzShrTjMapper.xml
View file @
196afb83
...
...
@@ -162,7 +162,12 @@
<if
test=
"jssj != null and jssj != ''"
>
AND ASJ.ASJFSSJ_ASJFSKSSJ
<![CDATA[<]]>
to_date(#{jssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"larqQssj != null and larqQssj != ''"
>
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if
test=
"larqJssj != null and larqJssj != ''"
>
AND ASJ.LARQ
<![CDATA[<]]>
to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"ajzt != null and ajzt != '' and ajzt == '1'.toString() "
>
and ASJ.ZCJDDM = '0400'
</if>
...
...
@@ -202,7 +207,12 @@
<if
test=
"jssj != null and jssj != ''"
>
AND ASJ.ASJFSSJ_ASJFSKSSJ
<![CDATA[<]]>
to_date(#{jssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"larqQssj != null and larqQssj != ''"
>
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if
test=
"larqJssj != null and larqJssj != ''"
>
AND ASJ.LARQ
<![CDATA[<]]>
to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"ajzt != null and ajzt != '' and ajzt == '1'.toString() "
>
and ASJ.ZCJDDM = '0400'
</if>
...
...
@@ -243,7 +253,12 @@
<if
test=
"jssj != null and jssj != ''"
>
AND ASJ.ASJFSSJ_ASJFSKSSJ
<![CDATA[<]]>
to_date(#{jssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"larqQssj != null and larqQssj != ''"
>
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if
test=
"larqJssj != null and larqJssj != ''"
>
AND ASJ.LARQ
<![CDATA[<]]>
to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"ajzt != null and ajzt != '' and ajzt == '1'.toString() "
>
and ASJ.ZCJDDM = '0400'
</if>
...
...
@@ -290,7 +305,12 @@
<if
test=
"jssj != null and jssj != ''"
>
AND ASJ.ASJFSSJ_ASJFSKSSJ
<![CDATA[<]]>
to_date(#{jssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"larqQssj != null and larqQssj != ''"
>
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if
test=
"larqJssj != null and larqJssj != ''"
>
AND ASJ.LARQ
<![CDATA[<]]>
to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"ajzt != null and ajzt != '' and ajzt == '1'.toString() "
>
and ASJ.ZCJDDM = '0400'
</if>
...
...
@@ -363,7 +383,12 @@
<if
test=
"jssj != null and jssj != ''"
>
AND ASJ.ASJFSSJ_ASJFSKSSJ
<![CDATA[<]]>
to_date(#{jssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"larqQssj != null and larqQssj != ''"
>
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if
test=
"larqJssj != null and larqJssj != ''"
>
AND ASJ.LARQ
<![CDATA[<]]>
to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"ajzt != null and ajzt != '' and ajzt == '1'.toString() "
>
and ASJ.ZCJDDM = '0400'
</if>
...
...
@@ -419,7 +444,12 @@
<if
test=
"jssj != null and jssj != ''"
>
AND ASJ.ASJFSSJ_ASJFSKSSJ
<![CDATA[<]]>
to_date(#{jssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"larqQssj != null and larqQssj != ''"
>
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if
test=
"larqJssj != null and larqJssj != ''"
>
AND ASJ.LARQ
<![CDATA[<]]>
to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"ajzt != null and ajzt != '' and ajzt == '1'.toString() "
>
and ASJ.ZCJDDM = '0400'
</if>
...
...
@@ -469,7 +499,12 @@
<if
test=
"jssj != null and jssj != ''"
>
AND ASJ.ASJFSSJ_ASJFSKSSJ
<![CDATA[<]]>
to_date(#{jssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"larqQssj != null and larqQssj != ''"
>
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if
test=
"larqJssj != null and larqJssj != ''"
>
AND ASJ.LARQ
<![CDATA[<]]>
to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"ajzt != null and ajzt != '' and ajzt == '1'.toString() "
>
and ASJ.ZCJDDM = '0400'
</if>
...
...
@@ -511,7 +546,12 @@
<if
test=
"jssj != null and jssj != ''"
>
AND asj.ASJFSSJ_ASJFSKSSJ
<![CDATA[<]]>
to_date(#{jssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"larqQssj != null and larqQssj != ''"
>
AND ASJ.LARQ
<![CDATA[>=]]>
to_date(#{larqQssj, jdbcType=VARCHAR},'yyyy-mm-dd')
</if>
<if
test=
"larqJssj != null and larqJssj != ''"
>
AND ASJ.LARQ
<![CDATA[<]]>
to_date(#{larqJssj, jdbcType=VARCHAR},'yyyy-mm-dd ') +1
</if>
<if
test=
"ajzt != null and ajzt != '' and ajzt == '1'.toString() "
>
and ASJ.ZCJDDM = '0400'
</if>
...
...
src/main/java/org/springblade/founder/tjfx/service/impl/AjlbSysDictServiceImpl.java
View file @
196afb83
This diff is collapsed.
Click to expand it.
src/main/java/org/springblade/founder/tjfx/service/impl/WcnrfzShrTjServiceImpl.java
View file @
196afb83
...
...
@@ -41,8 +41,8 @@ public class WcnrfzShrTjServiceImpl implements WcnrfzShrTjService {
String
ajzt
=
dwTjParam
.
getAjzt
();
String
ajlbdm
=
dwTjParam
.
getAjlbdm
();
String
xlajlbdm
=
dwTjParam
.
getXlajlbdm
();
String
larqQssj
=
dwTjParam
.
getLarqQssj
();
String
larqJssj
=
dwTjParam
.
getLarqJssj
();
if
(
StringUtils
.
isEmpty
(
unitcode
))
{
...
...
@@ -70,6 +70,9 @@ public class WcnrfzShrTjServiceImpl implements WcnrfzShrTjService {
paramMap
.
put
(
"ajzt"
,
ajzt
);
paramMap
.
put
(
"ajlbdm"
,
ajlbdm
);
paramMap
.
put
(
"xlajlbdm"
,
xlajlbdm
);
paramMap
.
put
(
"larqQssj"
,
larqQssj
);
paramMap
.
put
(
"larqJssj"
,
larqJssj
);
dwLevMap
.
put
(
"includeBdw"
,
"true"
);
List
<
DictitemXz
>
unitList
=
dwTjfxMapper
.
getXqdwList
(
dwLevMap
);
...
...
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