Ver código fonte

feature 解锁增加条件

xiahan 1 ano atrás
pai
commit
cb671906c1

+ 4 - 0
cx-aps/cx-aps-common/src/main/resources/mybatis/ApsBlankOrderDao.xml

@@ -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 &lt; #{lockTime} </when>
                 <otherwise>and apope.PLANSTARTDATE &gt; #{lockTime}</otherwise>