diff --git a/src/main/resources/mybatis/mapper/aiccs/business/TSTaskListMapper.xml b/src/main/resources/mybatis/mapper/aiccs/business/TSTaskListMapper.xml
index 5d5e045..199550c 100644
--- a/src/main/resources/mybatis/mapper/aiccs/business/TSTaskListMapper.xml
+++ b/src/main/resources/mybatis/mapper/aiccs/business/TSTaskListMapper.xml
@@ -717,17 +717,17 @@
)
) m
) mm
- WHERE mm.rn = 1
+ mm.rn = 1
- and date_format(m.CREATETIME,'%Y-%m-%d') >= #{customParamMap.startDate}
+ AND date_format(mm.CREATETIME,'%Y-%m-%d') >= #{customParamMap.startDate}
- and date_format(m.CREATETIME,'%Y-%m-%d') <= #{customParamMap.endDate}
+ AND date_format(mm.CREATETIME,'%Y-%m-%d') <= #{customParamMap.endDate}
- and m.BIZSEQID in (
+ AND mm.BIZSEQID in (
select BIZSEQ from aiccs.tsbizremlist tsb left join e_baseinfo eb on tsb.PRIPID = eb.PRIPID
where 1=1
and eb.UNISCID = #{customParamMap.UNISCID}
@@ -739,7 +739,7 @@
)
- and m.BIZSEQID in (
+ AND mm.BIZSEQID in (
select BIZSEQ from aiccs.tsbizremlist tsb left join e_baseinfo eb on tsb.PRIPID = eb.PRIPID
where 1=1
and eb.REGNO = #{customParamMap.REGNO}
@@ -751,22 +751,22 @@
)
- and m.BUSTYPE = #{customParamMap.bustype}
+ AND mm.BUSTYPE = #{customParamMap.bustype}
- and m.BUSNAME = #{customParamMap.searchName}
+ AND mm.BUSNAME = #{customParamMap.searchName}
- and m.ACCEPTNO = #{customParamMap.acceptno}
+ AND mm.ACCEPTNO = #{customParamMap.acceptno}
- and m.currentNodeOrBizStatus = #{customParamMap.currentNode}
+ AND mm.currentNodeOrBizStatus = #{customParamMap.currentNode}
- and m.lastNode = #{customParamMap.lastNode}
+ AND mm.lastNode = #{customParamMap.lastNode}
- and m.currentNodeOrBizStatus in ('exptlistEnter',
+ AND mm.currentNodeOrBizStatus in ('exptlistEnter',
'serIllegalEnter',
'revCancelEnter',
'startAccept',
@@ -779,7 +779,7 @@
)
- and m.currentNodeOrBizStatus in ('handleExptlist',
+ AND mm.currentNodeOrBizStatus in ('handleExptlist',
'handleSerIllegal',
'handleRevCancel',
'handleCancel',
@@ -798,7 +798,7 @@
)
- and m.currentNodeOrBizStatus in ( 'approvelist',
+ AND mm.currentNodeOrBizStatus in ( 'approvelist',
'approveSerIllegal',
'approveRevCancel',
'approvalCancel',
@@ -817,7 +817,7 @@
)
- and m.currentNodeOrBizStatus in ('endExptlist',
+ AND mm.currentNodeOrBizStatus in ('endExptlist',
'endDissent',
'endSerIllegal',
'endRevoke',
@@ -828,7 +828,7 @@
'14','noRegister','cancelShow','noRegister')
- and m.currentNodeOrBizStatus in ('overExptlist',
+ AND mm.currentNodeOrBizStatus in ('overExptlist',
'overDissent',
'overSerIllegal',
'overRevoke',
@@ -839,14 +839,14 @@
)
- and m.currentNodeOrBizStatus = 'clueReturn'
+ AND mm.currentNodeOrBizStatus = 'clueReturn'
- and m.currentNodeOrBizStatus in ('overNullify','noAccept')
+ AND mm.currentNodeOrBizStatus in ('overNullify','noAccept')
- ORDER BY m.LAUPTIME DESC
+ ORDER BY mm.LAUPTIME DESC