|
@@ -155,6 +155,10 @@
|
|
|
left join aps_process_operation_process_equ apope on apope.PROCESSID=apo.ID and apope.DELETED='0'
|
|
|
<where>
|
|
|
abo.DELETED ='0'
|
|
|
+ <if test="lockTime=='n'">
|
|
|
+ AND abo.PRODUCTSTATUS !='40'
|
|
|
+ and abo.PRODUCTSTATUS !='50'
|
|
|
+ </if>
|
|
|
<choose>
|
|
|
<when test='lockMark=="y"'> and apope.PLANSTARTDATE < #{lockTime} </when>
|
|
|
<otherwise>and apope.PLANSTARTDATE > #{lockTime}</otherwise>
|