fangpy пре 8 месеци
родитељ
комит
dbcb215e7a
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      cx-aps/cx-aps-common/src/main/resources/mybatis/ApsBlankOrderDao.xml

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

@@ -169,8 +169,8 @@
         <where>
             DELETED ='0'
             <choose>
-                <when test='lockMark=="y"'> and PLANSTARTDATE &lt; #{lockTime} and  LOCKMARK='n'</when>
-                <otherwise>and PLANSTARTDATE &gt; #{lockTime} and  LOCKMARK='y'</otherwise>
+                <when test='lockMark=="y"'> and PLANSTARTDATE &lt; #{lockTime} and  LOCKMARKDETAIL='n'</when>
+                <otherwise>and PLANSTARTDATE &gt; #{lockTime} and  LOCKMARKDETAIL='y'</otherwise>
             </choose>
         </where>
     </select>