Ver código fonte

显示时间bug修改

qxp 4 anos atrás
pai
commit
d5f171c4ba

+ 0 - 3
suishenbang-order/src/main/resources/mapper/order/MetaHanaSalesOrderMapper.xml

@@ -63,9 +63,7 @@
     <select id="selectDistinctMetaHanaSalesOrder1" parameterType="MetaHanaSalesOrder" resultMap="MetaHanaSalesResult">
         select distinct mhso.DOC_NUMBER, mhso.CUSTOMER_CODE, mhso.CUSTOMER_NAME,
         mhso.CREATE_DATE, mhso.CREDIT_DATE, mhso.CREDIT_STATUS, mhso.REJECT_REASON
-        <if test="expectedTimeStr != null  and expectedTimeStr != ''">
             ,sob.expected_time as expectedTime
-        </if>
 
         from meta_hana_sales_order mhso
         LEFT JOIN sales_order_base sob
@@ -78,7 +76,6 @@
             <if test="customerName != null  and customerName != ''"> and mhso.CUSTOMER_NAME like concat('%', #{customerName}, '%')</if>
             <if test="docType != null  and docType != ''"> and mhso.DOC_TYPE = #{docType}</if>
             <if test="creditStatus != null  and creditStatus != ''"> and mhso.CREDIT_STATUS = #{creditStatus}</if>
-            <if test="expectedTimeStr != null  and expectedTimeStr != ''"> and sob.expected_time like concat('%', #{expectedTimeStr}, '%')</if>
             <if test="params.start_expectedTime != null and params.start_expectedTime != ''"><!-- 开始时间检索 -->
                 and date_format(expected_time,'%y%m%d') &gt;= date_format(#{params.start_expectedTime},'%y%m%d')
             </if>