Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnxtbaboot
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
杨亮
hnxtbaboot
Commits
106ecc89
Commit
106ecc89
authored
Aug 02, 2021
by
wuchengwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质量抽查任务:任务新建以及抽样对象生成,查询条件修改
parent
9b360334
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
src/main/java/com/founder/controller/ZlccController.java
+1
-0
src/main/resources/mapper/AfisQualityCcrwSqlMapper.xml
+8
-2
src/main/resources/templates/zlcc/zlcc.html
+1
-1
No files found.
src/main/java/com/founder/controller/ZlccController.java
View file @
106ecc89
...
...
@@ -85,6 +85,7 @@ public class ZlccController {
ryxxs
.
setCcdw
(
zlccrw
.
getLrdwdm
().
substring
(
0
,
6
));
ryxxs
.
setCjdwdm
(
user
.
getUnitcode
());
}
else
{
ryxxs
.
setBz
(
"0"
);
// ryxxs.setCcdw(user.getUnitcode().substring(0,6));
ryxxs
.
setCjdwdm
(
user
.
getUnitcode
());
}
...
...
src/main/resources/mapper/AfisQualityCcrwSqlMapper.xml
View file @
106ecc89
...
...
@@ -24,7 +24,10 @@
</sql>
<select
id=
"queryZlccrwPageCount"
resultType=
"int"
parameterType=
"map"
>
select count(*) from AFIS_QUALITY_CCRW A where 1=1
AND A.SCBZ = '0' AND RWBZ = '1'
AND A.SCBZ = '0'
<if
test=
"entity.bz != null and entity.bz != ''"
>
AND RWBZ = '1'
</if>
<include
refid=
"queryWhere"
/>
</select>
...
...
@@ -44,7 +47,10 @@
A.BZ as bz,
A.CJSJ as cjsj
from AFIS_QUALITY_CCRW A where 1=1
AND A.SCBZ = '0' AND RWBZ = '1'
AND A.SCBZ = '0'
<if
test=
"entity.bz != null and entity.bz != ''"
>
AND RWBZ = '1'
</if>
<include
refid=
"queryWhere"
/>
<![CDATA[ order by ${sort} ${order} ) a
WHERE ROWNUM <= #{ end } ) t
...
...
src/main/resources/templates/zlcc/zlcc.html
View file @
106ecc89
...
...
@@ -399,7 +399,7 @@
pageNumber
:
1
,
loadFilter
:
function
(
data
)
{
count
++
;
if
(
data
.
rows
.
length
==
0
&&
count
<
2
)
{
if
(
data
.
rows
.
length
<
$
(
'#ccfs'
).
val
()
&&
count
<
2
)
{
doQuery
(
'0'
)
}
else
{
return
data
;
...
...
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