shane hace 4 años
padre
commit
953b65a066

+ 6 - 0
java110-db/src/main/resources/mapper/acct/CouponDetailV1ServiceDaoImplMapper.xml

@@ -59,6 +59,9 @@
         <if test="orderId !=null and orderId != ''">
             and t.order_id= #{orderId}
         </if>
+        <if test="createTime !=null and createTime != ''">
+            and DATE_FORMAT(t.create_time,'%Y-%m-%d') = #{createTime}
+        </if>
         <if test="shopId !=null and shopId != ''">
             and t.shop_id= #{shopId}
         </if>
@@ -151,6 +154,9 @@
         <if test="detailId !=null and detailId != ''">
             and t.detail_id= #{detailId}
         </if>
+        <if test="createTime !=null and createTime != ''">
+            and DATE_FORMAT(t.create_time,'%Y-%m-%d') = #{createTime}
+        </if>
         <if test="statusCd !=null and statusCd != ''">
             and t.status_cd= #{statusCd}
         </if>

+ 6 - 0
java110-db/src/main/resources/mapper/acct/CouponShopPoolDetailV1ServiceDaoImplMapper.xml

@@ -45,6 +45,9 @@
         <if test="sendCount !=null and sendCount != ''">
             and t.send_count= #{sendCount}
         </if>
+        <if test="createTime !=null and createTime != ''">
+            and DATE_FORMAT(t.create_time,'%Y-%m-%d') = #{createTime}
+        </if>
         <if test="createUserName !=null and createUserName != ''">
             and t.user_name= #{createUserName}
         </if>
@@ -143,6 +146,9 @@
         <if test="sendCount !=null and sendCount != ''">
             and t.send_count= #{sendCount}
         </if>
+        <if test="createTime !=null and createTime != ''">
+            and DATE_FORMAT(t.create_time,'%Y-%m-%d') = #{createTime}
+        </if>
         <if test="createUserName !=null and createUserName != ''">
             and t.user_name= #{createUserName}
         </if>